Click here to Skip to main content
15,891,431 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHelp! How to change the color of the current row in datagrid [modified] Pin
shakaqrj6-Dec-07 19:49
shakaqrj6-Dec-07 19:49 
GeneralHelp in visual C++ Pin
cinzhan6-Dec-07 19:39
cinzhan6-Dec-07 19:39 
GeneralRe: Help in visual C++ Pin
ThatsAlok6-Dec-07 20:11
ThatsAlok6-Dec-07 20:11 
Generaldata map declartion. Pin
CodingLover6-Dec-07 18:53
CodingLover6-Dec-07 18:53 
GeneralRe: data map declartion. Pin
Karismatic6-Dec-07 19:34
Karismatic6-Dec-07 19:34 
GeneralRe: data map declartion. Pin
CodingLover6-Dec-07 20:04
CodingLover6-Dec-07 20:04 
GeneralRe: data map declartion. Pin
jhwurmbach6-Dec-07 21:40
jhwurmbach6-Dec-07 21:40 
GeneralRe: data map declartion. Pin
David Crow7-Dec-07 2:57
David Crow7-Dec-07 2:57 
GeneralExplorer view Pin
john56326-Dec-07 18:27
john56326-Dec-07 18:27 
GeneralRe: Explorer view Pin
Nelek6-Dec-07 21:29
protectorNelek6-Dec-07 21:29 
Generalaccess to archive Pin
patrickinminneapolis6-Dec-07 15:54
patrickinminneapolis6-Dec-07 15:54 
GeneralRe: access to archive Pin
Mike Dimmick7-Dec-07 16:49
Mike Dimmick7-Dec-07 16:49 
GeneralDirectX problem Pin
MarkB7776-Dec-07 12:36
MarkB7776-Dec-07 12:36 
GeneralRe: DirectX problem Pin
Mark Salsbery6-Dec-07 14:28
Mark Salsbery6-Dec-07 14:28 
GeneralRe: DirectX problem Pin
MarkB7776-Dec-07 15:13
MarkB7776-Dec-07 15:13 
Generalstring class Pin
linksys20066-Dec-07 12:18
linksys20066-Dec-07 12:18 
GeneralRe: string class Pin
linksys20066-Dec-07 12:31
linksys20066-Dec-07 12:31 
GeneralRe: string class Pin
linksys20066-Dec-07 12:47
linksys20066-Dec-07 12:47 
Generaloff topic Pin
Nelek6-Dec-07 21:27
protectorNelek6-Dec-07 21:27 
GeneralRe: string class Pin
jhwurmbach6-Dec-07 21:43
jhwurmbach6-Dec-07 21:43 
GeneralCreatedibsection Returning Error_not_enough_memory, misterious problem Pin
csmanul6-Dec-07 12:06
csmanul6-Dec-07 12:06 
GeneralRe: Createdibsection Returning Error_not_enough_memory, misterious problem Pin
Bram van Kampen7-Dec-07 13:38
Bram van Kampen7-Dec-07 13:38 
csmanul wrote:
1. my code is wrong , 2. bug in windows and of course this api function.


I Know the Sentiment, Contemplated this question for about 1000 times over the last 20 years. Always turned out to be Option 1 though, (Well, except for 2 occasions, which have now been fixed).

Without investigating in detail, your code constructs up to 100000 objects, and keeps the oject when successfull9 Deletes the DIB, but keeps the Object). When it finally fails, it complains. Seems quite natural to me that it behaves as it does! Why would you want 100000 empty DIBSections anyways.

Regards Smile | :)

Bram van Kampen

GeneralRe: Createdibsection Returning Error_not_enough_memory, misterious problem Pin
csmanul7-Dec-07 23:56
csmanul7-Dec-07 23:56 
GeneralRe: Createdibsection Returning Error_not_enough_memory, misterious problem Pin
Bram van Kampen8-Dec-07 16:15
Bram van Kampen8-Dec-07 16:15 
GeneralRe: Createdibsection Returning Error_not_enough_memory, misterious problem Pin
Mike Dimmick7-Dec-07 17:04
Mike Dimmick7-Dec-07 17: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.