Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instance Closing issue in Multi-threaded DLL
Message
From
28/08/2006 23:00:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Instance Closing issue in Multi-threaded DLL
Miscellaneous
Thread ID:
01149242
Message ID:
01149242
Views:
55
I am creating a multi-threaded DLL which I then wrap in a C#.net web service. This particular VFP DLL was once a thick client app that I transformed into a DLL. The DLL is a fairly large application and it is registered in COM+. My problem is that when I call the function in the web service, that in turn calls the VFP DLL, the first call works perfectly. The second call on the DLL results in an error or until I stop the DLL in the component services applet. I'm thinking maybe this is due to the fact that I am using PUBLIC variables - but I release them all near the end of the method call. I know the problem lies within the VFP DLL. I can try calling it from a simple VFP program and get the same issue where the instance is not being released or cleared. I'm not sure what to try next. Ideas?

Thanks!
Next
Reply
Map
View

Click here to load this message in the networking platform