RE: [OT] - Help with routine name in .dll

new topic     » goto parent     » topic index » view thread      » older message » newer message

> From: Jonas Temple [mailto:jtemple at yhti.net]

> Now a follow-up question.  I'm getting the command prompter 
> as expected but when I close the dialog I'm getting a
> machine error on the function call.  Is there anything in
> the following C declaration that might cause this?
> 
> --CWBAPI unsigned int WINAPI cwbUN_DisplayCommandPrompter(
> --				cwbCO_SysHandle systemHandle,
> --				UINT promptFlags,
> --				LPSTR commandString,
> --				UINT * dateFormat,
> --				BOOL * batchCommand);

My guess would be a pad parameter.  Not sure what a cwbCO_SysHandle is, but
commandString, dateFormat and batchCommand are all pointers.  Did you pass a
value instead of a pointer for dateFormat or batchCommand?  Or, perhaps some
initialization didn't take place before calling cwbUN_DisplayCommandPrompter
(like in the creation of systemHandle?).

Matt Lewis

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu