Thanks I wasn't aware of that setting, seems logical to do that.
Seems it solved it for compiler.
But I get errors when linking. :?
I tried to manually include needed libs for linker.
gdi kernel user and such...
It still won't link...
I copied a project file, generated by the smartwin wizard.
I then replaced the original filename in the project to the Canvas.cpp (path and all of course)
Opened that project, and it compiles and runs fine.
So I guess it's OK, I just hoped there was an easier way to do it.
Btw. I have to choose build and run 2 times, because program dosn't run first time, but for some reason it does second time.
Seems the "error" instantiated from here, is causing program not to be run.
But it's not an error is it?
( I'm new to C++ ) :shock: