Hi Rajendra
�
Unfortunately, VB5 does not produce the type of DLL that Mapbasic can
call. There are actually two types of DLL that can be produced -
standard and ActiveX. Mapbasic uses the standard one and VB5 only
produces ActiveX DLLs. Supposedly there is a class module you can get
from Sheridan Software that will make a VB5 dll work, but I have never
managed to find it. 
�
Something else you might consider is the PowerBasic compiler (available
at www.powerbasic.com) which costs $179US. I have never used this, but I
know a couple of people who have and they say it is very good. The main
advantage is that it uses the BASIC language but produces small,
efficient DLLs for windows. There are 16 and 32 bit versions available
�
Alternatively, you could do what I do and write your DLLs in Delphi.
However, that requires a knowledge of Pascal and that may be too much
effort for what you want to do.
�
Feel free to e-mail me if you want more info.
�
Regards
�
James

-------------------------------------- 
James Marlow, Director of GIS 
Channel Marketing Corporation 
[EMAIL PROTECTED]� http://www.cmcus.com 
Telephone: 972-858-9600 x 331 
Facsimile: 972-858-9601 

�

-----Original Message-----
From: Dr. Rajendra Kumar Gupta [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 01, 1999 3:19 AM
To: MapInfo-L
Subject: MI problem in calling dll


The dll has been created in VB5.0 and has to be called in
mapbasic.However we get a run time error that the external library does
not contain the function.The function is written in class module in
VB.There is no compiler error in mapbasic and the dll is called in the
usual way
�
��� declare sub reversename lib "c:\test.dll" (str as string)
�
� call reversename(str)
�
can anybody help me in solving this problem?
or 
provide any sample program?
�
thanxs 
�
rajendra

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to