home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / mswindo / programm / misc / 1377 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.6 KB  |  47 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!usc!cs.utexas.edu!sun-barr!ames!pacbell.com!well!johnrp
  3. From: johnrp@well.sf.ca.us (John Panzer)
  4. Subject: Re: Linking OWL as a DLL?
  5. Message-ID: <Bt6505.Myv@well.sf.ca.us>
  6. Sender: news@well.sf.ca.us
  7. Organization: Whole Earth 'Lectronic Link
  8. References: <c24mPB1w165w@pdaxs.techbook.com>
  9. Date: Tue, 18 Aug 1992 07:33:41 GMT
  10. Lines: 35
  11.  
  12. In article <c24mPB1w165w@pdaxs.techbook.com> nsilva@pdaxs.techbook.com (nsilva) writes:
  13. >
  14. >What is the proper way to link my TCW application with OWL.DLL?
  15. >
  16. >I've followed the directions in the Fine Manual: (a) define _CLASSDLL,
  17. >(b) link in the large memory model, (c) use smart callbacks, and
  18. >(d) add OWL.LIB, TCLASSDLL.LIB, and CRTLDLL.LIB to the project file.
  19. >But I end up with dozens of undefined symbols, such as:
  20. >
  21. >Linker Error: Undefined symbol TWindow::TWindow(TWindowsObject...
  22. >Linker Error: Undefined symbol Object::operator new(unsigned i...
  23. >Linker Error: Undefined symbol TWindow::GetWindowClass(tagWNDC...
  24. >Linker Error: Undefined symbol TApplication::~TApplication() i...
  25. >etc.
  26. >etc.
  27. >etc.
  28. >
  29. >
  30. >BTW, I'm using TCW 3.0, and Windows 3.1 (yes, I'm going to upgrade
  31. >soon).
  32. >
  33. >Nate
  34. >nsilva@pdaxs.techbook.com
  35.  
  36. You might want to try #defining _RTLDLL as well (I _know_ this is
  37. required if you want to link in Borland's regular run-time DLL
  38. library).  It might be needed for linking in the OWL DLL as well.
  39.  
  40. I'm posting this because it took a call to Borland to find out
  41. about _RTLDLL; it's documented only in the chapter on the IDE. 
  42. Hopefully this will save somebody else some time and stress.
  43.  
  44. John Panzer
  45. johnrp@well.sf.ca.us
  46.  
  47.