Link to home
Start Free TrialLog in
Avatar of Troudeloup
Troudeloup

asked on

[c++] is it possible to do this, but compile it mingw?

SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Troudeloup
Troudeloup

ASKER

or GNU compiler, to be more precise
i am trying to develop my own special purpose OCR,

so I am going one step at a time.
other people's project are nice, but I don't learn much by using them.

is it possible to do it with mingw?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
actually I think I misunderstood this :

from

jaime_olivares:

Once you have captured the screen in a bitmap represented by a HBITMAP handler, and selected it into an HDC context, you can extract each pixel with the GDI's GetPixel function:
http://msdn2.microsoft.com/en-us/library/ms532282.aspx



if you are in a Windows environment, you can use these functions in any Windows C++ compiler with Windows SDK, not only Microsoft's.
If you want to do this for other operating system, like Linux, then the answer is totally different. Capturing technique is different and bitmap object is different.
how do I use windows sdk with mingw?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ok there are two leads:

windows SDK + mingw (is that right? )
gnu.ocr + mingw


oh i wish jaime_olivares is still reading;

i wish i can get confirmation of this

windows SDK + mingw
gun.ocrad has one member on the dev team and the software version of 0.10 ?


SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
is windows SDK tied with visual studio?
i am not sure if I can use windows sdk with gcc,
Yes, either you go with a library or directly with the Windows SDK, that's the two choices you have


is it a comment on


windows SDK + mingw (is that right? )
gnu.ocr + mingw




or this

windows SDK + mingw

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
can you show me how to use windows SDK ?

first, what's the full name of the download?

I found thishttp://www.microsoft.com/downloads/results.aspx?pocId=C0037913-9E11-4A2D-8FD1-0BA441296CBC&freetext=windows%20sdk&DisplayLang=en
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ok, i'd have to ask some other questions about gcc and Vs
>> ok, i'd have to ask some other questions about gcc and Vs
ok :)
oh another question:


if I download visual studio 2008 express , do I need to download windows sdk?
Nope. I don't think so.
Oh hold on, the Express edition -- maybe!
can you suggust a small code that you know requires the sdk?

i ll try it on express
yeah, lol
I just started installing it and it stated it was installing SDK headers!
do you mean MSDN Express library for visual studio 2008?
VS 2008 Express states it is installing SDK headers during install Try it and see, if it doesn't install SDK just download it.
oh yeah I was at the 3 boxes at last post


now I read


Microsoft windows sdk for visual studio 2008 headers and libraries (x86)









Indeed :)