TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: TIKA CARR
from: JOHN DUMAS
date: 1998-02-06 14:45:00
subject: Re: DLL`s

-=> Quoting Tika Carr to John Dumas <=-
-=> Quoting John Dumas to All <=-
 
 JD> I have been making ( C ) dlls to pass into VB.
 JD> For the most part I have had success.
 TC> What C++ do  you use? I use BC++ 3.1 and VB 3.0 and so far I can't get
               BC ^4.52
 TC> VB to recognize the functions. Some reason it says it's not there. I
     
     Try running impdef to get the new names.  
     as in : 
     impdef look.def ( DLLNAME ).dll
     then edit look.def
 TC> have BC++ set up so that it exports are all case sensitive, even in
 TC> linking. I also noticed that it's not making the function(s) in the DLL
 TC> "public". Could you tell me how you did that?
     Type __far PASCAL __export  FUNCTIONNAME ( parameters ) 
                       ^^^^^^^^
 JD> I have tried passing by character arrays by reference but, have only
 JD> recieved "y|||||yyy||" garbage when back in VB.
     I have now learned:
     byVal is *ptr.
     byRef is **ptr.
     When strings are involved
     
... Convictions are more dangerous foes of truth than lies. (Nietzsche)
--- Blue Wave/DOS v2.20 [NR]
---------------
* Origin: The Witch City BBS *Salem,MA [978]745-1689 *Hayes 28.8 (1:101/301)

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