Search found 21 matches: argc

Return to advanced search

Re: Catching HB_CompileFromBuf() errors

... it: function HB_CompileFromBuf() is declared in c:\harbour\src\compiler\hbcmplib.c and it makes this call: hb_compGenArgList( 2, hb_pcount(), &argc, &argv, &pIncItem, &pOpenFunc, &pMsgFunc ); Notice the 2. In hb_compGenArgList() we find this code:   if( pMsgFunc )   {  ...
by Antonio Linares
Mon Apr 02, 2018 3:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Catching HB_CompileFromBuf() errors
Replies: 1
Views: 871

Re: funciones de FWH y Harbour en un archivo .txt

__clsVerify(<nClassH>)-><acBrokenMessages>|Nil __objAddData(<oObject>,<cDataName>)->oObject __objAddInline(<oObject>,<cInlineName>,<bInline>)->oObject __objAddMethod(<oObject>,<cMethodName>,<nFuncPtr>)->oObject __objDelInline(&l...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5710

Re: funciones de FWH y Harbour en un archivo .txt

__clsVerify __objAddData __objAddInline __objAddMethod __objDelInline __objDelMethod __objDelMethod __objDerivedFrom __objGetMethodList __objGetValueList __objModInline __objModMethod __objSetValueList __Pack __Run __Zap AAdd Abs AChoice AClone ACopy ACos AddASCII AddMonth ADel ADir ADSBlob2File ADS...
by carlos vargas
Sat Oct 21, 2017 8:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5710

lectura de un DLL -

... conicimiento en est ar :roll: ea. Calling CT-API Functions Esta es funcion en C #include <stdio.h> #include <ct_api.h> int main(int argc, char *argv[]) { char ret; unsigned short ctn; unsigned short pn; unsigned char sad; unsigned char dad; // REQUEST ICC unsigned char command[] ...
by Busmatic_wpb
Thu Aug 03, 2017 1:27 am
 
Forum: FiveWin para CA-Clipper
Topic: lectura de un DLL -
Replies: 5
Views: 2603

Re: Pasar parametro a INIT PROCEDURE

Inside the INIT procedure, please use HB_ArgV( 1 ), HB_ArgV( 2 ), etc to get the command line parameters. HB_ArgC() gives number of parameters.
by nageswaragunupudi
Mon Mar 06, 2017 12:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pasar parametro a INIT PROCEDURE
Replies: 2
Views: 386

Re: Harbour-32.dll

EXPORTS HB_FUN_AADD @1 HB_FUN_ABS @2 HB_FUN_ACCELERATO @3 HB_FUN_ACCELERATOR @4 HB_FUN_ACHOICE @5 HB_FUN_ACLONE @6 HB_FUN_ACOPY @7 HB_FUN_ADEL @8 HB_FUN_ADIR @9 HB_FUN_AEVAL @10 HB_FUN_AFIELDS @11 HB_FUN_AFILL @12 HB_FUN_AINS @13 HB_FUN_ALERT @14 HB_FUN_ALIAS @15 HB_FUN_ALLTRIM @16 HB_FUN_ALTD @17 H...
by pgfdz
Fri May 29, 2015 8:06 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Harbour-32.dll
Replies: 5
Views: 2359

Re: How to keep a existing alpha-channel, saving a bitmap ?

... values directly in the bitmap bits. FreeImage_SetTransparencyTable does nothing for these bitmaps. #include "FreeImage.h" int main(int argc, char* argv[]) { FIBITMAP *hDIB24bpp = FreeImage_Load(FIF_BMP, "test.bmp", 0); if (hDIB24bpp) { // color-quantize 24bpp (results in a ...
by ukoenig
Sun Jun 22, 2014 7:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to keep a alpha-channel, save and resize a bitmap
Replies: 5
Views: 1879

How to save a PNG or BMP transp with Freeimage (solved)

... From FREEIMAGE documentation a sample : ( how to use this with Fivewin ? ) #include "FreeImage.h" int main(int argc, char* argv[]) { FIBITMAP *hDIB24bpp = FreeImage_Load(FIF_BMP, "test.bmp", 0); if (hDIB24bpp) { // color-quantize 24bpp (results in a ...
by ukoenig
Wed Apr 09, 2014 10:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to save a PNG or BMP transp with Freeimage (solved)
Replies: 1
Views: 503

Re: QUIET-mode to hide the black DOS-box ?

... to hide the DOS-window ?- #include <windows.h> // restart.c // progname // windows handle to close // WinExec( argv[ 1 ], 1 ); int main(int argc, char** argv) { HWND handle = ( HWND ) atol( argv[ 2 ] ); PostMessage( handle, WM_QUIT, 0, 0 ); WinExec( argv[ 1 ], 1 ); return EXIT_SUCCESS; } ...
by ukoenig
Fri May 17, 2013 12:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: QUIET-mode to hide the black DOS-box inside a C-function ?
Replies: 4
Views: 925

Compilando con gcc y otros

... objectForKey:[[localizedNames allKeys] objectAtIndex:0]] retain]; } [deviceInfo release]; return [screenName autorelease]; } int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; BOOL verbose = NO; BOOL extraVerbose = NO; if( argc >= ...
by ramirezosvaldo2
Fri Jan 11, 2013 3:31 am
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: Compilando con gcc y otros
Replies: 0
Views: 888

Ayuda con codigo en c

... habria que hacer para poder 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 ) ; // ...
by TecniSoftware
Mon Nov 16, 2009 2:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con codigo en c
Replies: 3
Views: 543

Re: Verifcar un exe

... sirve. Como habria que hacer 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] ...
by TecniSoftware
Mon Nov 16, 2009 1:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Verifcar un exe
Replies: 11
Views: 1873

GET STATUS WIFI

... "stdafx.h" #include <windows.h> #include <commctrl.h> #include "..\Common\WirelessDevices.h" int _tmain(int argc, _TCHAR* argv[]) { // Load ossvcs.dll BOOL res = InitDLL(); if (res) { DWORD dwWifi, dwPhone, dwBT; GetWDevState(&dwWifi, &dwPhone, &dwBT); ...
by Silvio
Wed Sep 02, 2009 10:47 am
 
Forum: FiveWin for Pocket PC
Topic: GET STATUS WIFI
Replies: 0
Views: 492

I'm sorry but this message was posted 14 december It's very strange .... It does not appear normally but when I click on reply button it appears I re -post now Hi to everybody ========================= original reply 12/14/07 ====== Perfect! I have already modified a program in this way: .. LOCAL aI...
by MarcoBoschi
Tue Dec 18, 2007 10:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Like winzip
Replies: 18
Views: 3336

Perfect! I have already modified a program in this way: .. LOCAL aImageImp := {} .. IF FILE( HB_ArgV( 1 ) ) FOR i := 1 TO HB_ArgC() AADD( aImageImp , HB_ArgV( i ) ) NEXT i ENDIF .. .. .. .. ACTIVATE WINDOW oMain ; ON INIT IIF( LEN( aImageImp ) >0 , imp_image(aImageImp) , ) FUNCTION imp_image star...
by MarcoBoschi
Fri Dec 14, 2007 11:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Like winzip
Replies: 18
Views: 3336
Next

Return to advanced search