Has anyone out there made a windows application program that works?<br><br>I can compile, link and run consol programs<br>int main ()ok.<br><br>but<br>int WINAPI WinMain (.... // windows programs always cause a<br>page fault when I try to execute.<br><br>Does anyone know of some example source code that will work.<br>The source code I'm trying to compile does just fine with gcc from GNAT.<br><br>Any help would be appreciated.<br><br>Thanks