Search found 116 matches: dllcall

Return to advanced search

Re: DLLCALL under Fivewin

If it works with HMG then it means there is a #define in FWH that is clashing with a Harbour #define or maybe HMG defines it in a different way Please review this example to see how easily a new define can replace a previous one, and Harbour does not warn you: #define TEST 123#define TEST "Anot...
by Antonio Linares
Thu Dec 01, 2022 4:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLLCALL under Fivewin
Replies: 45
Views: 2833

Re: DLLCALL under Fivewin

... is PASCAL or not, simply use such clause or remove it and check if it works or not. Thats the simplest way FWH should not affect Harbour's DllCall() behavior, so I guess that you are using wrong parameters with DllCall() Does your same syntax work in xBase++ ? If so, then it means a Harbour's ...
by Antonio Linares
Thu Dec 01, 2022 4:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLLCALL under Fivewin
Replies: 45
Views: 2833

Re: DLLCALL under Fivewin

hi Antonio,
Antonio Linares wrote:Why don't you try to use the FWH DLL FUNCTION way ? :-)

i have to find out Parameter Type "as PASCAL" to use DLL Function ...

DllCall() is a Harbour function.

it work with same Syntax and Result under HMG and Xbase++ so why not with Fivewin :?:
by Jimmy
Thu Dec 01, 2022 3:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLLCALL under Fivewin
Replies: 45
Views: 2833

Re: DLLCALL under Fivewin

Dear Jimmy,

FWH way to dinamically use DLL functions is:

DLL FUNCTION ...

DllCall() is a Harbour function.

Why don't you try to use the FWH DLL FUNCTION way ? :-)
by Antonio Linares
Thu Dec 01, 2022 3:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLLCALL under Fivewin
Replies: 45
Views: 2833

DLLCALL under Fivewin

hi, i seems to get another DLLCALL Problem again ... :( --- i do use   DLLCALL( "Kernel32.dll", ... but Result is 0 ... as it look like the same Problem which i had with "Everything" i guess i need other Way under ...
by Jimmy
Thu Dec 01, 2022 2:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLLCALL under Fivewin
Replies: 45
Views: 2833

Re: Everything under Fivewin

Dear Jimmy,

function DllCall() is a Harbour function not a FWH one

Here you have good examples about how to use Harbour's DLL management functions:
https://github.com/FiveTechSoft/mod_harbour/blob/master/samples/mysql.prg
by Antonio Linares
Sun Nov 13, 2022 8:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Everything under Fivewin
Replies: 17
Views: 1128

Everything under Fivewin

hi, did somebody work with Everything under Fivewin :?: http://www.voidtools.com/ --- for Xbase++ and HMG i use DllCall but under Fivewin i got Empty Array i guess it have to do with calling Type where is use "only" DLL_OSAPI under Xbase++ under HMG i have to use ...
by Jimmy
Sun Nov 13, 2022 2:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Everything under Fivewin
Replies: 17
Views: 1128

Re: CLASS TGrid() for FiveWin

... "own" Listview Control so i know the Way under HMG / MiniGUI Extended Version i saw how they use HB_FUNC() and Listview Macro instead of DllCall ( how under FiveWin ? ) and LVM_ Constant now i try to use all Parts of Puzzle in CLASS TGrid() ... but still have some nasty Problem to fix ...
by Jimmy
Fri Oct 21, 2022 6:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CLASS TGrid() for FiveWin
Replies: 43
Views: 3601

Re: hb_base64 link

Antonio, estas funciones LoadLibrary(), FreeLibrary(), DllCall/CallDll o de llamadas similares a funciones de dll (ahorta no recuerdo bien los nombres), al estar en xharbour y fwh complican la cosa! ya hace tiempo vi esto, y no logre encontrar una solución. ...
by carlos vargas
Sun Sep 11, 2022 11:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_base64 link
Replies: 57
Views: 3651

Re: INTEGRACION CON DLL PARA CONECTAR CON DISPOSITIVOS ANVIZ

Prueba asi:

cDatos = Space( 32000 )
Dllcall( hDLL, "INT", "CChex_Update",Anviz_handle,1,1,@cDatos,32000)
by Antonio Linares
Sun Sep 04, 2022 11:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: INTEGRACION CON DLL PARA CONECTAR CON DISPOSITIVOS ANVIZ
Replies: 27
Views: 2121

Re: INTEGRACION CON DLL PARA CONECTAR CON DISPOSITIVOS ANVIZ

... abierta: public hDLL := hb_LibLoad( "tc-b_new_sdk.dll" ) a partir de ahi, usa hDLL en vez de "tc-b_new_sdk.dll" Anviz_handle:=DllCall( hDLL, "INT", "CChex_Start") etc... finalmente, haz hb_LibFree( hDLL )
by Antonio Linares
Fri Sep 02, 2022 3:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: INTEGRACION CON DLL PARA CONECTAR CON DISPOSITIVOS ANVIZ
Replies: 27
Views: 2121

Re: DWM ( Desktop Windows Manager ) Sample Code

...  Function CreateEllipticRgn()   Function CreateRoundRectRgn()   Function SetWindowRgn() now only DWM Function still use Dllcall() and L2BIN()   Function DwmEnableBlurBehindWindow()   Function DwmExtendFrameIntoClientArea() who can help me please to convert ...
by Jimmy
Fri Aug 26, 2022 5:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DWM ( Desktop Windows Manager ) Sample Code
Replies: 10
Views: 936

Re: DWM ( Desktop Windows Manager ) Sample Code

... when request "hbxpp" which is include in FiveWin as i say i "guess" Fivewin does have most API Function as HB_FUNC() so DllCall, using Xbase++ Syntax ("hbxpp") , is not need when use HB_FUNC() i have to learn how those HB_FUNC() are called under FiveWin What ...
by Jimmy
Fri Aug 26, 2022 3:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DWM ( Desktop Windows Manager ) Sample Code
Replies: 10
Views: 936

DWM ( Desktop Windows Manager ) Sample Code

hi, i have made a Sample for FiveWin using DWM https://i.postimg.cc/6qsPLrKc/fwDWM.jpg i use DllCall , like Xbase++ , as i´m not a "C" Programmer i "think" FiveWin have HB_FUNC() for it but i´m not sure how Function Name is *+--------------------------------------------------------------------*+*+ ...
by Jimmy
Fri Aug 26, 2022 6:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DWM ( Desktop Windows Manager ) Sample Code
Replies: 10
Views: 936

Re: call DLL under FiveWin

... [ FROM <SymName> ] LIB <DllName> FiveWin lets you declare an external DLL function to be called at RunTime by its own name. See DllCall.prg example. <FuncName>          The name of the DLL function. Remember Clipper only uses 10 characters maximum length.<Param1> ...
by hua
Tue Aug 02, 2022 2:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: call DLL under FiveWin
Replies: 7
Views: 739
PreviousNext

Return to advanced search