I'm getting a runtime stack dump for illegal address when using the "DISPLAY OPENFILE" where a user selects an "Open" option from a menu in my program. It doesn't always occur the first or second try (sometimes it does), but, usually after the third, fourth, or more tries. I'm thinking it's in this call because my program doesn't crash otherwise and makes it here during debug sessions.
I've also found the compiler gives me an undefined error when using "%OFN_SHAREWARE"
Here's my test code section:
LOCAL File2Use$, start$,folder$
folder$ = CURDIR$
start$ = "*.scn"
DISPLAY OPENFILE ,,, "Open Scenario File", folder$, _
CHR$("Scenario Files", 0, "*.scn", 0,"All Files",0,"*.*",0),start$, "SCN", _
%OFN_FILEMUSTEXIST OR %OFN_HIDEREADONLY OR %OFN_LONGNAMES OR _
%OFN_EXPLORER TO File2Use$
Any ideas? If no one else is having this problem (either with multiple executions or the undefined constant), would an uninstall/re-install have any effect? Where would I look for compiler updates/patches?
Thanks!
I've also found the compiler gives me an undefined error when using "%OFN_SHAREWARE"
Here's my test code section:
LOCAL File2Use$, start$,folder$
folder$ = CURDIR$
start$ = "*.scn"
DISPLAY OPENFILE ,,, "Open Scenario File", folder$, _
CHR$("Scenario Files", 0, "*.scn", 0,"All Files",0,"*.*",0),start$, "SCN", _
%OFN_FILEMUSTEXIST OR %OFN_HIDEREADONLY OR %OFN_LONGNAMES OR _
%OFN_EXPLORER TO File2Use$
Any ideas? If no one else is having this problem (either with multiple executions or the undefined constant), would an uninstall/re-install have any effect? Where would I look for compiler updates/patches?
Thanks!
Comment