Wow, many thanks for the fast answer and for the very friendly welcoming on this great board! Thanxx!

Ok, i have following source (1k OGL framework)... due fact i am new to C/C++ i dont know the different of a C and C++ version of this source

Is there a big different to write the source for C or in C++? Afaik, one different is when working with COM like DX... in C++ i think, its something like -> ... and in c the codeline seems more complex without using ->
Now, when i find a source like this 1k OGL framework on the net and trying to work with Dev-C++ atm... What are the steps to get source (copy/paste) work? Open Dev-C++, creating a new Win32App Project (?) ... remove the auto created code and overwrite it with the copied source (?) ... (for the 1K OGL framework this seems to work for me in this case... but i am not sure if this way is correct)
1. Miss out the standard C library
2. Set lots of compiler flags to the right values
3. Pack the excutable.
1) What is this and how to do this?
2) Ok, the question is, what values are correct for Dev-C++ to get a ~2k exe? ^^
3) Ok, i know about packers/droppers... this part is no problem for me

Many thanks for trying to help me.... and sorry for some silly, possible basic questions ^^
Here is the source i use atm...
//
// Re-use granted as long as long as you give credit in
// either your demo or accompanying files please...(auld)
//
// Thanks go to Icehawk for WS_MAXIMIZE optimisation and the idea
// how to get rid of Peekmessage
// The following code sets up an Opengl window under win32
// It is double buffered, hides the mouse, has 32 bits of depth/Z.
// The main loop includes a clear for depth and color bits and
// a swapbuffers call for drawing.
// It exits when escape is pressed...
// Tested under XP.
//
/*
---------------------------------------------------
Visual C++ 2005 Express version
by Rbraz - 2006
1K FrameWork - 427 bytes
---------------------------------------------------
*/
#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>
int WINAPI WinMain (HINSTANCE hThisInstance,
HINSTANCE hPrevInstance,
LPSTR lpszArgument,
int nFunsterStil)
{
PIXELFORMATDESCRIPTOR pfd;
pfd.cColorBits = pfd.cDepthBits = 32;
pfd.dwFlags = PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER;
HDC hDC = GetDC ( CreateWindow("edit", 0,
WS_POPUP|WS_VISIBLE|WS_MAXIMIZE,
0, 0, 0 , 0, 0, 0, 0, 0) );
SetPixelFormat ( hDC, ChoosePixelFormat ( hDC, &pfd) , &pfd );
wglMakeCurrent ( hDC, wglCreateContext(hDC) );
ShowCursor(FALSE);
do {
glClear ( GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT );
SwapBuffers ( hDC );
} while ( !GetAsyncKeyState(VK_ESCAPE) );
ExitProcess(0);
return 0;
}