Click here to Skip to main content
15,918,617 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Displaying images on a CDialog Pin
Tom Archer24-Jul-03 13:17
Tom Archer24-Jul-03 13:17 
GeneralRe: Displaying images on a CDialog Pin
Ryan Binns24-Jul-03 15:11
Ryan Binns24-Jul-03 15:11 
GeneralSet multiple dialog activated status Pin
sdfdsfa24-Jul-03 10:29
sdfdsfa24-Jul-03 10:29 
GeneralRe: Set multiple dialog activated status Pin
Tom Archer24-Jul-03 14:59
Tom Archer24-Jul-03 14:59 
GeneralHGLOBAL question Pin
Beer2624-Jul-03 9:59
Beer2624-Jul-03 9:59 
GeneralRe: HGLOBAL question - ignorant response Pin
AlexO24-Jul-03 10:34
AlexO24-Jul-03 10:34 
GeneralRe: HGLOBAL question Pin
peterchen24-Jul-03 10:38
peterchen24-Jul-03 10:38 
GeneralRe: HGLOBAL question Pin
Beer2624-Jul-03 10:47
Beer2624-Jul-03 10:47 
"a) there is no guarantee that you have EXECUTE right on a HGLOBAL, but this doesn#t matter on Wintel Boxes"

From MSDN

"Remarks
If the heap does not contain sufficient free space to satisfy the request, GlobalAlloc returns NULL. Because NULL is used to indicate an error, virtual address zero is never allocated. It is, therefore, easy to detect the use of a NULL pointer.

Memory allocated with this function is guaranteed to be aligned on an 8-byte boundary. All memory is created with execute access; no special function is required to execute dynamically generated code. "

"b) You *are+ aware that EXE files come a) with a PE header, and b) with a relocation table? They are not just "sequences of code bytes"..."

Yes, I am. What if i write a small bit of code in ASM and only generate the OPCODE? Then try it with that? Would that work? I'm assuming it's not going to work with all the PE junk linked and compiled with it?
GeneralRe: HGLOBAL question Pin
peterchen24-Jul-03 10:52
peterchen24-Jul-03 10:52 
GeneralRe: HGLOBAL question Pin
Terry O'Nolley24-Jul-03 10:47
Terry O'Nolley24-Jul-03 10:47 
GeneralRe: HGLOBAL question Pin
Beer2624-Jul-03 10:48
Beer2624-Jul-03 10:48 
GeneralInline function causing unresolved symbols. Pin
73Zeppelin24-Jul-03 8:53
73Zeppelin24-Jul-03 8:53 
GeneralRe: Inline function causing unresolved symbols. Pin
David Crow24-Jul-03 9:04
David Crow24-Jul-03 9:04 
GeneralRe: Inline function causing unresolved symbols. Pin
73Zeppelin24-Jul-03 9:05
73Zeppelin24-Jul-03 9:05 
GeneralRe: Inline function causing unresolved symbols. Pin
David Crow24-Jul-03 9:09
David Crow24-Jul-03 9:09 
GeneralRe: Inline function causing unresolved symbols. Pin
73Zeppelin24-Jul-03 9:19
73Zeppelin24-Jul-03 9:19 
GeneralRe: Inline function causing unresolved symbols. Pin
David Crow24-Jul-03 9:22
David Crow24-Jul-03 9:22 
GeneralRe: Inline function causing unresolved symbols. Pin
73Zeppelin24-Jul-03 9:24
73Zeppelin24-Jul-03 9:24 
GeneralRe: Inline function causing unresolved symbols. Pin
73Zeppelin24-Jul-03 9:07
73Zeppelin24-Jul-03 9:07 
GeneralRe: Inline function causing unresolved symbols. Pin
Tim Smith24-Jul-03 9:09
Tim Smith24-Jul-03 9:09 
GeneralRe: Inline function causing unresolved symbols. Pin
73Zeppelin24-Jul-03 9:13
73Zeppelin24-Jul-03 9:13 
GeneralRe: Inline function causing unresolved symbols. Pin
John M. Drescher24-Jul-03 9:37
John M. Drescher24-Jul-03 9:37 
GeneralRe: Inline function causing unresolved symbols. Pin
73Zeppelin25-Jul-03 3:03
73Zeppelin25-Jul-03 3:03 
GeneralRe: Inline function causing unresolved symbols. Pin
Dangleberry25-Jul-03 3:36
sussDangleberry25-Jul-03 3:36 
GeneralRe: Inline function causing unresolved symbols. Pin
73Zeppelin25-Jul-03 3:43
73Zeppelin25-Jul-03 3:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.