2010/11/17 Valeriy Krizhevich <[email protected]>:
> Hello everybody!
>
> I am compiling my project on Windows 2000 Professional (32-bit) in
> Code::Blocks IDE.
>
> But when I try to compile the same or any other project with
> MinGW-w64, both cc1.exe and cc1plus.exe show me message box "Procedure
> entry point ___lc_codepage_func could not be located in the dynamic
> link library msvcrt.dll".
>
> I have examined msvcrt.dll in my %SYSTEMROOT%\system32 using
> LoadLibrary and GetProcAddress functions. It seems, that my version of
> this dll does not export ___lc_codepage_func.
>
> I shall test it on 32-bit Windows XP Pro.
>
>
> Best regards,
>
> VK
>

> Maybe we should do what mingw.org does, at least for w32:
> http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/mingwex/mb_wc_common.h?cvsroot=src
> (see latest revision there).  We used ___lc_codepage_func() because
> it was the cleaner solution by comparison to what mingw does.
>
> --
> O.S.

>Hmm, I don't think we should remove it. It would be better to provide
>this function, which internally forwards to msvcrt - if function is
>present - and otherwise simply return ACP_CP as default.
>
>Cheers,
>Kai

Thank you both for prompt response.

I just have installed MinGW-w64 on my Windows XP Pro 32-bit. Here
msvcrt.dll exports this function and compilers don't shows the
mentioned message box and work well.

But I am too new to WinAPI programming to understand what is better
(or even what is being discussed).

Waiting for some fix or workaround,

thank you in advance,

VK

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to