Creating a DLL

Started by
0 comments, last by circlesoft 19 years, 2 months ago
I am working in VB with DirectX and have written several classes in my game, in which I handle everything involving specific things in DirectX, e.g. I have a class for DirectInput, one for DirectSound, etc. If I were to compile these into a DLL and use that instead of all these classes, what effect would this have on my game's performance?
Advertisement
Quote:Original post by Crazy Jonny
I am working in VB with DirectX and have written several classes in my game, in which I handle everything involving specific things in DirectX, e.g. I have a class for DirectInput, one for DirectSound, etc. If I were to compile these into a DLL and use that instead of all these classes, what effect would this have on my game's performance?


Once the DLLs are loaded there is no identifiable performance hit. Many, many applications use the DLL-interface (including every one of your DirectX apps) without problems. Many commercial games use them, too (ie FarCry and HL2).
Dustin Franklin ( circlesoft :: KBase :: Mystic GD :: ApolloNL )

This topic is closed to new replies.

Advertisement