dbTalk Databases Forums  

Calling a VB routine from FPW 2.6 app.

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss Calling a VB routine from FPW 2.6 app. in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ShahJagat
 
Posts: n/a

Default Calling a VB routine from FPW 2.6 app. - 03-02-2004 , 09:08 AM






Hi -

If I want to develop a routine and call the routine from a FPW 2.6 application,
what would be the best way to do it?

I am not very familiar with VB. Do I need to make a exe file in VB and then
call it from the FPW app or do I make it as a COM or a DLL and then call ????
Do I use the 'Load' function and then 'Call' the routine...?

Thanks in advance,,,


Shah



Reply With Quote
  #2  
Old   
Rick Bean
 
Posts: n/a

Default Re: Calling a VB routine from FPW 2.6 app. - 03-02-2004 , 06:40 PM






This is a "it depends" answer. VB can create a number of different kinds of files. However the biggest problem is that it's likely you'll be using a 32-bit version of VB (3.0 -> 6.0) and FPW is just a 16-bit (Win 3.x) app. FPW can have a lot of problems interfacing with non-"thunked" non-WinAPI calls.

If you're using VB, why not upgrade to Visual FoxPro?

If you must use FPW, go to http://west-wind.com/wwfp2pd.htm and get CALL32.

Rick

"ShahJagat" <shahjagat (AT) aol (DOT) com> wrote

Quote:
Hi -

If I want to develop a routine and call the routine from a FPW 2.6 application,
what would be the best way to do it?

I am not very familiar with VB. Do I need to make a exe file in VB and then
call it from the FPW app or do I make it as a COM or a DLL and then call ????
Do I use the 'Load' function and then 'Call' the routine...?

Thanks in advance,,,


Shah



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.