Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted

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

Glenn "Mykre" Wilson, DirectX MVP

Inner Realm

Managed DirectX and Game Programming Resources

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...