32-Bit Solid Edge Addin in 64-Bit Environment

Valued Contributor
Valued Contributor

 

Hi all,

I want to use a 32-Bit solid edge Addin (Visual C++ 6) in a 64-Bit environment (Windows XP) .The installed version of solid edge is 32-Bit. The Addin-Manager shows my Addin but  it cannot be loaded.  I used regsvr32.exe to register the COM dll.

How can I make this Addin visible for 64-Bit environments?

Thank you 

Abouamin

 

 

 

 

Posted by: Abou Mimin
Post date: 1/3/2008 7:13:33 AM

8 REPLIES

RE: 32-Bit Solid Edge Addin in 64-Bit Environment

Valued Contributor
Valued Contributor

Abouamin,

 

I have zero 64-bit programming experience so I'm not going to be much help. Can you debug the addin to see what's going wrong? When you say that "it cannot be loaded", is there an error?

 

It is my understanding that since you're trying to use your 32-bit addin in 32-bit Solid Edge, it should work. 64-bit windows supports 32 & 64 bit apps so I don't really see why it wouldn't work.

 

Posted by: Jason Newell
Post date: 1/5/2008 11:03:46 AM

RE: 32-Bit Solid Edge Addin in 64-Bit Environment

Valued Contributor
Valued Contributor

Thank you a lot for your reply, i will debug my Addin Application to see what's going wrong /emoticons/sad.gif

 

Posted by: Abou Mimin
Post date: 1/7/2008 12:16:34 AM

RE: 32-Bit Solid Edge Addin in 64-Bit Environment

Valued Contributor
Valued Contributor

 

Hi Jason,

In order to find out, why my 32bit COM Addin doesn't work in Solid Edge 64Bit, I started my Addin Project  in Visual Studio 6

(VC++) in mode debug. Unfortunately Solid Edge process can not be started with this setting, so I can not find out the bug. It is

possible to convert my 32bit Project to support  Solid Edge 64bit version?

I used your tool Solid Edge Spy to get the Addins loaded on the current session of Solid edge. My Addin was active and its

visible property was set to true, in spit of that, myAddin doesn't exist in SE Toolbar.

 

Thank you for your help.

 

Posted by: Abou Mimin
Post date: 4/17/2008 8:24:08 AM

RE: 32-Bit Solid Edge Addin in 64-Bit Environment

Valued Contributor
Valued Contributor

 

have you tried to compile the project in 64 bit mode? Normally the project is set to 32 bit mode in Debug/Release.

regards,

Sibi

 

 

Posted by: Seb Sosna
Post date: 4/18/2008 8:24:43 AM

RE: 32-Bit Solid Edge Addin in 64-Bit Environment

Valued Contributor
Valued Contributor

 

Thank you Sibster for your reply.

The version of visual Studio 6 i used doesn't provide any support for 64 bit. How can i update the Visual studio 6 IDE to support

64-bit Application? Any Solution from Microsoft ?

 

Regards,

Abouamin

 

Posted by: Abou Mimin
Post date: 4/19/2008 12:30:27 AM

RE: 32-Bit Solid Edge Addin in 64-Bit Environment

Valued Contributor
Valued Contributor

 

Hi Abouamin,

I don't think it is possible from VSC++ 6. You have to upgrade to Visual Studio 2005 and use C++.NET.

Check this out: http://en.wikipedia.org/wiki/Visual_C%2B%2B#64-bit

regards,

Sibi

 

 

Posted by: Seb Sosna
Post date: 4/22/2008 10:07:36 PM

RE: 32-Bit Solid Edge Addin in 64-Bit Environment

Valued Contributor
Valued Contributor

 

 

The registery entries are different on a 64 bit machine when it registers a 32 bit dll. Below is a PART of two reg files I use to register an AddIn. Notice the highlighted text in the 64 bit case.

32 bit

[HKEY_CLASSES_ROOT\CLSID\{C9FF0251-3632-47FE-8A94-284CA3CB009C}\Settings]

"LoadOnStartUp"="1"

"Type"="Standard"

"Version"=""

"Hidden"="1"

"UserUnloadable"="0"

64 bit

[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{C9FF0251-3632-47FE-8A94-284CA3CB009C}\Settings]

"LoadOnStartUp"="1"

"Type"="Standard"

"Version"=""

"Hidden"="1"

"UserUnloadable"="0"

Hope this helps

 

Posted by: Brian Magill
Post date: 5/5/2008 5:49:06 AM

RE: 32-Bit Solid Edge Addin in 64-Bit Environment

Valued Contributor
Valued Contributor

 

Thank you brian for your replay,

should I change the registry entries into my C++ addin code or directly with the registry editor. Would you like to post more code

about addin customizing for solid edge 64 bit. 

Thank you

 

 

 

Posted by: Abou Mimin
Post date: 5/5/2008 9:35:13 AM