🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.nt
2 messages
2 total messages Started by farrellrp3 Tue, 06 Jan 1998 00:00
Parameter Passage Between VB (4.0/5.0) and DLL
#10
Author: farrellrp3
Date: Tue, 06 Jan 1998 00:00
13 lines
1495 bytes
I am having problems interfacing through VB 4.0 16 bit with a 16 bit
DLL which I made with WATCOM C++.  I can call a number of functions in
the DLL, but I get a Windows system crash when I call a particular
function in this DLL.

	It seems that DLL functions which take as parameters either scaler
values or pointers to strings work fine. The problem arises when a DLL
function expects a pointer to an array (i.e. a pointer to a pointer).
How do you make VB's parameter passage conform to this situation of two
levels of indirection?

	Thanks in Advance for you help.
Re: Parameter Passage Between VB (4.0/5.0) and DLL
#11
Author: John Winters
Date: Tue, 06 Jan 1998 00:00
27 lines
2127 bytes
In article <34B28F40.178D@ibm.net>, farrellrp3  <farrellrp3@ibm.net> wrote:
>I am having problems interfacing through VB 4.0 16 bit with a 16 bit
>DLL which I made with WATCOM C++.  I can call a number of functions in
>the DLL, but I get a Windows system crash when I call a particular
>function in this DLL.
>
>	It seems that DLL functions which take as parameters either scaler
>values or pointers to strings work fine. The problem arises when a DLL
>function expects a pointer to an array (i.e. a pointer to a pointer).
>How do you make VB's parameter passage conform to this situation of two
>levels of indirection?

Obviously the place to ask about interfacing a program written in
Visual Basic to a 16-bit DLL written in C++, using facilities specific
to one peculiar platform is comp.lang.c.

Please take a bit more care when selecting where to post to.

Follow-ups set.

John
-- 
John Winters.  Wallingford, Oxon, England.

Want to buy Linux CDs cheaply in the UK?  Join the Linux Buyers' Consortium.
See <http://www.polo.demon.co.uk/lbc.html>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads