home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / programm / misc / 1559 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.7 KB

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