home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!utcsri!utgpu!attcan!telly!problem!torsqnt!hlpell
- From: hlpell@sequent.com (Howard Pell)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Re: VB and DLLs
- Message-ID: <U=T.714859322@cansqnt>
- Date: 26 Aug 92 20:02:02 GMT
- References: <714775403.6954@minster.york.ac.uk>
- Sender: usenet@torsqnt.tor.sequent.com (Usenet News Owner)
- Organization: Sequent Computer Systems (Canada) Ltd.
- Lines: 35
- Nntp-Posting-Host: cansqnt.tor.sequent.com
-
- simon@minster.york.ac.uk writes:
-
- I don't want to insult you, but is your DLL in a directory that is in your
- PATH variable?
-
- >I'm trying to get a Visual Basic application to talk to a DLL,
- >with a conspicuous lack of success.
-
- >The original version of the DLL was written using Zortech C++,
- >which I gather gets its start-up code wrong. However, re-compiling
- >it using Microsoft C7 doesn't seem to have solved the problem,
- >and I'm beginning to suspect flawed understanding :-)
-
- >The perplexing thing is that the application works fine when
- >it's run from within the VB environment. When I "Make .EXE",
- >and run it, however, I get a dialogue box saying "Error in loading
- >DLL."
-
- >I *know* it must be possible, as there are demonstration programs
- >out there which run with their own DLLs. If anyone's got any good
- >ideas - preferably with source code they could let me have to see
- >where I'm going wrong - I'd be grateful.
-
- >Thanks in advance,
-
-
- >-- Si
-
- >--------------------------------------------------------------------
- >Simon A. Dobson
-
- >Dept. of computer science, University of York, Heslington, York, UK.
- >simon@minster.york.ac.uk (+44 904) 433378
- >--------------------------------------------------------------------
- > "There must be more to being a talking dog than this..."
-