|
I think I don't understand. The problem is that I want to avoid LoadLibrary() .
36. When you surround an army, leave an outlet free.
...
Do not press a desperate foe too hard.
SUN-TZU - Art of War
|
|
|
|
|
RomTibi wrote: The problem is that I want to avoid LoadLibrary().
Then you must link implicitly.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
I think I don't know the difference between implicit and explicit . I think I need an example.
36. When you surround an army, leave an outlet free.
...
Do not press a desperate foe too hard.
SUN-TZU - Art of War
|
|
|
|
|
RomTibi wrote: I think I need an example.
Google is your friend. See here.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
Thanks! I've a lot to learn! ...yet...
36. When you surround an army, leave an outlet free.
...
Do not press a desperate foe too hard.
SUN-TZU - Art of War
|
|
|
|
|
LoadLibrary requires the DLL to be on the disk.
So you will need to write the contents of the memory to a disk file and then call LoadLibrary on it.
|
|
|
|
|
See the reply to David Crow
36. When you surround an army, leave an outlet free.
...
Do not press a desperate foe too hard.
SUN-TZU - Art of War
|
|
|
|
|
Yes. you can load one DLL into System Memory.
|
|
|
|
|
How?
36. When you surround an army, leave an outlet free.
...
Do not press a desperate foe too hard.
SUN-TZU - Art of War
|
|
|
|
|
Firstly, it's far from clear what you mean by "loaded into a memory table". It sounds like your want to re-implement the loader. In general I'm not sure if this is possible from user mode. There's a lot more to getting a module into memory in a executable state then simply having the module in memory: relocating, recursively loading all dependent modules, resolving imports (building the Import Address Table, for example), etc... Even if you did do all these things (and more that I've forgotten) it's far from clear that "unusual" things, for example code that enumerated all loaded modules, would work.
Steve
|
|
|
|
|
|
Anchor and Dock properties are not available in MFC.
It is available in the .Net languages for Windows Forms.
|
|
|
|
|
tomay3000 wrote: Anchor & Dock
???
Me think they are for VS2008 ( and the MFC Feature Pack ), are you talking about the CDockingManager (class and behaviour) ?
Anyway, if you are thinking of upgrading, at least go to the latest VS2008 (fully serviced patched and with the MFC feature pack).
Max.
Watched code never compiles.
|
|
|
|
|
Visual Studio 2008 is heavy
Tomay is Back
|
|
|
|
|
Visual Studio 2010
I have my project set as a release, but of course when I run it through the IDE it runs in Debug mode.
If I run the program outside of VS2010 the app crashes when it is trying to get a COM for Common Item Dialog.
|
|
|
|
|
So what exactly is the question?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
I setup my project as a release.
When I run it through VS2010, it doesn't crash.
Standalone CRASH!
When it tries to start the Common Item Dialog!
|
|
|
|
|
Can anyone suggest some good books to learn drawing in VC++?
|
|
|
|
|
Drawing what ? drawing controls (ownerdrawn) ? simple 2D drawing (use GDI/GDI+) ? or 3D (DirectX or OpenGL) ?
Watched code never compiles.
|
|
|
|
|
Depending on what you're looking for.. I have a copy of "Starting out with Games & Graphics in C++" and it's very nice, it uses the Dark GDK wizards which you can get from www.thegamecreators.com for free.
|
|
|
|
|
Is it possible to draw in different layers? So that if you erase something in one layer whatever you have drawn on the layers beneath won't get erased.
|
|
|
|
|
no, there is no built-in layer concept in VC++ or GDI. you'll have to come up with a custom layering mechanism.
i've done it by drawing each layer into its own CBitmap/HBITMAP, then drawing the Bitmaps into a final composite bitmap for rendering to the screen.
|
|
|
|
|
hai
I want some small rectangles on one layer. Then a line has to move from one end to another(which will be like drawing line ..erasing that and drawing next line in new position).This line I want in another layer so that the rectangles are not erased. When I tried to do both rectangles and lines together the rectagles are getting erased.So if i have them in separate layers then change inone layer will not affect the other. So is it possible to have line drawing in one layer and rectangles in another ?
|
|
|
|
|
How to know from the current CWnd object if the Parent CWnd object has been sized. If so how to get its new RECT size (to do modifications to the child (this) or (current) CWnd object).
I need this code. Please help me
Tomay is Back
|
|
|
|
|
tomay3000 wrote: How to know...
The parent's code could notify the event to its children...
Have you the parent's code ?
virtual void BeHappy() = 0;
|
|
|
|