I'm not too sure of what i'm reading here - my knowledge of VB is mild, my
knowledge of DLLs is milder to say the least. But you both sound like
people who have had experience of VB and Mapinfo working together. Is it
possible to build a VB application using VB dialogs to interact with MI
workspaces, and not let the user see the MI window? Do VB and MI interact
well enough to make the process enjoyable or is it a walk through a
bug-laiden hell?
andy b
----------
> From: James Marlow <[EMAIL PROTECTED]>
> To: 'Dr. Rajendra Kumar Gupta' <[EMAIL PROTECTED]>; Mapinfo-L
(E-mail) <[EMAIL PROTECTED]>
> Subject: RE: MI problem in calling dll
> Date: Monday, February 01, 1999 2:45 PM
>
> 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]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]