From: dave@powerbasic.com (Dave Navarro)
Subject: Re: Speed, adding C or PowerBasic to VB
In article ,
klas.lundberg@stockholm.mail.telia.com says...
> Can you fill a grid or list from a DLL function?
Yes, simply pass the hWnd of the object to the DLL.
> Can you read from a file (that's already open in VB) from a DLL function?
In 16-bit, yes. In 32-bit, no.
> Can you pass and change global variables in a DLL function ?
You can pass variables to a DLL and change the values.
> Can you pass a String Array to an DLL, sort the Array and return the Array?
Yes, example source code is available.
> How is PowerBASIC DLL's compared to DLL's written in C when you call the
> functions from VB (better, easier, faster, slower) ?
Typically faster than C and much easier to write for a Basic programmer.
--Dave
*** QwkNews (tm) v2.1
* [TN71] Internet Newsgroup: alt.lang.powerbasic
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/561)
|