From: dave@powerbasic.com (Dave Navarro)
Subject: Re: Passing parameters to/from C++
In article , dmalitz@mindspring.com
says...
> I have a 16-bit powerbasic DLL that works fine with VB. Now I need to
> make it callable from C++, if possible. I have several different
> types of parameters: a string, a string array, and a single-precision
> array. What changes do I need to make so this will work with C++? Is
> there a FAQ or something somewhere that talks about this?
There isn't a FAQ. However, strings and string arrays in C/C++ are different
than in Visual Basic. So you'll need to use ASCIIZ strings and probably
ASCIIZ arrays.
--Dave
*** QwkNews (tm) v2.1
* [TN71] Toast House Import
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/561)
|