Search found 27 matches: mydll

Return to advanced search

Re: Construcción de LIB importadas 32 y 64 para los comp. de C

... (ELF format) archive files (.a files). You can use .DLL, .DEF, or OMF files with MKEXP. Examples Generating an import library from a DLL: mkexp mydll.a mydll.dll Generating an import library from a .DEF file: mkexp mydll.a mydll.def The resulting .a files are included in the library section ...
by Compuin
Tue Dec 17, 2019 6:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Construcción de LIB importadas 32 y 64 para los comp. de C
Replies: 2
Views: 776

Re: Create a file with a stored procedure in Advantage Database

You can build the DLL from that C# (I guess) source doing this:

c:\Windows\Microsoft.NET\Framework\v3.5\csc /out:mydll.dll /target:library example.cs
c:\Windows\Microsoft.NET\Framework\v2.0.50727\regasm mydll.dll /tlb
by Antonio Linares
Thu Jan 19, 2017 10:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a file with a stored procedure in Advantage Database
Replies: 21
Views: 6347

Re: create a harbour dll containing functions to be executed

Hi dear Perry Nichols,
please can you kindly send me at romeox@tiscali.it those files:

MYDLL.PRG
TESTMYDLL.PRG
BUILDHD.BAT

I wrong samethins in my files, and it doesnot work !

FWH 16.02
many thanks
by Romeo
Mon Sep 19, 2016 9:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: create a harbour dll containing functions to be executed
Replies: 23
Views: 4252

Re: create a harbour dll containing functions to be executed

... occurred in WindowsFormsApplication1.exe Additional information: Unable to find an entry point named 'OneParam' in DLL 'Mydll.dll'. This is the code we are using for the DLL // Build a DLL from this code using: buildhd.bat mydll // Please review TESTMYDL.prg to see how ...
by rkurian
Thu Sep 08, 2016 8:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: create a harbour dll containing functions to be executed
Replies: 23
Views: 4252

Re: create a harbour dll containing functions to be executed

Now the MYDLL.DLL has been created with your new buildhd.bat and (usin the original mydll.prg)

But using the
BUILDH.BAT TESTMYDL.PRG and running the TESTMYDL.EXE it gives:

Error code: 0 loading MYDLL.dll

Ops !!!
by Romeo
Wed Sep 07, 2016 11:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: create a harbour dll containing functions to be executed
Replies: 23
Views: 4252

Re: create a harbour dll containing functions to be executed

I have FWH 16.02 & Harbour 3.2.0dev I tried my original MYDLL.PRG with BUILDHD,bat, but i got many errors : Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc. Error: Unresolved external '_HB_FUN_CTOT' referenced from ...
by Romeo
Wed Sep 07, 2016 9:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: create a harbour dll containing functions to be executed
Replies: 23
Views: 4252

Re: create a harbour dll containing functions to be executed

Perry, Try adding this code to mydll.prg BOOL WINAPI DllEntryPoint( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved ){   HB_SYMBOL_UNUSED( hinstDLL );   HB_SYMBOL_UNUSED( fdwReason );  ...
by Antonio Linares
Wed Aug 31, 2016 6:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: create a harbour dll containing functions to be executed
Replies: 23
Views: 4252

Re: create a harbour dll containing functions to be executed

Thank you Antonio, This now works, However now I am trying the sample testmydl and mydll which passes parameters to the dll. When I execute this test the following error is thrown: Error code 0 loading MYDLL.dll. Thank you in advance for your help in resolving this issue.
by Perry Nichols
Wed Aug 31, 2016 3:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: create a harbour dll containing functions to be executed
Replies: 23
Views: 4252

Function return the dll ??

Good Morning ; How could I get the return of a function in the DLL harbour? MyDll.dll FUNCTION MSGPARAM()  local cTitulo:="Msg Sem Parametros"  MsgInfo(cTitulo)  return "Test Return"********************************************************************************#pragma ...
by Ale SB
Sat Apr 30, 2016 12:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Function return the dll ??
Replies: 0
Views: 307

Re: FWH64

implibf - impdef if only for 32bits app. use Mkexp.exe ... Generating an import library from a DLL: mkexp mydll.a mydll.dll Generating an import library from a .DEF file: mkexp mydll.a mydll.def http://docwiki.embarcadero.com/RADStudio/Seattle/en/MKEXP.EXE,_the_64-bit_Windows_Import_Library_Tool_for_C%2B%2B ...
by mastintin
Thu Mar 31, 2016 6:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH64
Replies: 110
Views: 24419

Re: Dll en .net desde FiveWin

... System.Collections.Generic;using System.Linq;using System.Runtime.InteropServices;using System.Text;using System.Threading.Tasks;namespace MyDll{    [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)]    public interface ValidaMetodos  ...
by Joel Andujo
Thu May 14, 2015 2:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dll en .net desde FiveWin
Replies: 4
Views: 1031

Re: COMO SE PUEDE CREAR UN OBJETO

... servirnos para saber adaptarlo a Harbour. Hola Antonio hable con el soporte tecnico y me dijieron que la DLL, tenia que registrarla com REGASM myDll.dll /TLB, Lo hice y me creo un archivo con extension TLB myDll.TLB, pero quede igual, estuve viendo un post antiguo en donde hablas del regasm, ...
by elmoiquique
Mon Jun 16, 2014 2:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: COMO SE PUEDE CREAR UN OBJETO
Replies: 19
Views: 5974

Re: Sigo con duda de los DLL's

Noé
ponlas en el mismo dir de la app
ahi nunca tendras problemas.

osea si tu app se llama myapp.exe y esta en el dir c:\myapp
c:\misapp\myapp.exe

ahi en esa carpeta pon las dll.

c:\misapp\mydll.dll

:-)

salu2
carlos vargas
by carlos vargas
Fri Sep 20, 2013 5:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Sigo con duda de los DLL's
Replies: 2
Views: 408

Re: moving to MSVC 32 bits

I set up the enviroment variables in vcvars in the system enviroment at Control Panel. To create the lib: impdef.exe mydll.def mydll.dll lib.exe /def:mydll.def /out:mydll.def The problem at your FWH build was that no one were using msvc 2010. Due to Timm Stone´s interest, Antonio ...
by Rimantas
Wed Feb 27, 2013 6:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: moving to MSVC 32 bits
Replies: 44
Views: 8147

Re: moving to MSVC 32 bits

Rimatas, I set up the enviroment variables in vcvars in the system enviroment at Control Panel. To create the lib: impdef.exe mydll.def mydll.dll lib.exe /def:mydll.def /out:mydll.def The problem at your FWH build was that no one were using msvc 2010. Due to Timm Stone´s interest, Antonio ...
by lucasdebeltran
Tue Feb 26, 2013 10:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: moving to MSVC 32 bits
Replies: 44
Views: 8147
Next

Return to advanced search