In message <369837EB.5A2F42C6@mindless.com>, Tim Lunn writes >Hi, > I am trying to use a 32-bit dll to access the parralell port. My >problem is that in trying to import the fucntions into my c++ program >(using borland c 4.52) i get a message saying "unreferenced module >'main' in 'c0nt.asm'". also i get this same message with three >different 32-bit i/o dlls. > >I assume this means there is a problem in the way i am including the >library into my project. (i generated a .def and .lib file) and added it >as a node on the project tree > >Has anyone used a 32-bit dll with borland C++ and can help ?? I haven't used one with C++, only 32-bit Delphi, but the port driver used comes with examples for C++, so you may find that easier to use. There's a link to download it from my website on the software pages. -- Nigel. /--------------------------------------------------------------\ | Nigel Goodwin | Internet : nigelg@lpilsley.demon.co.uk | | Lower Pilsley | Web Page : http://www.lpilsley.demon.co.uk | | Chesterfield | Official site for Shin Ki Ju Jitsu | | England | | \--------------------------------------------------------------/