Subj : Re: Sharing code between BC5.02 and BCB5 To : borland.public.cpp.borlandcpp From : "Dennis Jones" Date : Wed Mar 03 2004 12:29 pm "Dennis Jones" wrote in message news:40463ab4@newsgroups.borland.com... > > I haven't > tried it yet, but I think by modifiying the rest of the old headers to > #include the new headers and the appropriate typedef's will resolve the > problem. Well, maybe not...here is a case where there are no structure differences, but I still get an error: From the exporting DLL: Exports from maint.dll 2 exported name(s), 2 export addresse(s). Ordinal base is 1. Sorted by Name: RVA Ord. Hint Name -------- ---- ---- ---- 000011D2 1 0000 MaintValues(HWND__ *, MaintType_t, bool, short) 0000381C 2 0001 __DebuggerHookData From the importing DLL: Error: Unresolved external 'MaintValues(HWND__ *, MaintType_t, bool, short)' They look identical to me. MaintType_t is a typedef'd enum: typedef enum { // blah, blah, blah } MaintType_t; ....and both the exporting and importing DLL's #include the same header file with the enum's typedef. Strange. - Dennis .