PDA

View Full Version : Multithreaded or Multithreaded DLL ?


Fizick
15th December 2004, 20:11
REcently I discover, that some of my Avisynth plugins were compiled as Multythreaded (i.e. /MT compiler option), but some as Multythreaded DLL (i.e. /MD).
All are created as DLL projects in VC6.

I try look what use more advanced users ( Sh0dan :) )
But Avisynth 2.55 source is compliled as /MD,
but TCPDeliver and DirectshowSource as /MT.

What is better and more correct? :confused:

Nic
15th December 2004, 20:20
If it uses the MFC classes then it has to use Multithreaded DLL (be it a .DLL, .exe, etc).

You should be absolutely fine with both. :)

-Nic

Bidoche
17th December 2004, 00:37
The difference is whether you are linking to a static or dynamic C runtime, not if it multithreaded or not.

Fizick
19th December 2004, 23:27
I see difference in file size.

ARDA
20th December 2004, 00:06
There are two old threads about the same subjet

http://forum.doom9.org/showthread.php?s=&threadid=31623
http://forum.doom9.org/showthread.php?threadid=41827&highlight=Multithreaded+DLL

If I dont remember wrong there was a neuron2 reference to an Avery Lee explantion about this question.
I hope this can be useful.
ARDA