Hi All,
I'm trying to move my function from .exe to .dll and I have a problem to
call it from MB.
MB is returning following error message :
Library cov_dll.dll not found. Unable to link to external library
cov_dll.dll.
Simplyfied test code on both sides looks like this:
MB:
Declare Function cov_dll Lib "cov_dll.dll" ( ByVal coord_x As Integer,ByVal
coord_y As Integer) As Integer
C:
__declspec( dllexport ) int cov_dll(long coor_x,long coor_y)
{
return (coor_x+coor_y);
}
I have tieed to define exact location of DLL
("c:\work\dll_test\cov_dll.dll")
in MB declaration, but it doesn't help. DLL is in the same directory as mbx
file.
My platform is NT 4.0 and DLL was build with BC5.0.
Thanks for your feedback,
Michal.
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]