I tried defining _CONVERSION_DONT_USE_THREAD_LOCALE but it does not
apply to MFC DLL. I do not want to re-compile the DLL and redistribute it.
I tried changing the pointer g_pfnGetThreadACP (atlconv.h) to point to a
routine returning CP_ACP. However, it seems my program contains a
different variable g_pfnGetThreadACP than the one MFC uses. Maybe
there's a way to link to MFC variable?
From programming point of view, is there a way to change CP_THREAD_ACP?
I mean changing the "ANSI code page for the current thread"? I checked
SetThreadLocale() and it seems to do much more than I need. In fact, too
much. I only need to change CP_THREAD_ACP and not the rest of the locale
settings.
Thanks,
Reuven Nisser
--
Mihai Nita [Microsoft MVP, Windows - SDK]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email