Search found 46 matches: byref

Return to advanced search

Re: Small Question about Word and FWH

... SendMessage Lib "user32.dll" Alias "SendMessageW" (ByVal hWnd As IntPtr, ByVal Msg As Integer, ByVal wParam As IntPtr, ByRef lParam As CopyDataStruct) As IntPtr In your code, call the CheckJWordDocumentState() method before closing Application 2 or before invoking cWord:Quit(). ...
by Antonio Linares
Mon Jul 17, 2023 9:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Small Question about Word and FWH
Replies: 29
Views: 1150

Re: 3rd party c wrapper functions for harbour

Reinaldo, The used DLL functions must be prototyped, in example: // Function TOCRInitialise (ByRef JobNo As Integer) As Integer int TOCRInitialise( int * JobNo ); Usually the DLL developers should provide a header file with the C language prototypes. If not, then you ...
by Antonio Linares
Sun Mar 26, 2017 8:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: 3rd party c wrapper functions for harbour
Replies: 26
Views: 7392

DLL32 type object...

... Y utilizada en: Public Declare Function BiGetMicrText Lib "EpsStmApiWrapper.dll" (ByVal Handle As Long, ByVal transactionNumber As Long, ByRef mfMicr As MF_MICR) As Long Lo intenté por lo que estuve leyendo aquí con una rutina en C dentro de mi programa con infructuosos resultados ya ...
by Tatoo
Tue Apr 12, 2016 7:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLL32 type object...
Replies: 1
Views: 505

Re: DIREFENCIA ENTRE HARBOUR/XHARBOUR

xHarbour offers many syntax extensions over Harbour and Clipper, including: ARRAY ELEMENT BYREF ------------------- xHArbour supports passing an array element BYREF as a function argument. SomeFunc( @aArray[ nIndex ] ) For sample usage please review tests\arrbyref.prg ...
by Antonio Linares
Sun Jul 12, 2015 9:26 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: DIREFENCIA ENTRE HARBOUR/XHARBOUR
Replies: 4
Views: 2282

Re: Migrating to Harbour

Enrico, We already commented this (as far as I remember) Harbour function void hb_oleItemToVariantRef() actually uses these types: case HB_IT_STRING: case HB_IT_MEMO: case HB_IT_LOGICAL: case HB_IT_INTEGER: case HB_IT_LONG: case HB_IT_DOUBLE: case HB_IT_DATE: case HB_IT_TIMESTAMP: case HB_IT_POINTER...
by Antonio Linares
Tue Oct 08, 2013 12:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating to Harbour
Replies: 52
Views: 16133

DLL Error...

VB based dll api syntex is as follows: Function FSDKVB_GetCameraList( ByRef CameraList As Variant, ByRef CameraCount As Long ) As Long How can I declare the DLL32 Function ..... for this API? I tried: DLL32 FUNCTION FSDKVB_GetCameraList( @aCameras AS PTR, ...
by compaqt
Fri Aug 30, 2013 3:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLL Error...
Replies: 0
Views: 315

Re: Converting from PowerBasic ...

... LONG PASCAL FROM "slSel" LIB "SQLitening.Dll" //Declare Function slSel lib "SQLitening.Dll" alias "slSel" (byref rsStatement as String, optional byval rlSetNumber as Long, optional byval rsModChars as String) as Long Connecting to server OK , opening database ...
by Rimantas
Wed Sep 07, 2011 7:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Converting from PowerBasic ...
Replies: 4
Views: 1327

DLL convertation ...

... . Originally it was created with PowerBasic and I want to adopt that for FWH + Harbour . My problem is that I don't know how to interpretate "byref" . Declare Function sluRunProc lib "SQLiteningU.Dll" alias "sluRunProc" ( _            ...
by Rimantas
Mon Apr 11, 2011 5:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLL convertation ...
Replies: 4
Views: 715

Re: Funciones desde una dll

... (LONG) = RMC_CreateChartFromFile( ByVal nParentHndl (LONG), ByVal nCtrlId (LONG), ByVal nX (LONG), ByVal nY (LONG), ByVal nExportOnly (LONG), ByRef sRMCFile (ASCIIZ) ) NParentHndl - Es el handle de la ventana creo, si entiendo bien es: si ventana: oWnd:hWnd y si dialog oDlg:hWnd.... nCtrlId ...
by jose_murugosa
Wed Oct 20, 2010 1:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones desde una dll
Replies: 8
Views: 1126

Funciones desde una dll

... (LONG) = RMC_CreateChartFromFile( ByVal nParentHndl (LONG), ByVal nCtrlId (LONG), ByVal nX (LONG), ByVal nY (LONG), ByVal nExportOnly (LONG), ByRef sRMCFile (ASCIIZ) ) Gracias desde ya por vuestra ayuda. :D
by jose_murugosa
Tue Oct 19, 2010 2:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones desde una dll
Replies: 8
Views: 1126

Ajúda com Declaração - VB / Delphi para FWH (resolvido)

... Reservado: array [1..105] of Char; end; Exemplo em VB: Declare Function ScopeGetParam Lib "SCOPEAPI.DLL" _ (ByVal Status As Long, _ ByRef Coleta As stColeta) As Long ' Estrutura de coleta Type stColeta Bandeira As Integer FormatoDado As Integer HabTeclas As Integer MsgOp1 As String ...
by MGA
Tue Aug 10, 2010 8:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ajúda com Declaração - VB / Delphi para FWH (resolvido)
Replies: 2
Views: 953

Re: Ribbon Limit

... can call clipcursor function ? DllImport("user32.dll", CharSet:=CharSet.Auto, ExactSpelling:=True)> Public Shared Function ClipCursor(ByRef rcClip As RECT) As BooleanEnd Function I found on foxpro DECLARE SHORT ClipCursor IN user32 STRING lpRect http://www.news2news.com/vfp/?example=80&function=118&PHPSESSID=e9f4871afe6351a0c1c85375db2bf140 ...
by MdaSolution
Mon Jan 25, 2010 11:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon Limit ---- RESOLVED!!!
Replies: 12
Views: 2092

Re: Otra de FTP

... As Long cFileName As String * MAX_PATH cAlternate As String * 14 End Type Private Declare Function InternetCloseHandle Lib "wininet" (ByRef hInet As Long) As Long Private Declare Function InternetConnect Lib "wininet.dll" Alias "InternetConnectA" (ByVal hInternetSession ...
by QAZWSX2K
Tue Oct 06, 2009 12:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Otra de FTP
Replies: 14
Views: 3720

Re: How to get values via ByRef parameter of a DLL Function

Try

Code: Select all  Expand view
DLL32 Function GetDeviceTime(nHandleIndex AS LONG, @nTotalCount AS PTR, @pnDateTime AS LPSTR) AS LONG PASCAL LIB hLib


EMG
by Enrico Maria Giordano
Tue Sep 22, 2009 3:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to get values via ByRef parameter of a DLL Function
Replies: 6
Views: 818

Re: How to get values via ByRef parameter of a DLL Function

Mr.Enrico, As usually you have helped this time also from a big problem. Your solution worked very well. I did not put '@' before DLL FUNCTION variables earlier. Thats the reason, I have come this forum for solution. But I still have problem with the DataTime String variable. I am getting some binar...
by RAMESHBABU
Tue Sep 22, 2009 12:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to get values via ByRef parameter of a DLL Function
Replies: 6
Views: 818
Next

Return to advanced search