Path release issue in GDI

Updated on technology 2024-02-09
9 answers
  1. Anonymous users2024-02-05

    Generally, MFC class objects do not need to be released, and the class has been released in the destructor, so don't worry about this.

    However, if you don't use MFC class objects, but the objects created by WinAPI, most of them need to be released, and the specific ways are different, you can go to the description of the relevant functions in MSDN.

  2. Anonymous users2024-02-04

    You said that those are all about GDI drawing, and the important thing for these is to save the resources before drawing, and generally pass.

    selectObject() selects and restores the GDI device, so that your next drawing does not affect your original effect.

  3. Anonymous users2024-02-03

    Find your **directory, and then attribute -> security to give IIS User user write permissions, I hope it can help you!

  4. Anonymous users2024-02-02

    What is the client environment? It should be an XP version or higher. Win2K does not have a GDI+ library class.

    Could that be because of the browser? Will it be wrong to open it with IE8 or Firefox? Will there be a prompt to install the released ActiveX on the client?

  5. Anonymous users2024-02-01

    Draw the rest of the content you want to keep on the bitmap first.

    The next time you draw, clear all the contents, and then redraw the contents of the bitmap.

  6. Anonymous users2024-01-31

    The first one is basically like this.,The second version has been solved.,If you're not familiar with it, it's best to exclude Warcraft.,The third-> right-click chrome shortcut—> attributes-> target addition"Spaces"-single-process

  7. Anonymous users2024-01-30

    Copy the required support library to the same directory as the exe or the system directory.

  8. Anonymous users2024-01-29

    c is the escrow mechanism.

    Whether you create an object or declare a variable, you have to allocate memory, but the memory is determined by the system to no longer use the memory. For example, if I create an object at the beginning of a method, the system may think that when the method ends, there will be memory. But I may only use it in the first small piece of **, so that using can guarantee that the system will free up memory at the end of using.

    That's what it means.

  9. Anonymous users2024-01-28

    It's automatically dispose. Using here means instantiating pen bluepen = new pen(, 1), and then using the curly braces inside the ** to automatically call dispose at the end of the execution.

Related questions
13 answers2024-02-09

You save the path in an XML and read it out the next time you start it.

24 answers2024-02-09

My own solution is to listen to songs, eat and eat when I am irritable, and also return to KTV to sing and vent, and occasionally find a place to be quiet, go out to see the scenery, take a walk, etc., these can be.

15 answers2024-02-09

This problem may also be like this, you must first understand that the "English" entered by the Chinese input method is not English, the software recognition is Chinese letters, and Chinese cannot use the English text library; If you want to use the English font, please correspond to English (that is, English entered in American English). >>>More

4 answers2024-02-09

Generally refers to indexing. You don't have to.

9 answers2024-02-09

This situation is basically unsolvable.,I played at that time with a monkey.,Became the lord of the country.,The main order is to attack the Saga family.,As a result, Oda this guy has a problem.,He sent out the army.,As a result, he fought for nearly a year and a half.,It's easy for him to retreat.,Kill the soldiers.,And was preempted by the wise two or five cubs.,Helpless.。