Making desired black pixel as center of your search and then exploring the pixels around, if not found increasing in 1 your search radius and try again, when you have a hit in white, getting its coordinates and making the modul of the vector from point A to B to get the distance.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.
i have dialog based application in which i add menu form menu resource now i want to set font name and background colour of menu items but it never get reflected.please anyone tell me how to change the font name and background colour of menu in dialog based application in vc++,mfc
I have an application that is loading a iso file. iso file has many packages to complete the application but it takes time to open an application because everytime it load all packages. So I want to take snapshot like thing So that i can resume the application from where I left it before.
How COM Object gets removed from the memory?
Suppose there are 4 clients using our COM Component, One by One they goes out of scope ..At which point the component knows that it has to unload from memory.? Once the COM Object's reference count reached to zero then at this point which mechanism works to remove it from the memory.
Once the COM Object's reference count reached to zero then at this point which mechanism works to remove it from the memory.
It is a responsibility of the COM object developer. When the reference count goes to zero then there are no references pending on the object (probably there aren't...: the reference count is shared mechanism of both the COM server and the client) and the object may choose to free its COM resources (as it usually 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