new to dlls!
-
Hi again I have various classes that I use fairly regularly (mainly to do with souncards). I was wondering whether it is worth while generating a dll with the classes. What are the advantages of using dlls over just including the classes within my application (other than the exe will be smaller)? Also, can you use threads in dlls as well (I am new to threads as well!) Thanks for (yet more) help! Mike
-
Hi again I have various classes that I use fairly regularly (mainly to do with souncards). I was wondering whether it is worth while generating a dll with the classes. What are the advantages of using dlls over just including the classes within my application (other than the exe will be smaller)? Also, can you use threads in dlls as well (I am new to threads as well!) Thanks for (yet more) help! Mike
Hi Mike, Well, I have no idea about the dll thing. Since you talked about something related to soundcard, have you tried "The Synthesis ToolKit in C++ (STK)" library before? You can download it from: http://ccrma.stanford.edu/software/stk/[^] I don't know whether it fit your application, but for mine, it just perfect. Regards, Chris
-
Hi again I have various classes that I use fairly regularly (mainly to do with souncards). I was wondering whether it is worth while generating a dll with the classes. What are the advantages of using dlls over just including the classes within my application (other than the exe will be smaller)? Also, can you use threads in dlls as well (I am new to threads as well!) Thanks for (yet more) help! Mike
Well one of the advantages is that with a DLL you can just add the library to your project and include the corresponding header file and then you are able to access the functionality in that DLL. It seems annoying to constantly copy the same header+implementation file to you project. Er zit een korstje op mijn aars.
-
Hi again I have various classes that I use fairly regularly (mainly to do with souncards). I was wondering whether it is worth while generating a dll with the classes. What are the advantages of using dlls over just including the classes within my application (other than the exe will be smaller)? Also, can you use threads in dlls as well (I am new to threads as well!) Thanks for (yet more) help! Mike
If you use them in a lot of your applications, it's worth making DLLs. If you don't, then no, it's not. There are "trade-offs", but there are no real advantages unless a LOT/all of your apps use those DLLs. Yes, you can use threads in DLLs. ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001