TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ALL
from: DAVE NAVARRO
date: 1998-02-11 16:44:00
subject: Re: Speed, adding C or Po

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)

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™.