c3b12 Posted October 14, 2004 Posted October 14, 2004 I'm writing a dll which runs with an .avi file. This file is in a specified directory. But to use my dll I must include the file (like a .ico in a form header) How can I do? If I have to use a ressource file, how? Thank your for your help Quote
Mykre Posted October 19, 2004 Posted October 19, 2004 Have a look at embedding resources on MSDN, or google. What you will have to do is add the file to the project, then go to the properties on the file in the solution explorer. There you will have to change the build action to embedded resource. At the moment I do not have any sample code that I can post but if you google the above you will find some. I'm writing a dll which runs with an .avi file. This file is in a specified directory. But to use my dll I must include the file (like a .ico in a form header) How can I do? If I have to use a ressource file, how? Thank your for your help Quote Glenn "Mykre" Wilson, DirectX MVP Inner Realm Managed DirectX and Game Programming Resources
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.