General information
Category:
Coding, syntax & commands
>Environment:
>Visual Studio 6.0 Enterprise SP3
>Windows NT4.x Workstation SP6a
>MTS For NT workstation from Visual Studio Enterprise CD 2
>
>I have built a VB ActiveX DLL for use in MTS (not Win2000 COM+)
>When I run the DLL in debug mode I am told that I have the wrong version
>of MTS installed to do Transactions. I use a launching program an step through the code. I use Implements ObjectContext in Declarations section.
>
>When I run accross the first line that uses the ObjectContext I get nothing.
>
>var = MTXAS.GetObjectContext Returns nothing
>
>
>Why?
>
>Code as is, works if placed on a Win2000/COM+ machine.
GetObjectContext will return nothing if the DLL is not running within the context of an MTS package. IOW you would have to create a package and add the DLL to it.
There are several articles on debugging MTS DLL's but at this time it escapes memory. I believe the MSDN has one.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only