>> DLL not found problem:

Thx for all the replies. The problem was that I had made a define statement in a def 
file like:
Define DDLFILE1 "TermisLib.DLL" 
and the used the DLLFILE1 constant in all the declarations of my DLL functions.
Deleting the define DLLFILE1 and using the TermisLib.dll name in the declarations 
instead made it all work fine.

Thx,
Jakob Lanstorp
Software Developer
M.Sc. (Geology)

Geographical Information & IT
COWI A/S
Odensevej 95
DK-5260 Odense S

Tel       +45 63 11 49 00
Direct    +45 63 11 48 62
Fax       +45 63 11 49 49 
Email     [EMAIL PROTECTED]
http://www.cowi.dk  


-----Original Message-----
From: Peter Horsb�ll M�ller 
Sent: Wednesday, August 11, 2004 1:28 PM
To: 'Jakob Lanstorp'; [EMAIL PROTECTED]
Subject: RE: MI-L DLL not found


Maybe it has to do with the current directory or the working directory. Have you tried 
using a full qualified path to your dll, like ApplicationDirectory$() "mydll.dll" ?

See you in a couple of weeks,
Peter Horsb�ll M�ller
GIS Developer
Geographical Information & IT
 
COWI A/S
Odensevej 95
DK-5260 Odense S.
Denmark
 
Tel     +45 6311 4900
Direct  +45 6311 4908
Mob     +45 5156 1045
Fax     +45 6311 4949
E-mail  [EMAIL PROTECTED]
http://www.cowi.dk/gis

Sidste frist for tilmelding til MapInfo Konferencen er den 6. august 2004. Tilmelding 
samt yderligere information kan ses p�: http://www.cowi.dk/GIS


-----Original Message-----
From: Jakob Lanstorp [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 11, 2004 11:26 AM
To: [EMAIL PROTECTED]
Subject: MI-L DLL not found


Hi again,
 
I have made a Delphi DLL. When calling functions in the DLL from a MBX I sometimes get 
the error message: Library mydll.DLL was not found. Unable to link to external library 
mydll.dll.
 
The DLL is in the same dir as the calling MBX. Sometimes it works fine and then 
suddenly it doesent work? Any clues ?
 
Thanks,
Jakob Lanstorp
Software Developer
M.Sc. (Geology)

Geographical Information & IT
COWI A/S
Odensevej 95
DK-5260 Odense S

Tel      +45 63 11 49 00
Direct  +45 63 11 48 62
Fax     +45 63 11 49 49
Email     [EMAIL PROTECTED]
http://www.cowi.dk 

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 12992

Reply via email to