>>
APLDN Home

>>
Events

>>
Trainings

>>
APL Books

>>
APLDN Links

>>
Discussion Groups

>>
Downloads

>>
Articles

>>
Library

>>
Learning Tools

>>
APLDN User IO

>>
APL2000.com




Bug Reports

Author Thread: {quad}wcall unhandled exception (64bit)
Richard.Hill
{quad}wcall unhandled exception (64bit)
Posted: Sunday, November 28, 2004 8:15 PM (EST)
GetOpenFileName running on 64bit sytem with WnXP64 Beta Same function runs fine on 32bit WinXP.


Comments:

Author Thread:
Support
{quad}wcall unhandled exception (64bit)
Posted: Tuesday, November 30, 2004 1:44 PM (EST)
Thank you for reporting this problem.  It's now on the list for us to investigate.

APL2000 Support

     

Support
{quad}wcall unhandled exception (64bit)
Posted: Friday, December 03, 2004 3:01 PM (EST)

Line 50 (shown below) in WGetOpenFileName is what's causing the failure.

Flags[27]„1   © Set OFN_ENABLEHOOK to force the old-fashioned dialog box.

 

WGetOpenFileName works when the statement isn't executed .  It appears that the OFN_ENABLEHOOK option is not supported in Windows XP x64.  The same applies to the WGetSaveFileName function. 

The recommendation is to to substitute both functions with the WGetLongFileName and WGetSaveLongFileName functions from the WINDOWS.W3 workspace.

APL2000 Support

     

Richard.Hill
Unhandled exception (64bit)
Posted: Monday, December 06, 2004 8:25 PM (EST)
Thank you for the reply. The problem also occurs with <br> )copy ...\aplwin50\tools\windows GetDir <br> GetDir 'test' <br> Could you kindly suggest a work around for this also? RH

     

davin.church
Unhandled exception (64bit)
Posted: Monday, December 06, 2004 8:58 PM (EST)

Just for fun, you could try out my AskFile and AskFolder utilities and see how they behave under these conditions.  They really should be cleaned up better before a public release, but they should work well enough for now.

 

I'd attach them to this note, but the forum won't let me attach files here.  Would you like me to email them to you, or would it be better to attach them somewhere else?

     

brent.hildebrand
Unhandled exception (64bit)
Posted: Monday, December 06, 2004 9:16 PM (EST)
Post your files in the Download section, User or Partner contribution section.

     

davin.church
Unhandled exception (64bit)
Posted: Monday, December 06, 2004 10:26 PM (EST)
I'd do that, except that they still need to be cleaned up for an "official" release, so I don't want them spreading around too far in this form.

     

Support
Unhandled exception (64bit)
Posted: Tuesday, December 07, 2004 1:00 AM (EST)
The quick answer is to try GetDir95 (same workspace) in place of GetDir.

APL2000 Support

     

Support
Unhandled exception (64bit)
Posted: Tuesday, December 07, 2004 11:47 AM (EST)
Sorry but GetDir95 also doesn't work.  We're looking into the matter.

APL2000 Support

     

Support
Unhandled exception (64bit)
Posted: Tuesday, December 07, 2004 12:14 PM (EST)
Once again it appears an issue with the OFN_ENABLEHOOK flag this time in the BROWSEINFO structure in GetDir95.  GetDir95 works after commenting lines 23 and 56-58. 

If you experience a similar problem in other functions, be sure to first check whether the OFN_ENABLEHOOK flag is used.

APL2000 Support

     



APL2000 Official Web Site

People rarely succeed unless they have fun in what they are doing.
--- Dale Carnegie

APLDN Home   |    |  Events   |  Trainings   |  APL Books   |  APLDN Links   |    |  Discussion Groups   |    |  Downloads   |  Articles   |  Library   |  Learning Tools   |  APLDN User IO   |  APL2000.com   |