More info:

PAL_RegisterLibrary is failing in ffitest.cpp.

PAL_RegisterLibrary calls LoadLibraryW, which calls WideCharToMultiByte

CODEPAGECPToCFStringEncoding fails within WideCharToMultiByte. On the MAC
the code page that is handed to WideCharToMultiByte is CP_ACP (0).

    cfEncoding = CODEPAGECPToCFStringEncoding(CodePage);
    if (cfEncoding == kCFStringEncodingInvalidId)
    {
        ERROR( "This code page is not in the system.\n" );
        SetLastError(ERROR_INVALID_PARAMETER);
        goto EXIT;
    }

CODEPAGECPToCFStringEncoding searches through the CP_TO_NATIVE_TABLE array
for the codepage and doesn't find it.

Any Ideas? Why would LoadLibraryW hard code a codepage that doesn't exist?

Rob

Reply via email to