Creating a DLL
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?
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).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement