i tryed to start using Visual Studio 2008 (professional edition) instead of dev c++ but got problems right away.
when starting a new project it starts out with a complete window that works running, but when i try change or add even the smallest thing its "error everywhere". the weirdest thing is that dev will run everything i write without problems, from the simplest msgbox
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
MessageBox(NULL, "Hello Codecall", "Title", MB_OK);
return 0;
}
or when i start out from the premade code i let me change Background color adding menus, popupobjects without problem, and visual just say "you cant do that" over and over again.have looked at guides especially for VS, but still same problem.
and no i havent forgotten the header imports at top:
#include "stdafx.h"
#include "Swin32.h"
#include <windows.h>
need sugestions/guides on what vs does accept and maybe a simple example of a program thats vs accepts.
Any help is appreciated thanks
Acw


Sign In
Create Account


Back to top









