Click here to Skip to main content
15,177,535 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
Questionhow do i copy a CImage DIB to clipboard Pin
Member 951640015-Oct-12 12:15
MemberMember 951640015-Oct-12 12:15 
AnswerRe: how do i copy a CImage DIB to clipboard Pin
chaau15-Oct-12 12:41
Memberchaau15-Oct-12 12:41 
QuestionWhy does this fail - CFile / SeekToEnd? Pin
charlieg10-Oct-12 7:43
Membercharlieg10-Oct-12 7:43 
AnswerRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg10-Oct-12 10:31
Membercharlieg10-Oct-12 10:31 
AnswerRe: Why does this fail - CFile / SeekToEnd? Pin
chaau10-Oct-12 12:23
Memberchaau10-Oct-12 12:23 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg11-Oct-12 3:20
Membercharlieg11-Oct-12 3:20 
AnswerRe: Why does this fail - CFile / SeekToEnd? Pin
Richard MacCutchan10-Oct-12 22:45
mveRichard MacCutchan10-Oct-12 22:45 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg11-Oct-12 3:30
Membercharlieg11-Oct-12 3:30 
Inherited code, probably done for no particular reason. They're gone now.
Function returns: yup, not going to argue the point.

I'm going to condense this code down to a very tight little application and hammer a hard drive. Adding the flush seemed to stabilize things, but I'm suspicious of memory corruption.

Stay tuned for the next episode of "As the Code turns..." will Charlie find happiness?
Charlie Gilley
<italic>You're going to tell me what I want to know, or I'm going to beat you to death in your own house.

"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759


GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg11-Oct-12 5:53
Membercharlieg11-Oct-12 5:53 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
Richard MacCutchan11-Oct-12 12:19
mveRichard MacCutchan11-Oct-12 12:19 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg11-Oct-12 12:34
Membercharlieg11-Oct-12 12:34 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
Richard MacCutchan11-Oct-12 13:01
mveRichard MacCutchan11-Oct-12 13:01 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg12-Oct-12 6:54
Membercharlieg12-Oct-12 6:54 
AnswerRe: Why does this fail - CFile / SeekToEnd? Pin
Stephen Hewitt11-Oct-12 13:58
MemberStephen Hewitt11-Oct-12 13:58 
AnswerRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg18-Jan-13 2:47
Membercharlieg18-Jan-13 2:47 
QuestionKeep program open and running Pin
Lucidation8-Oct-12 12:23
MemberLucidation8-Oct-12 12:23 
AnswerRe: Keep program open and running Pin
Richard MacCutchan8-Oct-12 23:14
mveRichard MacCutchan8-Oct-12 23:14 
GeneralRe: Keep program open and running Pin
Lucidation9-Oct-12 12:14
MemberLucidation9-Oct-12 12:14 
GeneralRe: Keep program open and running Pin
Richard MacCutchan9-Oct-12 12:19
mveRichard MacCutchan9-Oct-12 12:19 
AnswerRe: Keep program open and running Pin
Stephen Hewitt11-Oct-12 22:45
MemberStephen Hewitt11-Oct-12 22:45 
QuestionUSBView Compile Error Pin
Jim Fell5-Oct-12 11:17
MemberJim Fell5-Oct-12 11:17 
AnswerRe: USBView Compile Error Pin
Wes Aday5-Oct-12 11:33
professionalWes Aday5-Oct-12 11:33 
GeneralRe: USBView Compile Error Pin
Jim Fell10-Oct-12 9:04
MemberJim Fell10-Oct-12 9:04 
QuestionFree memory allocated by std::multimap Pin
MrKBA4-Oct-12 3:41
MemberMrKBA4-Oct-12 3:41 
AnswerRe: Free memory allocated by std::multimap Pin
pasztorpisti6-Oct-12 16:26
Memberpasztorpisti6-Oct-12 16:26 

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.