Click here to Skip to main content
15,911,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Adding background to CDHtmlDialog Pin
basementman2-Jul-03 4:54
basementman2-Jul-03 4:54 
GeneralRe: Adding background to CDHtmlDialog Pin
Ken Mazaika2-Jul-03 5:35
Ken Mazaika2-Jul-03 5:35 
GeneralRe: Adding background to CDHtmlDialog Pin
basementman2-Jul-03 5:41
basementman2-Jul-03 5:41 
GeneralRe: Adding background to CDHtmlDialog Pin
basementman2-Jul-03 5:51
basementman2-Jul-03 5:51 
GeneralRe: Adding background to CDHtmlDialog Pin
Jack_pt2-Jul-03 8:32
Jack_pt2-Jul-03 8:32 
GeneralSAPI 5 Tutorial Pin
superstein2-Jul-03 3:25
superstein2-Jul-03 3:25 
GeneralGlobalRealloc big problem .... Pin
_crs_2-Jul-03 2:52
_crs_2-Jul-03 2:52 
GeneralRe: GlobalRealloc big problem .... Pin
Ryan Binns2-Jul-03 3:00
Ryan Binns2-Jul-03 3:00 
GlobalRealloc() does not necessarily return the same memory handle as the one passed to it - it's value may change. You need to store the new value:
eyeConClients[msg - SOCKET_ID - 1].buffer = GlobalReAlloc((HGLOBAL)eyeConClients[msg - SOCKET_ID - 1].buffer, szTemp, GMEM_MOVEABLE);
If you need to cast your buffer to a HGLOBAL, you will need to cast the return value of GlobalRealloc() to make it fit with your buffer variable. You didn't say what type it was, so I don't know what to cast it to - you'll need to do that.

Hope this helps,

Ryan

Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)

Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

GeneralRe: GlobalRealloc big problem .... Pin
AlexO2-Jul-03 3:25
AlexO2-Jul-03 3:25 
GeneralfuHow make CD ROM autoplay function disable Pin
happywan2-Jul-03 2:18
happywan2-Jul-03 2:18 
GeneralRe: fuHow make CD ROM autoplay function disable Pin
skaanji2-Jul-03 2:33
skaanji2-Jul-03 2:33 
GeneralRe: fuHow make CD ROM autoplay function disable Pin
Ryan Binns2-Jul-03 3:07
Ryan Binns2-Jul-03 3:07 
GeneralRe: fuHow make CD ROM autoplay function disable Pin
happywan2-Jul-03 4:08
happywan2-Jul-03 4:08 
GeneralRe: fuHow make CD ROM autoplay function disable Pin
Toni782-Jul-03 12:28
Toni782-Jul-03 12:28 
GeneralRe: fuHow make CD ROM autoplay function disable Pin
Tim Smith2-Jul-03 3:53
Tim Smith2-Jul-03 3:53 
GeneralRe: fuHow make CD ROM autoplay function disable Pin
John M. Drescher2-Jul-03 5:50
John M. Drescher2-Jul-03 5:50 
GeneralRe: fuHow make CD ROM autoplay function disable Pin
HansonDavid21-Jul-03 18:16
HansonDavid21-Jul-03 18:16 
GeneralProperty sheet in MDI project Pin
d_kilshtein2-Jul-03 0:30
d_kilshtein2-Jul-03 0:30 
GeneralRe: Property sheet in MDI project Pin
jhwurmbach2-Jul-03 1:46
jhwurmbach2-Jul-03 1:46 
GeneralRe: Property sheet in MDI project Pin
Mil102-Jul-03 2:19
Mil102-Jul-03 2:19 
Generalhelp : tab ctrl Pin
marelluswallace1-Jul-03 23:49
marelluswallace1-Jul-03 23:49 
GeneralRe: help : tab ctrl Pin
eridan2-Jul-03 1:25
eridan2-Jul-03 1:25 
GeneralRe: help : tab ctrl Pin
marelluswallace2-Jul-03 1:34
marelluswallace2-Jul-03 1:34 
GeneralRe: help : tab ctrl Pin
RChin2-Jul-03 3:36
RChin2-Jul-03 3:36 
GeneralRe: help : tab ctrl Pin
Ryan Binns2-Jul-03 4:20
Ryan Binns2-Jul-03 4:20 

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.