Hi Pelle,
I'm not able to get both the ansi and wide version of printf to work correctly in the same app. The following reduced sample, performs as expected with MSVC (6, 7,
and BCC 5.5.1, but produces unexpected results with Pelles C 4.00.50 (on Win XP Pro SP-2):
//--------------------------------------------//
#include <stdio.h>
#include <wchar.h>
int main( int argc, char *argv[] )
{
printf( "Hello, world 1!\n" );
wprintf( L"Hello, world 2!\n" );
return 0;
}
//--------------------------------------------//
1. Is there anyway to allow mixed usage of ansi and wide version in same exe?
2. How may I obtain the sources of the latest Pelles C?
Thanks in advance,
Ron