Search found 47 matches: babudll

Return to advanced search

Utilizar funciones de una dll con harbour

Si bien he probado y visto como se saca partido a unas funciones de una dll con FW, del sample babu.prg y babudll.prg Pretendo utilizar lo mismo, funciones de un fichero dll, el mismo babudll.dll, PERO sin utilizar FW, con Harbour nativo. He agregado la lib hbxpp para compilar, ...
by Xevi
Thu Dec 06, 2018 12:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Utilizar funciones de una dll con harbour
Replies: 6
Views: 1334

Re: access to window via its :hwnd

Here is the "calling program" = babu.prg modified After that is the "dll program" = babudll.prg modified you may want to remove the altd() breaks and the reference to the external debugging libraries. REQUEST HB_GT_WIN REQUEST HB_GT_WIN_DEFAULT ********************************************************* ...
by don lowenstein
Sat Jan 06, 2018 4:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: access to window via its :hwnd
Replies: 10
Views: 1776

Re: access to window via its :hwnd

In this example, I added code to create a dialog in the calling program( babu.prg ) and added 1 control to it. then, I pass to the .dll ( babudll.prg ) the following. hItem1 := ItemNew( odialog:hwnd ) hItem2 := 'Dialog Handle Passed' HbDLLEntry2( "TEST3", hItem1, hitem2 ) *************** ...
by don lowenstein
Fri Jan 05, 2018 11:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: access to window via its :hwnd
Replies: 10
Views: 1776

access to window via its :hwnd

... identified by :hwnd ?? If I could pass the actual windows object, that would be great. I followed the basic convention used in the FWH samples babudll.prg and babu.prg. thanks in advance.
by don lowenstein
Wed Jan 03, 2018 8:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: access to window via its :hwnd
Replies: 10
Views: 1776

Re: babudll.dll infectado/amenaza.

Buenas tardes, comprobado con Virustotal https://www.virustotal.com/es/ , resultado: 2/57 Antivirus Resultado Actualización Baidu-International Trojan.Win32.Dropper.ctqc 20150223 Kaspersky Trojan-Dropper.Win32.Daws.ctqc 20150223 Saludos
by Baxajaun
Mon Feb 23, 2015 5:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: babudll.dll infectado/amenaza.
Replies: 2
Views: 386

Re: babudll.dll infectado/amenaza.

asi es
by Francisco Horta
Wed Feb 18, 2015 5:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: babudll.dll infectado/amenaza.
Replies: 2
Views: 386

babudll.dll infectado/amenaza.

Master al instalar el KASPERSKY SECURITY SCAN, él me dice que tiene dos archivos infectados:

Code: Select all  Expand view

UDS:DangerousObject.Multi.Generic

babudll.dll  

C:\FWH1306\samples

UDS:DangerousObject.Multi.Generic

babudll.dll  

E:\FWH1306\samples
 


Gracias, saludos.
by karinha
Wed Feb 18, 2015 4:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: babudll.dll infectado/amenaza.
Replies: 2
Views: 386

Re: Criar DLL de funções

Ari wrote:Estou buscando informações de como criar uma DLL de funcoes

Hechales un vistazo en ..\samples:
Babu.prg y BabuDll.prg

Saludos.
by FranciscoA
Tue Sep 09, 2014 1:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Criar DLL de funções
Replies: 3
Views: 802

Re: Creation of xHarbour PCODE DLL succeeded

Hi Antonio, I tried but it seems hb_parl(-1) doesn't return a logic value or anyway the value is not TRUE. The external application that call babudll recognize TRUE only if I use "return TRUE" instead of "returnhb_parl(-1)" into ExecAll. This is a semplified self-contained ...
by Marco Turco
Sat Nov 19, 2011 8:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation of xHarbour PCODE DLL succeeded
Replies: 25
Views: 10179

Re: Creation of xHarbour PCODE DLL succeeded

... condition is verified or not but the error "Checkpassword" has not prototipe in function ExecuteAll appears. ------- // To build BabuDLL.dll do: buildhd.bat babuDLL // To run this DLL, do buidh.bat Babu.prg function CheckPassword() local cVar cVar:=space(10) if .not. MsgGet("Password",,@cVar) ...
by Marco Turco
Thu Nov 17, 2011 8:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation of xHarbour PCODE DLL succeeded
Replies: 25
Views: 10179

Re: Creation of xHarbour PCODE DLL succeeded

Marco, In babudll.prg add this code: BOOL __stdcall __export ExecuteAll( void ){   MessageBox( 0, "ExecuteAll()", "ok", 0 );      return TRUE;} And in babu.prg add this:   hDLL = LoadLibrary( ...
by Antonio Linares
Wed Nov 16, 2011 10:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation of xHarbour PCODE DLL succeeded
Replies: 25
Views: 10179

Re: Creation of xHarbour PCODE DLL succeeded

It works fine. Great work Antonio !! Just a small problem: I need to add into babudll a function named "ExecuteAll" that is automatically called from a c++ DLL for security purpose. I should return from the "ExecuteAll" function .t. or .f. Any ...
by Marco Turco
Wed Nov 16, 2011 8:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation of xHarbour PCODE DLL succeeded
Replies: 25
Views: 10179

Re: Creation of xHarbour PCODE DLL succeeded

Mr.Antonio,

Finally you have gifted us the solution to create xHarbour PCODE Dll Creation.
I could create sucessfully the BABUDLL.DLL and BABU.EXE with the sources,
you have just released.

Now the Subject of this thread got its real meaning :D

Many many thanks and Regards,

- Ramesh Babu P
by RAMESHBABU
Tue Nov 15, 2011 1:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation of xHarbour PCODE DLL succeeded
Replies: 25
Views: 10179

Re: Creation of xHarbour PCODE DLL succeeded

...      {-- Don't specify .PRG extensionGOTO EXIT:NOEXISTECHO The specified PRG %1 does not exist:EXIT babu.prg // Using Harbour DLLs// To build BabuDLL.dll do: buildhd.bat babuDLL#include "FiveWin.ch"static hDLLfunction Main()   local hItem1 := ItemNew( "Hello world!" ...
by Antonio Linares
Tue Nov 15, 2011 7:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation of xHarbour PCODE DLL succeeded
Replies: 25
Views: 10179

Re: Creation of xHarbour PCODE DLL succeeded

Mr.Antonio, Thank you very much for your continuous effort on xHarbour PCODE DLL I could create BABUDLL.DLL with xHarbour with the changes you have suggested in the BuildHd.bat and I could even build BABU.EXE. But when I call BABU.DLL, it is calling TEST() sucessfully from ...
by RAMESHBABU
Tue Nov 15, 2011 5:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation of xHarbour PCODE DLL succeeded
Replies: 25
Views: 10179
Next

Return to advanced search

cron