Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a VFP9 COM to be used in VFP8 code
Message
 
 
To
10/08/2007 14:06:41
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01247363
Message ID:
01247477
Views:
21
>>Ok, let me add what might be a wrinkle to all of this. After looking at it a bit more closely, what I need to use is the MSWinsock OLE. Does that work the same way? It's not in the Class Library, but rather was added to the form in it's original use in a VFP9 service. Sorry if this all sounds a bit Newbie, but I've not worked with the COM type stuff and not alot with OLE other than finding what I needed and putting it on a form.
>>
>>UPDATE: Also, any comment to what Jeff said in the thread about it needing to be an EXE instead of a DLL?
>>
>>>It will be accessed exactly the same way as if the class was compiled into a DLL in VFP 8.
>>>
>>>>Yes. So, I need to put the class into a VFP9 project, create a DLL, and then reference that DLL as an object from within my VFP8 code and I should be able to use it almost as cleanly as if it were a class in my VFP8 code. Yes?
>
>You should be able to use MSWinsock in VFP8. I don't know how big or complicated your VFP9 class that wraps Winsock is, but you might be able to write a VFP8 version of it. Just a thought.

Check http://fox.wikis.com/wc.dll?Wiki~WinSock
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform