Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

COM/ATL Registries in 64 bit maching with VS2005 Driving Me Insane

$
0
0

ok, after few days and tons of online research I am ready to post my question:

I am studying COM/ATL from a book written in 2000 using VC 6.0. This is the second read

for me on this book and this time around I am having more difficult to get the examples to work,

especially when comes time to register my coclasses and libs.

I am using VS 2005 Std SP2 on Windows 8.

I am compiling the dlls using x64 debugging mode! The project compiles but it fails to register the

dll automatically through .rgs file.

When I tried to register via .reg file I put all the CLSIDs and libs under Wow6432Node. They get registered all right.

They show up in OLE/Viewer but it fails when I try to instantiate the CoClass in the viewer, making me think

that it cannot find the right factory class.

I am looged in as a Adm and tried to register the dll via regsvr32 and it says that it can load the modules but

the DllRegisterServer failed with error 0x80070005...

I feel like I am chasing my own tail at this point. So where do I get to put my CLSIDs and all and why rgs

is not registering anything? Do I need VS2005 Pro instead? Thank you for any input.


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>