PDA

Click to See Complete Forum and Search --> : mts com and dcom


simonmay
Feb 18th, 2001, 11:23 AM
Hi everybody!

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

Any opinion appreciated.

thank you

TheBao
Feb 18th, 2001, 10:17 PM
Hi simonmay,

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

Important: make it stateless, apartment threaded

Regards,
TheBao

simonmay
Feb 19th, 2001, 03:55 PM
thank you TheBao,

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

TheBao
Feb 19th, 2001, 09:09 PM
simonmay,

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

Regards,
TheBao

TheBao
Feb 21st, 2001, 02:24 PM
simonmay,

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

Regards,
TheBao

simonmay
Feb 21st, 2001, 03:51 PM
thank you thebao