Click here to Skip to main content
14,603,561 members

C / C++ / MFC

 
GeneralRe: computational cost of math functions Pin
Member 798912217-Apr-20 11:47
MemberMember 798912217-Apr-20 11:47 
GeneralRe: computational cost of math functions Pin
Joe Woodbury17-Apr-20 12:53
professionalJoe Woodbury17-Apr-20 12:53 
GeneralRe: computational cost of math functions Pin
Member 798912217-Apr-20 13:03
MemberMember 798912217-Apr-20 13:03 
AnswerRe: computational cost of math functions Pin
CPallini17-Apr-20 7:04
mveCPallini17-Apr-20 7:04 
AnswerRe: computational cost of math functions Pin
Member 798912217-Apr-20 12:37
MemberMember 798912217-Apr-20 12:37 
GeneralRe: computational cost of math functions Pin
harold aptroot17-Apr-20 16:12
Memberharold aptroot17-Apr-20 16:12 
AnswerRe: computational cost of math functions Pin
CalinNegru(fearless_)18-Apr-20 8:56
MemberCalinNegru(fearless_)18-Apr-20 8:56 
Questionmfc LoadBitmap hangs my application... Pin
charlieg15-Apr-20 12:21
Membercharlieg15-Apr-20 12:21 
VS2008, Windows Embedded Compact 7, mfc dialog application that is 4 years old. It's been working fine. Today I've been making improvements, tracking down some long standing issues. Up until this afternoon, I could pretty much debug where I wanted but then suddenly my UI loop stalled in the OnInitDialog. Stepping through, I came to a couple of LoadBitmap calls that I use to load images from the embedded resources. The first call does not error out, it just never comes back from the LoadBitmap call.

This smells like some weird elephanting debris from VS2008. Some references suggest memory issues on the target device, etc, but it's been rebooted, this is a lightweight app... and doesn't use much memory.

Anyone seen LoadBitmap stall like this?
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...

"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

AnswerRe: mfc LoadBitmap hangs my application... Pin
_Flaviu16-Apr-20 1:37
Member_Flaviu16-Apr-20 1:37 
GeneralRe: mfc LoadBitmap hangs my application... Pin
charlieg16-Apr-20 4:30
Membercharlieg16-Apr-20 4:30 
GeneralRe: mfc LoadBitmap hangs my application... Pin
_Flaviu16-Apr-20 5:24
Member_Flaviu16-Apr-20 5:24 
GeneralRe: mfc LoadBitmap hangs my application... Pin
leon de boer16-Apr-20 6:29
Memberleon de boer16-Apr-20 6:29 
GeneralRe: mfc LoadBitmap hangs my application... Pin
_Flaviu16-Apr-20 7:21
Member_Flaviu16-Apr-20 7:21 
GeneralRe: mfc LoadBitmap hangs my application... Pin
charlieg16-Apr-20 9:47
Membercharlieg16-Apr-20 9:47 
GeneralRe: mfc LoadBitmap hangs my application... Pin
charlieg16-Apr-20 10:27
Membercharlieg16-Apr-20 10:27 
GeneralRe: mfc LoadBitmap hangs my application... Pin
leon de boer16-Apr-20 16:37
Memberleon de boer16-Apr-20 16:37 
GeneralRe: mfc LoadBitmap hangs my application... Pin
charlieg17-Apr-20 9:43
Membercharlieg17-Apr-20 9:43 
QuestionWindows CBT Hooks Pin
Richard Andrew x6414-Apr-20 11:58
professionalRichard Andrew x6414-Apr-20 11:58 
GeneralRe: Windows CBT Hooks Pin
Richard MacCutchan14-Apr-20 21:21
mveRichard MacCutchan14-Apr-20 21:21 
GeneralRe: Windows CBT Hooks Pin
Richard Andrew x6415-Apr-20 4:28
professionalRichard Andrew x6415-Apr-20 4:28 
GeneralRe: Windows CBT Hooks Pin
Richard MacCutchan15-Apr-20 4:57
mveRichard MacCutchan15-Apr-20 4:57 
GeneralRe: Windows CBT Hooks Pin
Richard Andrew x6415-Apr-20 5:49
professionalRichard Andrew x6415-Apr-20 5:49 
GeneralRe: Windows CBT Hooks Pin
Richard MacCutchan15-Apr-20 6:05
mveRichard MacCutchan15-Apr-20 6:05 
GeneralRe: Windows CBT Hooks Pin
Richard Andrew x6415-Apr-20 8:01
professionalRichard Andrew x6415-Apr-20 8:01 
GeneralRe: Windows CBT Hooks Pin
leon de boer16-Apr-20 0:21
Memberleon de boer16-Apr-20 0:21 

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.