int WINAPI WinMain(HINSTANCE _hInst,HINSTANCE _hPrevInst,char* _cmdParam,int _cmdShow)
{
std::cout << "HI" << std::endl;
return 0;
}
Type: Posts; User: xximranxx
int WINAPI WinMain(HINSTANCE _hInst,HINSTANCE _hPrevInst,char* _cmdParam,int _cmdShow)
{
std::cout << "HI" << std::endl;
return 0;
}
example could be just like yours!!
well, i cant use a int main()
i am using int WinMain()
...
i am writing a program withh c++ using winapi, mingw using option -mwindows to link
when i run the program in my dev.environment (eclipse), 'cout' work.
when i run the program .exe file in...
so what can you suggest to do to detect the edges?
hi
the image is computer drawn, and the size and orientation are fixed.
i have already done it by using certain pixels.
i would like to do this a little more generally though, just incase the...
hi
i wanted to ask if anyones anything about image recognition.
e.g. i want to take the screenshot of a game board, where dice are displayed
then this code should given the bitmap recognize...
thanks alot
hi
im writing a windows api using mingw with -mwindows and i use eclipse as my editor/compiler/debugger.
in my code, i use "cout" to print messages.
when using eclipse, the messages print on...
ok ok
i got it!!
thanks a lot
i tried the redefinition.
first of all, it gives a warning that _WIN32_WINNT is being redefined
and secondly, it still doesnt compile
p.s.: you are right, i am using mingw (eclipse)
hi
i am trying to simulate keyboard and mouse events on windows xp, using c++/mfc.
i have included Windows.h in my code and compile/link with -mwindows.
when trying to use the structure...
hi.
i am trying to get the contents of a visible (in the sense of WM_VISIBLE) but hidden (meaning blocked by other windows) window.
i have tried the following code, but it only produces a...