Click here to Skip to main content
15,919,479 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow i can do this??plz help me! Pin
aashu14-Aug-02 7:38
aashu14-Aug-02 7:38 
Generaltimers with CreateWaitableTimer Pin
Jim Crafton14-Aug-02 7:18
Jim Crafton14-Aug-02 7:18 
GeneralRe: timers with CreateWaitableTimer Pin
Daniel Lohmann14-Aug-02 13:57
Daniel Lohmann14-Aug-02 13:57 
GeneralDeveloping on VC++ for Linux Pin
Robert White14-Aug-02 7:15
Robert White14-Aug-02 7:15 
GeneralMultiple Thread Pin
14-Aug-02 7:14
suss14-Aug-02 7:14 
GeneralRe: Multiple Thread Pin
valikac14-Aug-02 8:20
valikac14-Aug-02 8:20 
GeneralRe: Multiple Thread Pin
Bill Wilson14-Aug-02 8:23
Bill Wilson14-Aug-02 8:23 
GeneralUnhandled exception when using acmFormatChoose. Pin
redeemer14-Aug-02 7:05
redeemer14-Aug-02 7:05 
I have some code where i try to display a dialog box where a user can choose a specific format. I've filled all the parts of the struct that needs to be filled accoring to the MSDN, but still i get an unhandled exception when running the function. Here's my code:
ACMFORMATCHOOSE acmChoose;
WAVEFORMATEX fmtChoose = { 0 };

acmChoose.pwfx = &fmtChoose;
acmChoose.cbwfx = sizeof(fmtChoose);
acmChoose.cbStruct = sizeof(acmChoose);
acmChoose.hwndOwner = ghWnd;

acmFormatChoose(&acmChoose);


Where ghWnd is a valid handle to my main window.
Anyone know what could be wrong?

Thankyou all, all input is appreciated.

-Rune Svendsen
GeneralRe: Unhandled exception when using acmFormatChoose. Pin
Bill Wilson14-Aug-02 9:04
Bill Wilson14-Aug-02 9:04 
GeneralRe: Unhandled exception when using acmFormatChoose. Pin
Daniel Lohmann14-Aug-02 14:02
Daniel Lohmann14-Aug-02 14:02 
Generaldoc/view problem -> destroying a window Pin
Anonymous14-Aug-02 7:00
Anonymous14-Aug-02 7:00 
GeneralRe: doc/view problem -> destroying a window Pin
Chris Losinger14-Aug-02 8:04
professionalChris Losinger14-Aug-02 8:04 
Questionopen a Document with invisible View? Pin
Jake Palmer14-Aug-02 6:54
Jake Palmer14-Aug-02 6:54 
AnswerRe: open a Document with invisible View? Pin
dazinith14-Aug-02 7:59
dazinith14-Aug-02 7:59 
AnswerClarification Pin
Jake Palmer14-Aug-02 9:54
Jake Palmer14-Aug-02 9:54 
GeneralImage field 3 Pin
Mazdak14-Aug-02 6:53
Mazdak14-Aug-02 6:53 
GeneralCFindReplaceDialog Pin
RK_200014-Aug-02 6:37
RK_200014-Aug-02 6:37 
GeneralTFTP and RS232 Communications Pin
SanShou14-Aug-02 5:54
SanShou14-Aug-02 5:54 
GeneralRe: TFTP and RS232 Communications Pin
Stuart Dootson14-Aug-02 20:57
professionalStuart Dootson14-Aug-02 20:57 
GeneralContext menu in CHtmlView question. Pin
Michael Liu14-Aug-02 5:37
Michael Liu14-Aug-02 5:37 
GeneralRe: Context menu in CHtmlView question. Pin
Anonymous14-Aug-02 6:10
Anonymous14-Aug-02 6:10 
GeneralRe: Context menu in CHtmlView question. Pin
Michael Liu14-Aug-02 6:35
Michael Liu14-Aug-02 6:35 
QuestionPressed Enter ? Pin
Hadi Rezaee14-Aug-02 5:09
Hadi Rezaee14-Aug-02 5:09 
AnswerRe: Pressed Enter ? Pin
Andreas Saurwein14-Aug-02 5:40
Andreas Saurwein14-Aug-02 5:40 
AnswerRe: Pressed Enter ? Pin
KingsGambit14-Aug-02 5:50
KingsGambit14-Aug-02 5:50 

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.