From: "Neil Marko"
Subject: Powerbasic DLLs and VC/MFC
I am interested in using Powerbasic for an existing application. The
application currently uses an MFC extension DLL for critical functionality.
This DLL exports Cdecl functions which I suspect is not a problem for
Powerbasic, however, the parameters are C++ classes derived from C++
abstract base class with many virtual functions. Can Powerbasic handle
these types of objects? Can structures incorporating some sort of
inheritance be used by both VC++ and Powerbasic? How?
One thought I had was that I could create the VC++ objects (that will be
used as parameters) as OLE automation objects with a type library. They
then should be visible to Basic. Anyone else have any guidance?
Another point I need to deal with is buffers (or char strings). If they
are OLE allocated then are they shareable? Any alternatives would be
appreciated.
Neil Marko
Email responses are also appreciated. Remove the anti-SPAM stuff (which
doesn't seem to work anyway!).
*** QwkNews (tm) v2.1
* [TN71] Internet Newsgroup: alt.lang.powerbasic
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/561)
|