Article View: comp.lang.basic.visual.misc
Article #277Re: Dll Windows 9x
From: Chui Tey
Date: Sun, 26 Dec 1999 00:00
Date: Sun, 26 Dec 1999 00:00
37 lines
2860 bytes
2860 bytes
I believe VB uses Pascal conventions. Watch out if you are passing arrays. VB arrays are mean stuff. Have a look around in the VB CD, there is an article on how to implement calls properly. Best approach is to get it working then wrap the calls up so that they look like ordinary VB functions. DLL not found ... place the dll file in C:\windows, or C:\windows\system or application path. gabriel <gfleseriuNOgfSPAM@bluewin.ch.invalid> wrote in message news:04f1c7f1.6e6b1dbb@usw-ex0103-019.remarq.com... > Hi! > > Well, I haven't used Pascal for many years, but here are > some thoughts, which could help: > > - code the whole path and filename (with extension) in your > declare statement > - watch for spelling errors (sounds incredible, but it can > happen:-) > > - In the programming world, there is a topic named "calling > conventions". It's about how parameters are passed to > procedures. Fact is that Pascal and C use different calling > conventions. I have no idea how Basic passes parameters to > subs, but maybe it is worth digging in the docu to find out > if there isn't any incompatibility there. Maybe VB finds the > file, but doesn't recognize the format - we all have seen > stupid error messages by now :-) > > Hope it helps. > > Gabriel > > > * Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful
Technical Details
Message-ID:
<847l8f$odi$1@bunyip.cc.uq.edu.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<83v9df$rff$1@wanadoo.fr> <38634394.774FCEF5@eunet.at> <83vu9m$fks$1@wanadoo.fr> <04f1c7f1.6e6b1dbb@usw-ex0103-019.remarq.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10c950,d34cb34878c5ea10 X-Google-Attributes: gid10c950,public X-Google-Thread: 108ebd,d34cb34878c5ea10 X-Google-Attributes: gid108ebd,public X-Google-Thread: 111659,d34cb34878c5ea10 X-Google-Attributes: gid111659,public X-Google-Thread: 10261c,d34cb34878c5ea10 X-Google-Attributes: gid10261c,public X-Google-Thread: 110e3b,d34cb34878c5ea10 X-Google-Attributes: gid110e3b,public X-Google-Thread: 105df1,d34cb34878c5ea10 X-Google-Attributes: gid105df1,public X-Google-Thread: f645d,d34cb34878c5ea10 X-Google-Attributes: gidf645d,public From: "Chui Tey" <teyc@bigfoot.com> Subject: Re: Dll Windows 9x Date: 1999/12/26 Message-ID: <847l8f$odi$1@bunyip.cc.uq.edu.au> X-Deja-AN: 565280111 References: <83v9df$rff$1@wanadoo.fr> <38634394.774FCEF5@eunet.at> <83vu9m$fks$1@wanadoo.fr> <04f1c7f1.6e6b1dbb@usw-ex0103-019.remarq.com> X-Priority: 3 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: news@uq.edu.au X-Trace: bunyip.cc.uq.edu.au 946296911 25010 203.100.2.3 (27 Dec 1999 12:15:11 GMT) Organization: University of Queensland X-MSMail-Priority: Normal NNTP-Posting-Date: 27 Dec 1999 12:15:11 GMT Newsgroups: comp.lang.basic.visual.misc,borland.public.turbopascal,comp.lang.basic.visual,comp.lang.pascal.ansi-iso,comp.lang.pascal.borland,comp.lang.pascal.misc,comp.os.ms-windows.programmer.misc