What prerequisites should a DLL have, if it is going to be implemented within MTS

What prerequisites should a DLL have, if it is going to be implemented within MTS? ie ,transcation servr,microsoft.
mahmood_786Asked:
Who is Participating?
 
PaulHewsConnect With a Mentor Commented:
Microsoft recommends that you use apartment threading, turn on "Unattended Execution" and  also check retained in memory.  (Both are available from Project menu > Properties > General Tab.)

Your classes should not try to retain information between calls.  This should be done external to the component (in the program that is a client to the component.)

See here for more detailed information, problems and workarounds:
Threading issues with Visual Basic 6.0 ActiveX components
http://support.microsoft.com/kb/241896

0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.