Article View: comp.os.ms-windows.nt
Article #10Parameter Passage Between VB (4.0/5.0) and DLL
From: farrellrp3
Date: Tue, 06 Jan 1998 00:00
Date: Tue, 06 Jan 1998 00:00
13 lines
1495 bytes
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.
Technical Details
Message-ID:
<34B28F40.178D@ibm.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa335,519526a5822d603e,start X-Google-Attributes: gidfa335,public X-Google-Thread: 109fba,519526a5822d603e,start X-Google-Attributes: gid109fba,public X-Google-Thread: 1014db,519526a5822d603e,start X-Google-Attributes: gid1014db,public X-Google-Thread: 10b213,519526a5822d603e,start X-Google-Attributes: gid10b213,public X-Google-Thread: 103bde,519526a5822d603e,start X-Google-Attributes: gid103bde,public From: farrellrp3 <farrellrp3@ibm.net> Subject: Parameter Passage Between VB (4.0/5.0) and DLL Date: 1998/01/06 Message-ID: <34B28F40.178D@ibm.net> X-Deja-AN: 313382079 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Reply-To: farrellrp3@ibm.net Content-Type: text/plain; charset=us-ascii Organization: IBM.NET Newsgroups: comp.os.ms-windows.nt,comp.lang.c++,microsoft.public.vb.controls,borland.public.cpp.winapi,comp.lang.c