Home > Back-end >  How to judge two memory DC equal
How to judge two memory DC equal

Time:10-12

Only know the source memory device context (DC) handle,

Handle to target the picture of the loaded from a file,

Excuse me, how to determine the source target of images and a DC DC exactly equal,

Before see by comparing memory,

But the source DC picture memory address is what? Where is the size to get?

Thank you very much ~!

CodePudding user response:

Read in the stream, a CompareMem Delphi

CodePudding user response:

Sorry to trouble you with something specific code in how to read the stream?

What kind of statement or API?

CodePudding user response:

No image "DC what memory address" this statement

Can be get by DC DC displayed on the content, the premise is the DC must be drawn into things, that is to say it to the DC's form to see,
Other pictures must know its dimensions shown on the DC location information, and then to locate in the image above the rect, otherwise can only access all the content on the DC, so the DC's form shows the image must fill the entire window,

CodePudding user response:

Under the specific reference to the
http://blog.csdn.net/qyxqyxqyx/article/details/8805203
  • Related