Article View: comp.os.ms-windows.nt
Article #11Re: Parameter Passage Between VB (4.0/5.0) and DLL
From: John Winters
Date: Tue, 06 Jan 1998 00:00
Date: Tue, 06 Jan 1998 00:00
27 lines
2127 bytes
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>
Technical Details
Message-ID:
<68u9uu$qaf$1@polo.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<34B28F40.178D@ibm.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b213,519526a5822d603e X-Google-Attributes: gid10b213,public X-Google-Thread: 1014db,519526a5822d603e X-Google-Attributes: gid1014db,public X-Google-Thread: fa335,519526a5822d603e X-Google-Attributes: gidfa335,public X-Google-Thread: 105df1,5e895dadd443194e,start X-Google-Attributes: gid105df1,public X-Google-Thread: 109fba,519526a5822d603e X-Google-Attributes: gid109fba,public X-Google-Thread: 103bde,519526a5822d603e X-Google-Attributes: gid103bde,public From: john@polo.demon.co.uk (John Winters) Subject: Re: Parameter Passage Between VB (4.0/5.0) and DLL Date: 1998/01/06 Message-ID: <68u9uu$qaf$1@polo.demon.co.uk> X-Deja-AN: 313415173 References: <34B28F40.178D@ibm.net> Followup-To: comp.os.ms-windows.programmer.misc X-NNTP-Posting-Host: polo.demon.co.uk [158.152.105.238] Organization: Spirit software Newsgroups: comp.os.ms-windows.nt,comp.lang.c++,microsoft.public.vb.controls,borland.public.cpp.winapi,comp.lang.c,comp.os.ms-windows.programmer.misc