Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!ceres.physics.uiowa.edu!iowasp.physics.uiowa.edu!ns-mx!ccad.uiowa.edu!cadsi Newsgroups: comp.windows.ms.programmer Subject: DLL's, _export and C++ classes in BC++ Message-ID: <1991May14.032124.28235@ccad.uiowa.edu> From: cadsi@ccad.uiowa.edu (CADSI) Date: 14 May 91 03:21:24 GMT Distribution: comp.windows.ms.programmer,comp.os.msdos.programmer Organization: CAD-Research, U. of Iowa, Iowa City, Iowa Lines: 14 OK, I have RTFM'ed (multiple times) BC++ and the MS-SDK (don't ask me why as it doesn't know C++). Has ANYONE successfully _export'ed a class from a DLL? I _export the thing in my DLL, declare it as huge in the regular Windows code. Then I create an object of that class in the Windows WinMain function. No matter what I do, tlink always says the methods of the _export'ed class are undefined externals. Yes, I added the dll.lib to my link command line. Anybody? |----------------------------------------------------------------------------| |Tom Hite | The views expressed by me | |Manager, Product development | are mine, not necessarily | |CADSI (Computer Aided Design Software Inc. | the views of CADSI. | |----------------------------------------------------------------------------|