Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi @all!

I've Downloaded the SolidEdge (CAD-Programm) SDK. The Code-Examples for VB are like that...

Dim objApp As SolidEdgeFramework.Application
Dim oCustom As SolidEdgeFramework.Properties

The Compiling-Error is that SolidEdgeFramework is unknown.

My Problem is, that i am using SharpDevelop. In Ms VB it is possible to include the right folder of the SolidEdge SDK. It is not possible in SharpDevelop. So I am searching for the right syntax to include the SDK. Is it possible to do that with "imports"?

Thanks

Benni

  • *Experts*
Posted

I don't know if SharpDevelop does this for you automatically or not, but you need to convert the COM component into a .NET version (at least, I assume your SDK is distributed as a COM DLL).

 

In Visual Studio, you simply add a reference to the COM component and it takes care of creating the new wrapper DLL for you. If SharpDevelop doesn't do that, you'll need to run a utility on the COM DLL to get an "interop" DLL that .NET recognizes. I can't remember the utility offhand, but it's a command line thingy :)

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Posted

SharpDevelop does the same thing VS Studio does - just right click Add References in the Project pane - browse to your dll or tlb and you're ready to rock and roll.

 

(note: both VS Studio and SharpDevelop use tlbimp in it's simplest, most basic no option form. For more control read this article:

http://www.msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dndotnet/html/useframewktools.asp

IN PARVUM MULTUM
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...