ok for some reason I am totally lost on this issues and been looking for an hour without any help.
in dev c++ I keep getting this error and it points to the line in
bold:
"18 H:\Projects\Classic Lockdown\main.cpp expected constructor, destructor, or type conversion before '(' token"
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#define INFO_BUFFER_SIZE 32767
#include "iostream"
using namespace std;
#include <windows.h>
#include <gdiplus.h>
//#include <GdiPlusGetEncoderClsid.h>
#include <stdio.h>
HINSTANCE G_HINS_hInstance = 0;
#include "sstream"
#include "..\PWS_DEV\PWS_DEV.h"
#pragma comment( lib, "gdiplus" )
using namespace Gdiplus;
//GdiplusStartupInput gdiplusStartupInput;
ULONG_PTR gdiplusToken;
Gdiplus::GdiplusStartupInput gdiplusStartupInput;
Gdiplus::GdiplusStartup(&m_gdiplusToken, &gdiplusStartupInput,NULL);
Bitmap *gdiBitmap = 0;
#include "procedures.h"
|
why is it doing this?
I also wanted to see if I tried this instead
...
Gdiplus::GdiplusStartup = "";
...
and then I get this error instead:
"18 H:\Projects\Classic Lockdown\main.cpp expected constructor, destructor, or type conversion before '=' token"
not matter what I used with GdiplusStartup it just keeps saying that over and over. Its like it doesn't want anything to do with GdiplusStartup
I am very stuck on this. Can some one please help me out with this?
if you need any more info about this or the project i'm working on, please let me know.
Thank you