TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ALL
from: DAVE NAVARRO
date: 1998-04-07 17:05:00
subject: Re: Passing parameters to

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.