... enviarle un parametro a WinExec ? seria mediante mediante argv[2] ? Tendria que ejecutar argv[1] /SERVER int main( int argc, char *argv[]) { // printf( argv[1] ); Sleep(700); DeleteFile( argv[1] ); rename( "tmp.exe",argv[1] ); // WinExec( argv[1], 1 ) ; // Aqui es donde necesito el ...
... para poder enviarle ese parametro o cualquier otro mediante argv ? Tendria que ejecutar argv[1] /SERVER int main( int argc, char *argv[]) { // printf( argv[1] ); Sleep(1500); // Estaba en 700 pero lo agrande DeleteFile( argv[1] ); rename( "tmp.exe",argv[1] ); // WinExec( argv[1], ...
... following program can be used to test the above: #include <stdio.h> int main(void) { unsigned char buffer [] = {0, 0, 0, 0, 0, 0x77, 0xCF}; printf(“CRC(Expected 0x73F3) = 0x%04X\n”, Crc(0x0, 7, buffer)); return(0); } NOTE: For the example above, the value for the last CRC parameter should ...
I have just purchased new version of FWH. I'm trying to compile and Link with MSVC++ 6.0 (I'm normally a borland user). The compile step works but the link step has many unresolved errors. I'm using buildxm.bat to compile one of the sample programs. What am I missing? Here are the errors: ┌ ...
... to tcomm array index { int i = 0, n = -1 ; while ( n < 0 && i < MAXOPENPORTS ) { if ( aHandles[ i++ ] == nH ) n = i - 1 ; } // printf( "index= %8d\n", n ); return n ; } // ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ // HB_FUNC( CHKIDX ) // For ...
... to tcomm array index { int i = 0, n = -1 ; while ( n < 0 && i < MAXOPENPORTS ) { if ( aHandles[ i++ ] == nH ) n = i - 1 ; } // printf( "index= %8d\n", n ); return n ; } // ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ // HB_FUNC( CHKIDX ) // For ...