Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29253 Discussions

64-bit COM server registration on 64-bit Windows 7

johanme
Beginner
607 Views
I have the Intel Visual Fortran Composer 2011 (formerly known as version 12) installed, integrated in both Microsoft Visual Studio 2005 and 2008.
When I do the following in either of these two installations the same problem occurs:

*
Start the development environment in administrator mode (Windows 7 64-bit OS).
*
In an empty solution, File / New / Project / Intel Visual Fortran / COM Server / In-process Server (DLL)
Enter a location on a local disk and choose the default names so the project will be created.
*
In Debug/Win32: build the solution -> it compiles warning-free and registers.
*
Configuration Manager / Active solution platform / New /
New platform: x64; Copy settings from: Win32; Create new project platforms: yes
*
In Debug/x64: build the solution -> it compiles warning-free a nice 64-bit DLL, but it does not register:
1>Registering output...
1>Project : error PRJ0019: A tool returned an error code from "Registering output..."
*
When registering the newly created 64-bit DLL from the command-line (started in administrator mode), DllRegisterServer returns error code 0x80040201.
Whether I use the correct regsvr32 or the wrong one (system32 or syswow64) doesn't seem to matter: they both return the same error code.

First unregistering the 32-bit DLL didn't help.

I don't know at the moment how to get this 64-bit DLL registered.
Could you please provide me some clues how to proceed?
0 Kudos
2 Replies
Steven_L_Intel1
Employee
607 Views
Your DLL probably depends on debug DLLs that are not available system-wide. Try changing it to link against the static libraries.
0 Kudos
johanme
Beginner
607 Views
Your DLL probably depends on debug DLLs that are not available system-wide. Try changing it to link against the static libraries.

Unfortunately, linking to the static libraries didn't help: it still doesn't register. Making a Release build didn't help.
Depends (neither the 32-bit nor the 64-bit version) told me anything useful about the 64-bit DLLs.
0 Kudos
Reply