Unable to register 64 bit COM Server
-
Hi, I am trying to create a 64 bit COM server in visual studio 2008 on win7 x64 machine. Here are the steps I am following: 1. Open Visual Studio. 2. Create ATL Project 3. On ATL Project wizard in application settings select Executable(EXE) then Finish 4. Then Build->Configuration Manger change Platform to x64 5. Build the project. 6. On output window everything seems ok but if I take a look at buildLog.htm then there is a error 'errro PRJ0019: A tool returned an error code from "Performing registration"'. Even I tried to register from command prompt (with admin rights) but it is not registering. Neither error message nor success message.
-
Hi, I am trying to create a 64 bit COM server in visual studio 2008 on win7 x64 machine. Here are the steps I am following: 1. Open Visual Studio. 2. Create ATL Project 3. On ATL Project wizard in application settings select Executable(EXE) then Finish 4. Then Build->Configuration Manger change Platform to x64 5. Build the project. 6. On output window everything seems ok but if I take a look at buildLog.htm then there is a error 'errro PRJ0019: A tool returned an error code from "Performing registration"'. Even I tried to register from command prompt (with admin rights) but it is not registering. Neither error message nor success message.
Make sure that the
DllRegisterServer
function exists and is exported. For a function to be exported, it must have an entry in the .def file. Note: In Visual Studio 2005, the VC++ compiler does not add the .def file name in the project settings by default. Provide a name to the .def file in the project settings. I am not sure if this has changed in Visual Studio 2008."Don't confuse experts with facts" - Eric_V
-
Hi, I am trying to create a 64 bit COM server in visual studio 2008 on win7 x64 machine. Here are the steps I am following: 1. Open Visual Studio. 2. Create ATL Project 3. On ATL Project wizard in application settings select Executable(EXE) then Finish 4. Then Build->Configuration Manger change Platform to x64 5. Build the project. 6. On output window everything seems ok but if I take a look at buildLog.htm then there is a error 'errro PRJ0019: A tool returned an error code from "Performing registration"'. Even I tried to register from command prompt (with admin rights) but it is not registering. Neither error message nor success message.
Try opening Visual Studio with elevated privileges.
«_Superman_» _I love work. It gives me something to do between weekends.