Search found 27 matches: mydll

Return to advanced search

Re: DllPreparecall

... Dynamic linking In order to use static linking you have to create an import library from the DLL. You can use libdef.exe or libimp.exe: impdef.exe mydll.def mydll.dll or implib.exe mydll.lib mydll.dll implib.exe will create the lib. impdef.exe will create a def file (ascii file) and then you can ...
by Antonio Linares
Mon Nov 19, 2012 11:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DllPreparecall
Replies: 14
Views: 2916

Acceso al ERP Infor (BaaN / LN) mediante OLE Automation

... to call any function in any dll. For example:      Baan4Obj.Timeout = 10         ' 10 seconds timeout      Baan4Obj.ParseExecFunction "mydll", "myfunction(arg1, arg2)"      If Baan4Obj.Error <> 0 Then MsgBox("An error occurred")      MsgBox("The return ...
by Baxajaun
Mon Mar 26, 2012 8:45 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Acceso al ERP Infor (BaaN / LN) mediante OLE Automation
Replies: 0
Views: 1263

Re: QUICKACCESS with BMP in resource

Maurizio

Code: Select all  Expand view
Function GetInstance()
return hLib


hLib = LoadLibrary( "mydll.dll" )
by Daniel Garcia-Gil
Thu Jul 08, 2010 2:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: QUICKACCESS with BMP in resource
Replies: 7
Views: 1058

how to compile the file TESTMYDL.prg

buildhdp.bat mydll xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6693) Copyright 1999-2010, http://www.xharbour.org http://www.harbour-project.org/ Compiling 'mydll.prg' and generating preprocessed output to 'mydll.ppo'... Lines ...
by zazibr
Tue Mar 16, 2010 7:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to compile the file TESTMYDL.prg
Replies: 1
Views: 453

Re: Creating a LIB or DLL

Antonio,

Got this in mydll.def

LIBRARY BABUDLL.DLL

EXPORTS
__DbgWndProc @1 ; __DbgWndProc
__WndProc @2 ; __WndProc
___CPPdebugHook @3 ; ___CPPdebugHook

Not sure what to do next.

Thanks
by Dave Zowasky
Fri Mar 20, 2009 4:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a LIB or DLL
Replies: 138
Views: 35041

32 bit stuff

... ( LFN.ZIP ). It will contain the LFN.DLL for the cGetFile V2 posted above. You'll have to change the code in the V2.PRG to use LFN.DLL instead of MYDll.Dll ... You should be warned that using the LFN file get routine has a side effect. You have to remove the Null - Chr(0) - that is returned at ...
by Antonio Linares
Wed Aug 27, 2008 7:25 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 65978

... de la Clase TDialog admite el uso de bitmaps (no como bruhses). Por favor revisad samples\TestTrn2.prg * Nuevo: Nuevos ejemplos samples\MyDLL.prg y samples\TestMyDL.prg, que muestran como construir una DLL con Harbour y como usarla. * Nuevo: Nuevo método GetBinary( cSubKey ) en la clase ...
by Antonio Linares
Tue Jul 29, 2008 10:40 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July / Julio 2008 (8.07)
Replies: 4
Views: 3603

New FTDN July / Julio 2008 (8.07)

... * New: Class TDialog TRANSPARENT clause admits the use of bitmaps (not as brushes). Please review samples\TestTrn2.prg * New: samples\MyDLL.prg and samples\TestMyDL.prg show how to build a Harbour self contained DLL and how to use it. * New: Class TReg32 Method GetBinary( cSubKey ). ...
by Antonio Linares
Sat Jul 26, 2008 8:08 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN July / Julio 2008 (8.07)
Replies: 4
Views: 3603

... into the DLL written in FWH. Here is the updated code for people's reference. It compiles and runs OK on my system/environment setup for FWH8.06 MyDLL.prg: (Compile as you advised on the previous post.) //5th July 2008. Testing User Defined DLL entry points into FWH //----------------------------------------------------------------------------// ...
by angelo.c
Sat Jul 05, 2008 3:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows 32-bit DLLs with Harbour Code - Any More Progress
Replies: 14
Views: 5876

Angelo, Instead of trying to build Harbour items externally, it is much simpler if you let Harbour build them :-) Here you have a working example: MYDLL.PRG - build it using fwh\samples\buildhd.bat //----------------------------------------------------------------------------// function Main() ...
by Antonio Linares
Sat Jul 05, 2008 7:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows 32-bit DLLs with Harbour Code - Any More Progress
Replies: 14
Views: 5876

... ) pItem, 0 ); hb_itemRelease( pItem ); return 0; } #pragma ENDDUMP From VB you have to declare: Declare Function TEST Lib "MyDLL.dll" (ByVal cProcName As String, ByVal cParam As String ) As Long
by Antonio Linares
Mon Oct 08, 2007 6:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to make a DLL
Replies: 19
Views: 3377

Put this code in program

... // At the top of the Main Program STATIC oTray // After the Main function some where before Main Window Activate oTray := TTrayIcon():New(oWnd,"Mydll.DLL",10,"MyProg"+K_CRLF+'Right Click for Menu',.T.,{||oWnd:Show()},{|nRow,nCol|MenuTray(nRow,nCol,oTray)}) // Then when you Activate the Main ...
by grumpy
Tue Feb 07, 2006 7:51 am
 
Forum: FiveWin for CA-Clipper
Topic: How I do my app to system tray of windows XP
Replies: 1
Views: 927
Previous

Return to advanced search