dynamically linking to d3d9.dll?

Started by
2 comments, last by psykr 20 years, 6 months ago
I heard that there is a way to remove the dependencies of your app on this DLL, so instead of a MessageBox&tm saying "D3D9.DLL could not be found", I could have my app handle it and print it to an error log? Please ask if further clarification is needed, I''m not sure how to phrase my question
Advertisement
When you use Direct3D you do dynamically link with d3d9.dll . Which to say is, I don''t really understand your question.
quote:Original post by MikeMJH
When you use Direct3D you do dynamically link with d3d9.dll . Which to say is, I don''t really understand your question.



When he runs his application, it automatically handles the loading of the d3d9 dll file, and gives it''s standard warning about the file could not be located, he wants to know how he can over-ride that for his application to handle it rather than the generic message. I do not know the answer, but I understood the question .
Explicitly load the library and handle failures yourself via LoadLibraryEx().

This topic is closed to new replies.

Advertisement