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

Posted on 2007-08-03
Last Modified: 2013-11-05
What prerequisites should a DLL have, if it is going to be implemented within MTS? ie ,transcation servr,microsoft.
Question by:mahmood_786
    LVL 38

    Accepted Solution

    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

    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
    This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now