Revison mangager CreateInstance failure Solid Edge 64/Windows 64

 

Hi all,

I used my 32-bit  C++ code to get an Revision Manager instance (Solid Edge 64 bit). It's works with Windows 32 bit

and don't work with Windows 64bit. I have tested it using the following configurations (32bit / 64bit Visual C++ 2005)

 CString strBuf;

 CLSID   clsid;

 HRESULT hResult;

 

CoInitialize(NULL);

 hResult = CLSIDFromProgID (OLESTR("RevisionManager.Application"), &clsid);

 if (FAILED(hResult))

 {

  AfxMessageBox ("Error ->> Revision-Manager ProgID !");

  return ;

 }

 RevisionManager::IRMgrAppPtr pRMgr;

 pRMgr.CreateInstance(clsid);

->> pRMgr = NULL;

 

Any solution! any suggestions ...

Thanks

Abouamin

 

 

Posted by: Abou Mimin
Post date: 9/3/2008 9:35:33 PM

6 REPLIES

RE: Revison mangager CreateInstance failure Solid Edge 64/Windows 64

I am on Visa x64 with SolidEdge 64 Bit and Visual Basic and have a similar problem.

 

CreateObject("RevisionManager.Application") fails. Is there any solution?

 

Thanks

Jens

 

Posted by: Jens Schreiber
Post date: 9/18/2008 5:05:14 AM

RE: Revison mangager CreateInstance failure Solid Edge 64/Windows 64

 

Solid Edge 64 bit setup has problems registering revision manager as it is a 32 bit application and windows installer does not register a 32 bit component delivered in a 64 bit msi file. There is a bug report on this and it will be fixed.

In the meantime I think you can go to the Edge program directory and find icnct.exe and register it. The command line to register should be:

 

icnct.exe /registerserver

I don't think this is case sensitive but if it is the case correct way would be to use

/RegisterServer

 

Posted by: R.D. Holland
Post date: 9/18/2008 9:44:56 AM

RE: Revison mangager CreateInstance failure Solid Edge 64/Windows 64

My apologies. The exe is no longer self registering. I am told that one can contact SE support to get a reg file.

 

It will look something like this but the actual path to the exe is install dependent:

 

[HKEY_CLASSES_ROOT\CLSID\{DF778D19-0AA4-11D1-BC6E-0800360E1E02}]

@="Revision Manager"

[HKEY_CLASSES_ROOT\CLSID\{DF778D19-0AA4-11D1-BC6E-0800360E1E02}\InprocHandler32]

@="ole32.dll"

[HKEY_CLASSES_ROOT\CLSID\{DF778D19-0AA4-11D1-BC6E-0800360E1E02}\LocalServer32]

@="iCnct.exe /automation"

[HKEY_CLASSES_ROOT\CLSID\{DF778D19-0AA4-11D1-BC6E-0800360E1E02}\ProgID]

@="RevisionManager.Application"

 

[HKEY_CLASSES_ROOT\RevisionManager.Application]

@="Revision Manager"

[HKEY_CLASSES_ROOT\RevisionManager.Application\CLSID]

@="{DF778D19-0AA4-11D1-BC6E-0800360E1E02}"

 

[HKEY_CLASSES_ROOT\TypeLib\{DF778D1A-0AA4-11D1-BC6E-0800360E1E02}]

@="Revision Manager"

[HKEY_CLASSES_ROOT\TypeLib\{DF778D1A-0AA4-11D1-BC6E-0800360E1E02}\1.0]

@="Solid Edge Revision Manager Object Library"

[HKEY_CLASSES_ROOT\TypeLib\{DF778D1A-0AA4-11D1-BC6E-0800360E1E02}\1.0\0\win32]

@="revmgr.tlb"

 

;PrasadD 09/18/01 Register the info for this executable that tells Windows that it can handle URLs.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\iCnct.exe]

"Path"="c:\program files\solid edge\program"

@="c:\program files\solid edge\program\iCnct.exe"

 

 

Posted by: R.D. Holland
Post date: 9/18/2008 11:52:12 AM

RE: Revison mangager CreateInstance failure Solid Edge 64/Windows 64

 

Thanks for your answer. Unfortunately the reg file doesn't solve the problem. Knowledge Base entry PR-06001028

said it wouldn't be fixed for V20 but should work in ST. Can anyone confirm that CreateObject("RevisionManager.Application")

works with 64 bit ST? Or even better - is there any solution for V20 around?

I believe that Revison Manager is just not registered correctly. But there seams to be something wrong with the reg file.

 

Thanks in advance

Jens

 

Posted by: Jens Schreiber
Post date: 11/7/2008 1:07:39 AM

RE: Revison mangager CreateInstance failure Solid Edge 64/Windows 64

Your have to use short filenames (DOS 8.3) for the fles in the registry.

The following registry script works with SE 20 SP 14 x64.

 

Windows Registry Editor Version 5.00

 

[HKEY_CLASSES_ROOT\CLSID\{DF778D19-0AA4-11D1-BC6E-0800360E1E02}]

@="Solid Edge Revision Manager"

"AppID"="{DF778D19-0AA4-11D1-BC6E-0800360E1E02}"

 

[HKEY_CLASSES_ROOT\CLSID\{DF778D19-0AA4-11D1-BC6E-0800360E1E02}\InprocHandler32]

@="ole32.dll"

 

[HKEY_CLASSES_ROOT\CLSID\{DF778D19-0AA4-11D1-BC6E-0800360E1E02}\LocalServer32]

@="C:\PROGRA~1\SOLIDE~1\Program\win32\iCnct.exe /automation"

 

[HKEY_CLASSES_ROOT\CLSID\{DF778D19-0AA4-11D1-BC6E-0800360E1E02}\ProgID]

@="RevisionManager.Application"

 

[HKEY_CLASSES_ROOT\RevisionManager.Application]

@="Revision Manager"

 

[HKEY_CLASSES_ROOT\RevisionManager.Application\CLSID]

@="{DF778D19-0AA4-11D1-BC6E-0800360E1E02}"

 

[HKEY_CLASSES_ROOT\TypeLib\{DF778D1A-0AA4-11D1-BC6E-0800360E1E02}]

@="Revision Manager"

 

[HKEY_CLASSES_ROOT\TypeLib\{DF778D1A-0AA4-11D1-BC6E-0800360E1E02}\1.0]

@="Solid Edge Revision Manager Object Library"

 

[HKEY_CLASSES_ROOT\TypeLib\{DF778D1A-0AA4-11D1-BC6E-0800360E1E02}\1.0\0\win32]

@="revmgr.tlb"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\iCnct.exe]

"Path"="C:\Program Files\Solid EdgeV20\Program\win32"

@="\PROGRA~1\SOLIDE~1\Program\win32\iCnct.exe"

 

 

 

 

Posted by: Rainer Soell
Post date: 8/25/2009 5:20:01 AM

RE: Revison mangager CreateInstance failure Solid Edge 64/Windows 64

If i recall correctly, Revision Manager API for x64 does not work. There is a bug.

We reported this in V20 and they said it was working on ST but afaik it was not working.

Regards.

 

Posted by: Julian Guillo
Post date: 9/1/2009 3:34:58 AM