RE: [OT] - Help with routine name in .dll
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Jun 23, 2003
- 657 views
> 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