Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a DLL
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00175042
Message ID:
00175137
Views:
39
Ken,

DLLs startup in their own little world. They need to CD to the correct directory, open tables etc. It isn't going to know anything about the client that creates it by default. You'd have to have the client tell the server relevant things via properties and method calls.

You might be better off here with just another regular VFP object instead of a DLL. Especially if you are only using it from within VFP itself. At any rate you need to establish what the interface is between the client and the server. For example do you pass the server an object created from SCATTER NAME X? Do you call a server method with parameters? Do you set server properties and then call one of it's methods? You have a lot of options

>Stuck again. I made the real-deal DLL and put it in my app. The purpose of it was to post info from a form. When the DLL runs I get an alias not found error.
>
>So I quess the question is, can a DLL see the DE of the form that calls it?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform