nasejohann Posted June 7, 2004 Posted June 7, 2004 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 Quote
*Experts* Nerseus Posted June 7, 2004 *Experts* Posted June 7, 2004 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 Quote "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
Administrators PlausiblyDamp Posted June 7, 2004 Administrators Posted June 7, 2004 IIRC it's called tlbimp.exe Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
pelikan Posted June 13, 2004 Posted June 13, 2004 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 Quote IN PARVUM MULTUM
Recommended Posts