Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Debug to release Pin
stupidaccount15-Jan-04 10:41
stupidaccount15-Jan-04 10:41 
GeneralRe: Debug to release Pin
Joaquín M López Muñoz15-Jan-04 10:39
Joaquín M López Muñoz15-Jan-04 10:39 
GeneralRe: Debug to release Pin
stupidaccount15-Jan-04 10:45
stupidaccount15-Jan-04 10:45 
GeneralRe: Debug to release Pin
Joaquín M López Muñoz15-Jan-04 10:49
Joaquín M López Muñoz15-Jan-04 10:49 
GeneralRe: Debug to release Pin
Anthony_Yio15-Jan-04 14:44
Anthony_Yio15-Jan-04 14:44 
GeneralRe: Debug to release Pin
stupidaccount16-Jan-04 3:00
stupidaccount16-Jan-04 3:00 
Questionhow to change printer fonts Pin
Stober15-Jan-04 8:57
Stober15-Jan-04 8:57 
GeneralExtCreateRegion Win9x Problem Pin
nemo15-Jan-04 8:50
nemo15-Jan-04 8:50 
I have run into an issue with ExtCreateRegion on windows 9X machines. I use getregiondata to get the data and then use ExtCreateRegion data to recreate the region. Everything works fine on 2000/XP and on 9x machines when the region is less than 64K but on the 9x machines when the region is larger than 64K it fails. The MS documentation says 64K is not longer a limitation on 9x but my tests seem to elude to a different answer. The code is pretty simple:

int LastTestRgnSize = GetRegionData(TempRgn, 0, 0); // get the rgn size
unsigned char* LastTestRgn = new unsigned char[LastTestRgnSize];
memset( LastTestRgn, 0x00, LastTestRgnSize );
int size = GetRegionData(TempRgn, LastTestRgnSize, (RGNDATA*)LastTestRgn);
HRGN Rgn = ::ExtCreateRegion(NULL, RgnSize, (RGNDATA*)Temp);

The ::ExtCreateRegion function will fail when the region size is above 64K on 9x but not on 2000/XP. Does anyone have a work-around for this or any ideas on how to correct the problem.

Thanks in Advance Smile | :)






nemo
GeneralRe: ExtCreateRegion Win9x Problem Pin
Michael Dunn15-Jan-04 18:56
sitebuilderMichael Dunn15-Jan-04 18:56 
QuestionCan you suggest some software to create a help file for my application? Pin
ElizabethC15-Jan-04 7:38
ElizabethC15-Jan-04 7:38 
AnswerRe: Can you suggest some software to create a help file for my application? Pin
includeh1015-Jan-04 8:15
includeh1015-Jan-04 8:15 
GeneralRe: Can you suggest some software to create a help file for my application? Pin
ElizabethC15-Jan-04 8:18
ElizabethC15-Jan-04 8:18 
GeneralRe: Can you suggest some software to create a help file for my application? Pin
Antti Keskinen15-Jan-04 8:36
Antti Keskinen15-Jan-04 8:36 
GeneralRe: Can you suggest some software to create a help file for my application? Pin
includeh1015-Jan-04 9:02
includeh1015-Jan-04 9:02 
GeneralRe: Can you suggest some software to create a help file for my application? Pin
ElizabethC15-Jan-04 11:00
ElizabethC15-Jan-04 11:00 
GeneralOwner draw combo-boxes are higher Pin
BadJerry15-Jan-04 7:28
BadJerry15-Jan-04 7:28 
GeneralRe: Owner draw combo-boxes are higher Pin
Maximilien15-Jan-04 7:37
Maximilien15-Jan-04 7:37 
GeneralRe: Owner draw combo-boxes are higher Pin
BadJerry16-Jan-04 0:46
BadJerry16-Jan-04 0:46 
GeneralRe: Owner draw combo-boxes are higher Pin
Paul Vickery28-May-04 0:54
professionalPaul Vickery28-May-04 0:54 
GeneralRe: Owner draw combo-boxes are higher Pin
BadJerry28-May-04 1:35
BadJerry28-May-04 1:35 
Questionhow to remove items from Start menu? Pin
includeh1015-Jan-04 7:19
includeh1015-Jan-04 7:19 
AnswerRe: how to remove items from Start menu? Pin
David Crow15-Jan-04 7:36
David Crow15-Jan-04 7:36 
GeneralRe: how to remove items from Start menu? Pin
includeh1015-Jan-04 8:08
includeh1015-Jan-04 8:08 
GeneralRe: how to remove items from Start menu? Pin
David Crow15-Jan-04 8:23
David Crow15-Jan-04 8:23 
GeneralRe: how to remove items from Start menu? Pin
includeh1015-Jan-04 9:04
includeh1015-Jan-04 9:04 

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.