#include <windows.h>
void main(){
MessageBox(0,"Hello World!","Info",0);
}
Is it simpler than the generic? An other routine is below:
#include <windows.h>
<windows.h>int WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow){ MessageBox(0,"Hello World!","Info",0); return 0; } From here, you get into the Windows API gate. } From here, you get into the Windows API gate. Many guys ask Microsoft dotNET Applications. That's it: #include <windows.h> #using <mscorlib.dll> WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow) What did U think? return 0; } From here, you get into the Windows API gate. } From here, you get into the Windows API gate. Many guys ask Microsoft dotNET Applications. That's it: #include <windows.h> #using <mscorlib.dll> WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow) What did U think?
#using <System.dll>
#using <System.Windows.Forms.dll>
{
System::Windows::Forms::Application::Run(new System::Windows::Forms::Form());
return 0;
}
#using <System.dll>
#using <System.Windows.Forms.dll>
{
System::Windows::Forms::Application::Run(new System::Windows::Forms::Form());
return 0;
}
MessageBox(0,"Hello World!","Info",0); return 0; } From here, you get into the Windows API gate. } From here, you get into the Windows API gate. Many guys ask Microsoft dotNET Applications. That's it: #include <windows.h> #using <mscorlib.dll> WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow) What did U think?
#using <System.dll>
#using <System.Windows.Forms.dll>
{
System::Windows::Forms::Application::Run(new System::Windows::Forms::Form());
return 0;
}
return 0; } From here, you get into the Windows API gate.
}
From here, you get into the Windows API gate.
Many guys ask Microsoft dotNET Applications. That's it:
#include <windows.h>
#using <mscorlib.dll>
#using <System.dll>
#using <System.Windows.Forms.dll>
WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow)
{
System::Windows::Forms::Application::Run(new System::Windows::Forms::Form());
return 0;
}
What did U think?