I want to register control using manifest file in VS-2008.
In VS-2003 for same project attribute entries of OCX was added in manifest file(RES\AppName.exe.manifest) where ocx control file kept in debug folder and manifest file is inclued in resource file(RC file).
IDR_MANIFEST RT_MANIFEST "res\\AppName.exe.manifest"
After build of project which works fine for control(i.e. Dialog wich has ocx control able to display) .
Please explain if I do same steps for VS-2008 why it fails?
VS-2008 no longer support to register activex control using manifest?
If it support what are step to overcome from this problem?
you can simply register the activex by using DllRegisterServer().
or go to command prompt, and the type regsvr32 test.ocx. This will register the activex control..
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)