I visited a Borland help site, and over the past few days have reached the conclusion that some of the Palm OS dlls are using MFC functions. The dll that caused the problem is Sync20.dll, which is pretty central to building a conduit. Can anyone help with items 1 or 2 of the suggestions at the end? I've been advised as follows by other Borland users:
TEXT OF EXCHANGE ON MESSAGE BOARD: >I've tried the "impdef" executable on the two dll's that remained problematic. > The result is the following error message when I add the resulting two .def >files to the project: > >[Linker Error] sync20.def(4): Invalid character in .DEF file >[Linker Fatal Error] Fatal: Error processing .DEF file > > >LIBRARY ######.DLL > >EXPORTS > ??0CProfileClock@@[EMAIL PROTECTED]@Z @34 ; ??0CProfileClock@@[EMAIL > PROTECTED]@Z > ??4CProfileClock@@[EMAIL PROTECTED]@@Z @44 ; ??4CProfileClock@@[EMAIL > PROTECTED]@@Z > ??_FCProfileClock@@QAEXXZ @45 ; ??_FCProfileClock@@QAEXXZ > [EMAIL PROTECTED]@@[EMAIL PROTECTED] @46 ; [EMAIL PROTECTED]@@[EMAIL > PROTECTED] > [EMAIL PROTECTED]@@[EMAIL PROTECTED] @47 ; [EMAIL PROTECTED]@@[EMAIL > PROTECTED] > [EMAIL PROTECTED]@@[EMAIL PROTECTED] @48 ; [EMAIL PROTECTED]@@[EMAIL > PROTECTED] > [EMAIL PROTECTED]@@[EMAIL PROTECTED] @49 ; [EMAIL PROTECTED]@@[EMAIL > PROTECTED] > [EMAIL PROTECTED]@@[EMAIL PROTECTED] @50 ; [EMAIL PROTECTED]@@[EMAIL > PROTECTED] > > >Could this be the cause of the earlier linker problem described below? > >Any idea how to deal with this? Those are mangled names of exported class functions. Probably of MFC-based VC++ classes. If that DLL does export C++ functions, and it was created using Visual C++, then you cannot use it as is. So, what can you do? 1) Get the source code, and build it using BCB. 2) Assuming no source ... use VC++ to create a DLL that exports standard __stdcall functions, ones that are _not_ C++ functions, but rather C ones. 3) Write your program using VC++. Thanks. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
