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

  1. Path: sparky!uunet!pipex!unipalm!uknet!yorkohm!minster!simon
  2. From: simon@minster.york.ac.uk
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: VB and DLLs
  5. Message-ID: <714775403.6954@minster.york.ac.uk>
  6. Date: 25 Aug 92 20:43:23 GMT
  7. Organization: Department of Computer Science, University of York, England
  8. Lines: 30
  9. X-Newsreader: Tin 1.1 PL5
  10.  
  11. I'm trying to get a Visual Basic application to talk to a DLL,
  12. with a conspicuous lack of success.
  13.  
  14. The original version of the DLL was written using Zortech C++,
  15. which I gather gets its start-up code wrong.  However, re-compiling
  16. it using Microsoft C7 doesn't seem to have solved the problem,
  17. and I'm beginning to suspect flawed understanding :-)
  18.  
  19. The perplexing thing is that the application works fine when
  20. it's run from within the VB environment.  When I "Make .EXE",
  21. and run it, however, I get a dialogue box saying "Error in loading
  22. DLL."
  23.  
  24. I *know* it must be possible, as there are demonstration programs
  25. out there which run with their own DLLs.  If anyone's got any good
  26. ideas - preferably with source code they could let me have to see
  27. where I'm going wrong - I'd be grateful.
  28.  
  29. Thanks in advance,
  30.  
  31.  
  32. -- Si
  33.  
  34. --------------------------------------------------------------------
  35. Simon A. Dobson
  36.  
  37. Dept. of computer science, University of York, Heslington, York, UK.
  38. simon@minster.york.ac.uk                            (+44 904) 433378
  39. --------------------------------------------------------------------
  40.             "There must be more to being a talking dog than this..."
  41.