Need Help using avifil32 API (Project Setup in VS.net)
Posted on 2006-06-23
I need some help setting up a project and Using the Video for Windows and avifil32 API.
I have some samples from msdn VS6 SDK Examples and I think I know how the code works and what I need to do, but I can't seem to get my project to compile without errors.
I open the sample from msdn and as you would imagine it builds and runs fine. I copy the project make a few changes and it's still ok. However as soon as I make a new project (like a dll proj) I get anywhere from 12 to 150 errors.
I am sure that it is a simple matter of project settings as I havent changed the code at all when it fails but I just can't see where I am going wrong.
Could someone please outline for me how to make a simple Win32 (unmanaged) DLL in VS.net that uses vfw.h and avifil32.dll . I would like to make a DLL so my VB app can use these functions. I also know I can use the vaifil32.dll directly in VB but I would rather use it in C++ to help keep my project organized
Thanks in Advance, I really need to get this working