|
I'm getting an unresolved external for L_SaveICCProfile in LEADTOOLS v15 (unresolved external symbol _L_SaveICCProfileA@12). I did a dumpbin on ltclr_u.lib and found that this function is different than the others (name mangled?). Here are some of the functions from the dump: 50 ?L_SaveICCProfileA@@YGHPADPAU_ICCPROFILEEXT@@PAU_SAVEFILEOPTIONA@@@Z (int __stdcall L_SaveICCProfileA(char *,struct _ICCPROFILEEXT *,struct _SAVEFILEOPTIONA *)) 1 _L_2bFixed2bNumberToDouble@4 2 _L_ClrConvert@28 3 _L_ClrConvertDirect@32 4 _L_ClrConvertDirectToBitmap@36 5 _L_ClrConvertToBitmap@32
If I compile the code for Unicode, it has no problem linking. It's symbol looks like this: 30 _L_SaveICCProfile@12
It's easy to see why it is not finding the ASCII version.
What am I doing wrong?
|