I am fairly new to C++ and am trying to create an entry point for my project in Visual Studio 2015. However, I keep receiving an error that the "identifier " " is undefined. Here is my code:
#include "formMain.h"
#include <Windows.h>
using namespace std;
int _stdcall WinMain(HINSTANCE hInst, HINSTANCE hPInst, LPSTR lpCmdLine, int nCmdShow)
{
formMain frm;
frm.ShowDialog();
return 0;
}
The error is referring to the section "formMain frm;"
, where it says identifier "formMain" is undefined.
Thank you in advance