|
Well, I think you need to post some code.
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.
[my articles]
|
|
|
|
|
Hi
I hvae a .bmp file . Now I want to show the image on dc using
StretchDIBits() function . how can i get its
CONST VOID *lpBits, // bitmap bits
CONST BITMAPINFO *lpBitsInfo, // bitmap data
parameters from .bmp file
Trioum
|
|
|
|
|
|
Why don't you use LoadImage /StretchBlt stuff?
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.
[my articles]
|
|
|
|
|
i have created a menu item and this menu has 3 sub menus. but all the 3 are disabled. how do i enable this menus?
|
|
|
|
|
Did you have declare any event for them?
|
|
|
|
|
ya i created an event on them.. once geting active when i click on the screen.
|
|
|
|
|
How did you make sub menus?
|
|
|
|
|
checked the popup check box and added the menus. i guess this is the way to make pop up menus.
|
|
|
|
|
Normally if you have no function for the menu they will be inactive. Do you have a function for the Menu?
Wamuti: Any man can be an island, but islands to need water around them!
Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.
|
|
|
|
|
Yeah s(he) declare functions for menus previous.
|
|
|
|
|
Okay. Then try repeating that action of putting menues. The last time that happened to me i remade the menues and put handlers for them and it worked. Success.
Wamuti: Any man can be an island, but islands to need water around them!
Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.
|
|
|
|
|
|
Did you make it visual or with write the code?
|
|
|
|
|
Sorry i've been away for a while. Mine i made it with visual. Then added events. I'm still going to be away for quite some time i'm just hoping i can help you more.
Wamuti: Any man can be an island, but islands to need water around them!
Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.
|
|
|
|
|
Of course it was not my question.
|
|
|
|
|
I almost forgot. Anyway, i knew that
Wamuti: Any man can be an island, but islands to need water around them!
Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.
|
|
|
|
|
|
Hello everyone,
I can understand hard page fault is we need to load from page file into working set (RAM). But what is a soft page fault? I am confused.
thanks in advance,
George
|
|
|
|
|
|
Thanks Hamid,
Great links. My question is more about soft page fault. As mentioned in the links,
--------------------
If a process requests a page in memory and the system cannot find the page at the requested location, a page fault occurs. If the page is elsewhere in memory, the fault is a soft page fault.
--------------------
What means can not find a page at specified address but the page is located somewhere in the memory? I am confused. Could you provide more information please?
regards,
George
|
|
|
|
|
On this link you can find your answer of course I think your questions are dependent together(do you want to make a program ).
http://lwn.net/Articles/257209/[^]
|
|
|
|
|
Thanks Hamid,
Great link. Do you have any ideas what is soft page fault in your minds?
regards,
George
|
|
|
|
|
If you need to values of memory that its not on the Main memory that it usualy goes to place that its name is page pool,but if you want to have more info about it Page fault notes[^] good for you.
|
|
|
|
|
Thanks Hamid!
Great note! I read through is and do not understand what the 2 situations below mean when there is soft page fault. Could you give more information please?
1. wants to be zero (called ‘demand zero’ pages)
2. when a page is written to for the first time (‘copy on write’ pages)
regards,
George
|
|
|
|