This works:
int main( int argc, char *argv[])
{
....
gtk_init(&argc, &argv);
....
But this doesn't:
int WINAPI WinMain (HINSTANCE p1, HINSTANCE p2, LPSTR argv, int argc) {
....
gtk_init(&argc, &argv);
....
Can someone point out what's wrong there?