Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > VirtualDub Filters and Filter Development > Creating Filters In Visual C++ 2008


Posted by: cmechiel Dec 11 2007, 08:50 PM
Hi,
Since I can't download Visual C++ Processor Pack SP5 anymore, I downloaded Visual C++ 2008 express. I tried to compile various examples with the following results:
- it tries to generate a Resource file, which can't compile (missing header file)
If I simply remove the resource file from the project, it actually compiles and generates a .vdf file!
But don't party too early, it simply doesn't get into the filter list after loading it in VirtualDub.

Does anybody have experience in creating filters in VC++ 2008?

Thanks in advance!

Posted by: phaeron Dec 12 2007, 06:58 AM
To fix the .rc problem, open the .rc file and replace all instances of stdafx.h with winresrc.h. (I never did figure out exactly what you're supposed to do here.)

As for the filter not showing up, check if there is a .def file. If there is, it needs to be specified as the "module definition file" under link options. Otherwise, I'm not sure why it would have changed in 2008. Open up a VC++ command prompt and run dumpbin /exports on the .vdf file to double check that the exported methods are correct.

Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)