Ive created a class in VB9.
What do I need to make it usable from Powerbasic,
Is functions declared public usable as is?
Do I need to enable Register for COM interop
My problem is that I have a program written in VB9.
In a farly short time I need to strip away the forms and turn the program
into a DLL.
This DLL will be used in a program written in Powerbasic.
And as I have a verry low intrest in redoing my program in Powerbasic I need
options.
Can I find examples of code that would work with Powerbasic.
Ive created a class in VB9.
What do I need to make it usable from Powerbasic,
Is functions declared public usable as is?
Do I need to enable Register for COM interop
My problem is that I have a program written in VB9.
In a farly short time I need to strip away the forms and turn the
program into a DLL.
This DLL will be used in a program written in Powerbasic.
And as I have a verry low intrest in redoing my program in Powerbasic
I need options.
Can I find examples of code that would work with Powerbasic.
I should clarify... It depends on what version of PB they are using. As I
recall, only the last two versions have supported COM (8 and 9). So, the OP
will want to make sure that the version they are using has that support.
Other wise, he can make use of the technique I wrote about on my blog
Essentially, creating a C++ wrapper dll for his VB.NET dll. This will allow
the PB program to call the C++ dll functions just like any other API call...
And that is definately supported in all versions of PB.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.