Check out XenoCorp.Net's FTP site !! Over 10 GB of gaming files for your downloading pleasure: ftp.xenocorp.net
0 Members and 1 Guest are viewing this topic.
Quote:#include < windows.h >#include "sysmets.h"LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPRAM);int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPreInstance, PSTR szCmdLine, int iCmdLine){ static TCHAR szAppName[]=TEXT9"SysMets1"); HWND hwnd; MSG msg; WNDCLASS wndclass; wndclass.style =CS_HREDRAW | CS_VREDRAW; wndclass.lpfnWndProc=WndProc; wndclass.cbClsExtra =0; wndclass.cbWndExtra =0;Within that code there is a mistake. Anyone care to call it. Yes, the code is incompletre, but that isn't the error. Best,Jerry
Quote:static TCHAR szAppName[]=TEXT9"SysMets1");Does there need to be a ( since there's a ); at the end?Just a wild guess.
Quote: int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPreInstance, PSTR szCmdLine, int iCmdLine) missing a semi-colon at the end?
Quote:Quote:#include < windows.h >#include "sysmets.h"LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPRAM);int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPreInstance, PSTR szCmdLine, int iCmdLine){ static TCHAR szAppName[]=TEXT9"SysMets1"); HWND hwnd; MSG msg; WNDCLASS wndclass; wndclass.style =CS_HREDRAW | CS_VREDRAW; wndclass.lpfnWndProc=WndProc; wndclass.cbClsExtra =0; wndclass.cbWndExtra =0;Within that code there is a mistake. Anyone care to call it. Yes, the code is incompletre, but that isn't the error. Best,Jerry Got it. Of course. It was easy. You've used C++ (or some bastard variant). Always a big mistake that.