Results 1 to 6 of 6

Thread: mts com and dcom

  1. #1

    Thread Starter
    Member
    Join Date
    May 2000
    Posts
    56

    Question

    Hi everybody!

    Someone knows how to make an activex dll to be only available by the way of mts ?.

    Any opinion appreciated.

    thank you

  2. #2
    Fanatic Member
    Join Date
    Jan 2001
    Location
    Vietnam
    Posts
    613
    Hi simonmay,

    Start an ActiveXDLL with properties:
    Instancing: MultiUse
    MTSTransactionMode: Requires Transaction

    Important: make it stateless, apartment threaded

    Regards,
    TheBao

  3. #3

    Thread Starter
    Member
    Join Date
    May 2000
    Posts
    56
    thank you TheBao,

    ....then to use the dll, in an executable program, do i use a "createobject" instruction ?

  4. #4
    Fanatic Member
    Join Date
    Jan 2001
    Location
    Vietnam
    Posts
    613
    simonmay,

    You can use CreateObject or New key work if you want.

    Regards,
    TheBao

  5. #5
    Fanatic Member
    Join Date
    Jan 2001
    Location
    Vietnam
    Posts
    613
    simonmay,

    The program can be an ASP or just a standard EXE.

    Regards,
    TheBao

  6. #6

    Thread Starter
    Member
    Join Date
    May 2000
    Posts
    56
    thank you thebao

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width