Troudeloup
asked on
[c++] is it possible to do this, but compile it mingw?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
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.
ASKER
how do I use windows sdk with mingw?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok there are two leads:
windows SDK + mingw (is that right? )
gnu.ocr + mingw
windows SDK + mingw (is that right? )
gnu.ocr + mingw
ASKER
oh i wish jaime_olivares is still reading;
i wish i can get confirmation of this
windows SDK + mingw
i wish i can get confirmation of this
windows SDK + mingw
ASKER
gun.ocrad has one member on the dev team and the software version of 0.10 ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
is windows SDK tied with visual studio?
ASKER
i am not sure if I can use windows sdk with gcc,
ASKER
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
is it a comment on
windows SDK + mingw (is that right? )
gnu.ocr + mingw
or this
windows SDK + mingw
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en
is sp1 sdk ok to use on sp2?
is sp1 sdk ok to use on sp2?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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 :)
ok :)
ASKER
oh another question:
if I download visual studio 2008 express , do I need to download windows sdk?
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!
ASKER
can you suggust a small code that you know requires the sdk?
i ll try it on express
i ll try it on express
ASKER
yeah, lol
I just started installing it and it stated it was installing SDK headers!
ASKER
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.
ASKER
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)
now I read
Microsoft windows sdk for visual studio 2008 headers and libraries (x86)
Indeed :)
ASKER