Search found 33 matches: testdll

Return to advanced search

create a harbour dll containing functions to be executed

I am trying to run the sample harbour dll - testdll and tutor01. I am able to create the sample testdll.exe and tutor01.dll, however when executed a message is thrown - error code 0 loading tutor01.dll. Why does this simple sample not work?
by Perry Nichols
Tue Aug 30, 2016 4:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: create a harbour dll containing functions to be executed
Replies: 23
Views: 4256

usando DLL

... una aplicación que me han solicitado entregarlo como DLL Ya lo he compilado y funciona, lo invoco de esta forma y carga la aplicación Function TestDll() HbDLLEntry( "MAIN" ) return nil DLL FUNCTION HBDLLENTRY( cProc AS LPSTR ) AS LONG PASCAL LIB "psmweb.dll" Mi pregunta ...
by Francisco
Thu Jul 18, 2013 2:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: usando DLL
Replies: 1
Views: 507

Re: Creation of xHarbour PCODE DLL succeeded

Hi Babu,
I don't know if this can help you however there is a Fw sample for harbour.
See testdll.prg and tutor01 into the fwh samples folder.
by Marco Turco
Tue Nov 08, 2011 2:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation of xHarbour PCODE DLL succeeded
Replies: 25
Views: 10181

Re: Create a DLL with xharbour

Thanks Enrico.
It is possibile for sure with harbour (there is the working tutor01/testdll into the samples FWH folder),
the problem I need to use xharbour for this and the obj file maindll.obj is missing in xHarbour
by Marco Turco
Fri Nov 04, 2011 6:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a DLL with xharbour
Replies: 9
Views: 2901

Re: Create a DLL with xharbour

Rick,
I don't want to convert a rc file in a dll but create a dll with functions inside, like tutor01.prg and testdll.prg to be clear
by Marco Turco
Fri Nov 04, 2011 6:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a DLL with xharbour
Replies: 9
Views: 2901

Re: Create a DLL with xharbour

Ok but I don't want to convert a rc file in a dll but create a dll with functions inside, like tutor01.prg and testdll.prg to be clearr
by Marco Turco
Fri Nov 04, 2011 4:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a DLL with xharbour
Replies: 9
Views: 2901

Re: Call a Dll from an Exe

Hi Antonio i have the same problem with tutor01.prg and testdll.prg using the buildhd.bat.

I DONT HAVE THE FILE NAMED MIANDLL.OBJ, SO I REM THE LINE BUT....

It runs the DLL but does not cam back in the EXE file.

Any solution for me ?

FWH 8.1 HARBOUR 1.01 (build. 9361)
by Romeo
Tue Mar 16, 2010 6:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Call a Dll from an Exe
Replies: 11
Views: 2975

Re: How to create DLL (suning testdll.prg & tutor01.prg) ?

http://www.andywos.ih.co.za/xmate/

LA TRADUZIONE IN ITALIANO L'HO FATTA IO ANCHE SE CI SONO MOLTE COSE ANCORA DA TRADURRE

IO USO XMATE DA CIRCA 4 ANNI SENZA PROBLEMI : FACCIO GLI EXE, LE LIB, LE DLL IN UN BATTERBALENO
SE HAI PROBLEMI SCRIVIMI
by Silvio
Wed Mar 10, 2010 5:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to create DLL (suning testdll.prg & tutor01.prg) ?
Replies: 3
Views: 763

Re: How to create DLL (suning testdll.prg & tutor01.prg) ?

Che roba e' ?
DOve la trovo e sopratutto hai qualche piccolo esempio ?

Grazie 1000
Romeo
by Romeo
Wed Mar 10, 2010 3:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to create DLL (suning testdll.prg & tutor01.prg) ?
Replies: 3
Views: 763

Re: How to create DLL (suning testdll.prg & tutor01.prg) ?

perchè non usi xmate l'è piu fasil
by Silvio
Tue Mar 09, 2010 8:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to create DLL (suning testdll.prg & tutor01.prg) ?
Replies: 3
Views: 763

How to create DLL (suning testdll.prg & tutor01.prg) ?

hi to all, I tried to create a DLL using the sample TESTDLL.PRG from folder "SAMPLES" I did not get any errory compiling and linking the testdll.prg and tutor01.prg (using buildhd.bat for tutor01.prg) as suggested. But it does not work well. ...
by Romeo
Tue Mar 09, 2010 4:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to create DLL (suning testdll.prg & tutor01.prg) ?
Replies: 3
Views: 763

Creazione di DLL con Harbour

Salve a tutti. Ho provato a creare una DLL utilizzando l'esempio TESTDLL.PRG dalla cartella dei SAMPLES. Compilo sia il testdll.prg che il tutor01.prg (con buildhd.bat) come indicato. Non mi da errori di compilazione o di link, ma semplicemente sembra che ...
by Romeo
Mon Mar 08, 2010 6:04 pm
 
Forum: All products support
Topic: Creazione di DLL con Harbour
Replies: 0
Views: 493

Re: Creating a LIB or DLL

... to move on to my next test which is to send text message to the dll and have the DLL return a numeric value. Here is the start of my test. In my testdll.prg function test4()   local cr:=chr(13)   local hItem1 := ItemNew( "The Message is : Test to return a numeric value" ...
by Dave Zowasky
Sat Apr 04, 2009 8:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a LIB or DLL
Replies: 138
Views: 34895

Re: Creating a LIB or DLL

... next changes to the program. I am trying to have the DoSum return the value from the dll to the exe In the EXE I will have: function test3 in the testdll.prg ************************** Test 3 DoSumfunction test3(x,y)   local cr:=chr(13)   local hItem1 := ItemNew( ...
by Dave Zowasky
Fri Apr 03, 2009 3:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a LIB or DLL
Replies: 138
Views: 34895

Re: Creating a LIB or DLL

... dll2test.c: Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Error: Unresolved external '_HB_FUN_HBDLLSTRING2' referenced from H:\TESTDLL\DLL2TEST.OBJ * There are errors my maindll.c #define HB_OS_WIN_32_USED#include "hbvm.h"#include "hbapiitm.h"#if defined(HB_OS_WIN_32)BOOL ...
by Dave Zowasky
Thu Apr 02, 2009 5:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a LIB or DLL
Replies: 138
Views: 34895
Next

Return to advanced search