... "can't ejec't the volume", 0 );return bResult; I would suggest to write a Harbour wrapper for it and there you can issue the warning or simply generate a Harbour error: HB_FUNC( EJECTVOLUME ){ BOOL bResult = EjectVolume( ... ); if( ! bResult ) ...
hi Antonio, Do you mean this code ? Yes, this CODE give me under BCC7 32 Bit this Warnings Warning W8004 TEST1.prg 147: 'fAutoEject' is assigned a value that is never used in function EjectVolume Warning W8004 TEST1.prg 147: 'fRemoveSafely' is assigned a value that ...
Dear Jimmy, Do you mean this code ? // test programrequest hb_gt_win_defaultPROC MAIN( cDriveLetter ) hb_Default( @cDriveLetter, "G:" ) IF EjectRemovable( cDriveLetter ) ? "The drive " + cDriveLetter + &...
hi Enricon You have to fix the function EjectVolume() as it is not well written. while i had Problem with my DLLCALL Version i have search and found this Version in HMG Forum https://www.hmgforum.com/viewtopic.php?t=4524 but as i´m not a "C" Programmer i have no Idea how to...
You have to fix the function EjectVolume() as it is not well written. What this is supposed to mean? if( LockVolume(hVolume) && DismountVolume(hVolume) ) fRemoveSafely = TRUE; { if (PreventRemovalOfVolu...
hi, both Version "seems" to run so far but i got (different) Warnings bcc7 32 Bit Warning W8004 .\\HB_FUNC.PRG 132: 'fAutoEject' is assigned a value that is never used in function EjectVolume Warning W8004 .\\HB_FUNC.PRG 132: 'fRemoveSafely' is assigned ...
i have change CODE as you say but still got (same) Warnings Warning W8004 FWEJECT.prg 190: 'fAutoEject' is assigned a value that is never used in function EjectVolume Warning W8004 FWEJECT.prg 190: 'fRemoveSafely' is assigned a value that is never ...
... fAutoEject; // = FALSE; hb_retl( EjectVolume( ( TCHAR ) *szDrive ) ); i have change CODE as you say but still got (same) Warnings Warning W8004 FWEJECT.prg 190: 'fAutoEject' is assigned a value that is never used in function EjectVolume Warning W8004 FWEJECT.prg 190: 'fRemoveSafely' ...
I just asked chatGPT to write them :-) This is the result. Warning: chatGPT fails so you have to check its implementation: HB_FUNC(EJECTVOLUME){ return EjectVolume(hb_parc(1));}HB_FUNC(OPENVOLUME){ ...
how to fix there Warnings Warning W8004 FWEJECT.prg 192: 'fAutoEject' is assigned a value that is never used in function EjectVolume Warning W8004 FWEJECT.prg 192: 'fRemoveSafely' is assigned a value that is never used in function ...
... *.PRG what i want : call each BOOL Function from PRG so i can display a Message after each Step instead of only OK or FAIL --- how to fix there Warnings Warning W8004 FWEJECT.prg 192: 'fAutoEject' is assigned a value that is never used in function EjectVolume Warning W8004 FWEJECT.prg 192: 'fRemoveSafely' ...
... if (bRelease && hModule) FreeLibrary (hModule);} i try to change Position but than all CODE behind does get Warning ... any Idea how i can change it :?:
... Estos son los errores de compilación: Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc. C:\fivedit\Libxlfnc.c: Warning W8069 d:\\users\\jose\\desktop\\libxl-hbr\\source\\Libxlfnc.prg 112: Nonportable pointer conversion in function HB_FUN_XLBOOKSAVERAW Warning ...