|
There's no time to think! In fairness, he did miss out the magic "urgentz" word...
Iain.
|
|
|
|
|
Please elaborate.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
lets take an example.
i have a image named as file1 in which i have written "CAT" and second image named as file2 in which written as "CAT".
now i was firstly using getpixel for both the images at same position for comparing them, so using getpixel in fixed position lead to answer that "images are same"
Now i want this same images to be in different places and then want to compare them and get the output "Images are same"
So i can i do this work?
Kindly help me.
Your Sincerely
Kaushal Kishore Sharma
|
|
|
|
|
My suspicion would be that you would have to extract the pixel data for each image, and each line, as if they were strings of binary data (fixed length strings of RGB data), and then pretend to do a file compare (like comparing two text files only you would be doing this with binary fuxed length strings) (this would probably not work if the picture scales were different). You might then be able to find the image of "CAT" in file 1 as a subimage of file 2.
Dave.
|
|
|
|
|
|
Let's suppose the first image is at {0, 0} and the second one is at {100, 200} then you may still use some kind of getpixel to compare the images, simply offsetting the arguments, i.e. (pseudocode):
getpixel(x,y) == getpixel(100 + x, 200 + y)
However I suspect you have no clear idea about what you actually intend to do.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Does this[^] help you?
You may be right
I may be crazy
-- Billy Joel --
Within you lies the power for good - Use it!
|
|
|
|
|
I noticed my GDI+ graphics intensive application draws/refreshes faster on my old Pentium 4 3Ghz 512 MB RAM, Intel Extreme Graphics card than it does on my new Core 2 Duo 3Ghz 4GB RAM, ATI Radeon 256MB Graphics Card.
I have the (VC++ 2003) optimization settings set for Pentium 4 or greater.
Are the newer Core 2 processors from a Pentium 3 or Pentium 4 core? (I've never been really sure how set the optimization settings for Pentium M class and Core 2 class machines)
Also, where are the target processor settings in Visual C++ 2008?
|
|
|
|
|
I don't know, if it's about graphics I'd look at the video card as well.
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal
|
|
|
|
|
Hi All,
Please tell how to read data from a csv file in C++ MFC dialog based application and display in excel format.
Thank You,
SeshaSridhar
|
|
|
|
|
|
|
You can use Excel's type library to open the .csv file, or any other file, and it will be displayed automatically. Adding data to other cells is also possible.
You can also open the file via Excel's ODBC data source.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
The task was to send the test messages from PC to the mobile through a serial port by simulating the modem using AT commands. I knew about the AT commands.
for example :
AT+CPMS Preferred message storage
AT+CMGF Message format (we use format 0: PDU)
AT+CSCA Service center address
AT+CNMI New message indications to TE
AT+CMGL List messages
AT+CMGR Read message
AT+CMGS Send message
AT+CMGD Delete message
However i never worked on them. I would request you to send me some example program regarding this and also let me know how to approach such kind of programs.
Thanks& Regards,
Tangirala
modified on Tuesday, November 4, 2008 8:40 AM
|
|
|
|
|
Do you know CodeProject has a article search engine [^]?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Does this[^] help?
Regards,
Sandip.
|
|
|
|
|
Hi to all,
How to implement Proxy Server in C++ or C#?
How to test it?
Thanks & Regards,
Aniket A. Salunkhe
|
|
|
|
|
Aniket Salunkhe wrote: How to implement Proxy Server in C++ or C#?
Programming, I suppose.
Aniket Salunkhe wrote: How to test it?
Like other software projects, you know, unit testing,...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Thanks for your reply.
CPallini wrote: Aniket Salunkhe wrote:
How to test it?
Is there any algorithm to implement Proxy Server? or What steps to be followed for it?
As we have to follow some steps for Server-Client Socket Programming (like Bind, Listen, Accept, ...)
CPallini wrote: Aniket Salunkhe wrote:
How to test it?
Where to install it? on Server or on Client? & How to check is it working properly or not?
|
|
|
|
|
Your questions are too broad and vague (for instance, what kind of Proxy Server are you talking about? Maybe a Web one, but you didn't specify. Moreover if you're going to build such a rather complex project then you should have already some idea about the algorythm) hence the the silly answers.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi,
I would like to learn about services and searched for the articles. But none of them were useful to me. Some of the articles are in fact nice, but not for a beginner like me . I would like to know about 1) what services are 2) where they can be used 3) how to use ATL Com AppWizard to create the service using Service(Exe) server type 4) A simple example (almost all the ones I have gone through today are looking like small projects, making the things more complicated for me to understand)
Could anyone post some nice article regarding this?
Thanks in advance.
Taruni
|
|
|
|
|
Have a look at this nice article[^] that Nish has written.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
i created a modeless dialog and added 3 pages on that
when i click first page and then any other window application hangs
i am unable to find properly where is the problem
|
|
|
|
|
Make sure that all the page dialogs are having both DS_CONTROL and WS_EX_CONTROLPARENT styles.
|
|
|
|
|
ok is there any function to activate the dialog
|
|
|
|