Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling VFP DLL from VB with MTS
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00173991
Message ID:
00174799
Views:
23
What are you doing in the INIT of the VFP? The CURDIR() of a DLL is the SYSTEM32 directory. Is the path set correctly to the data. When you issue a 'SELECT * FROM ???' if it can't find the data, it will prompt.

Hopes this helps.


>
>>VFP servers can hang on a file open dialog. Your problem may stem from the
>>fact that the component is running in your SYSTEM directory and is not
>>finding a table because of that.
>
>No dialogs appear on my workstation. So, I know it cannot be that. As I mentioned earlier, I created a test program in VFP to create an instance of the VB DLL which in turn creates an instance of the VFP DLL. This test program calls several VB methods. Using my debugging technique, I can see that the VB DLL creates an instance everytime a VB method is executed, which makes sense since I do a SetComplete at the end of each method.
Geno Prida
Watson Wyatt Worldwide
geno_prida@watsonwyatt.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform