Hi there)
Guys , as I understand - this is c++ code =
int WINAPI WinMain(HINSTANCE hInst,HINSTANCE,LPSTR,int ss) {
/* создаем и регистрируем класс главного окна */
WNDCLASS wc;
wc.style=0;
wc.lpfnWndProc=MainWinProc;
wc.cbClsExtra=wc.cbWndExtra=0;
wc.hInstance=hInst;
wc.hIcon=NULL;
wc.hCursor=NULL;
wc.hbrBackground=(HBRUSH)(COLOR_WINDOW+1);
wc.lpszMenuName=NULL;
wc.lpszClassName="Example 4 MainWnd Class";
if (!RegisterClass(&wc)) return FALSE;
but tell me please - how can I use realize the same code in clear C ?
if you know some good article - please give link )
big thanks in advance)