Erel, Could you please post a sample wrapper source-code?
// for C# [DllImport("User32.dll")] public static extern int MessageBox(int h, string m, string c, int type); ' for VB Declare Auto Function MBox Lib "user32.dll" Alias "MessageBox" ( _ ByVal hWnd As Integer, _ ByVal txt As String, _ ByVal caption As String, _ ByVal Typ As Integer) _ As Integer ' also for VB <DllImport("User32.dll")> Public Shared Function MBox Lib "user32.dll" Alias "MessageBox" ( _ ByVal hWnd As Integer, _ ByVal txt As String, _ ByVal caption As String, _ ByVal Typ As Integer) _ As Integer
To refer to a .NET DLL from SharpDevelop to "Projects" panel, right click "references", click ".NET Assembly Browser" tab, click "Browse" button and select your .NET DLL.the scrool bar uses known namespaces and therefore are (now) straight foward to implement..
I just can figure out how to "call" an outside dll and "refer" to it to build a wrapper...
It is more accurately to say that Basic4ppc doesn't support custom data types. It does support all primitive data types (including Object data type).2. Access to .NET DLLs theoritically could be done trough B4PPC directly (without a wrapper) if B4PPC could have support for every data type supported by C#.NET. For now B4PPC have serious limitations on this.
I have had in the past a lot of work in dynamically invoking functions inside native DLLs so I'm aware of these two methods (x86 assembly and C++ code (!!!) not C#).
I tryed it already and it does add a lot of object but error because there's a few objects bettween classes that are named the same....The GemBox component is a .Net component.
You should try adding the dll to Basic4ppc directly.
If the dll includes methods not supported by Basic4ppc you should create a .Net project, add a reference to this dll and create the required methods and properties.
It will only work on the desktop as this is not a .Net CF dll.