Is possible to use a .NET dll in purebasic? do you have a sample of a wrapper?
thx
Using .NET DLL in PureBasic
-
- User
- Posts: 13
- Joined: Wed May 28, 2003 2:41 pm
- Location: Italy
-
- User
- Posts: 13
- Joined: Wed May 28, 2003 2:41 pm
- Location: Italy
That's ok, the .NET runtimes are included to be included in the next XP service pack I believe. And in the next iteration of windows as well. I remember going through the same thing with people tossing hissy fits with each new version of visual basic too. Now the runtimes are included with windows and no one thinks twice about it.
Hehe, exactly
And dont forget that the source to your DLL is open for anybody to look at
whoo hoo! anyways, to answer your question..
Ergh, I think I already did. In .NET there is a way to convert over your DLL Assembly to be accessable via COM environment. This will allow PB access to it. However, you have to use interfaces just like you would when accessing DX DLLs. Should work though.
Any chance I could get you to explain more about your project? I mean, are you doing something like... allowing purebasic and powerbasic users use the .NET framework? That would be kinda cool, in a weird sorta way.


Ergh, I think I already did. In .NET there is a way to convert over your DLL Assembly to be accessable via COM environment. This will allow PB access to it. However, you have to use interfaces just like you would when accessing DX DLLs. Should work though.
Any chance I could get you to explain more about your project? I mean, are you doing something like... allowing purebasic and powerbasic users use the .NET framework? That would be kinda cool, in a weird sorta way.
