Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dangling COM Object
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00367542
Message ID:
00367753
Views:
23
If you don't want to create reference to the Context Object, you can simply call the setcomplete or setabort methods like this:(This works with VB...have not used this with VFP.)

GetObjectContext.SetComplete

>John,
>
>You don't need to do anything to run your DLL in MTS. It will run without creating the context object, without calling setcomplete and without calling setabort. It's not the ideal way to do this, but it works.
>
>>If it were only that easy...to just build a DLL and host it in MTS..< s >...
>>
>>Well... that by itself won't solve the problem. Additional code will need to be added to the class that creates the object context, and in turn, invokes the SetComplete and/or the SetAbort methods of the context object and other housekeeping items.
>>
>>Further, a more detailed resource, such as a whitepaper might be helpful. Here is such a resource:
>>
>>http://msdn.microsoft.com/library/default.asp?URL=/library/techart/MTSVFP.htm
>>>
>>How about building it as a DLL and running it under MTS or Win2K Component Services.
>><
Tim Westmoreland
Software Engineer
Skyline Technologies, Inc.

"Upper classes are a nation's past; the middle class is its future." - Ayn Rand, Russian-born author (1905-1982).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform