File requester code produces "bad refs" error
BlitzMax Forums/BlitzMax Programming/File requester code produces "bad refs" error
| ||
Here is my advanced file requester. A "bad refs" error occurs when a file is selected. The program: Compile log: Building FileRequester Compiling:FileRequester.bmx flat assembler version 1.66 4 passes, 21865 bytes. Linking:FileRequester.debug.exe Executing:FileRequester.debug.exe bad refs:obj=$19d5020 refs=$73756c6f Process complete |
| ||
works fine here. debug and release. Have you by any chance been messing with module source? I believe it's similar to what I got when I accidentally run one of my modules source but I could be mistaken. By the way, does this supposed to work in full screen mode? |
| ||
I have not changed any of the modules used here. I am using Vista 32-bit, BMX 1.30. |
| ||
Works fine here with threaded build enabled (old svn version), otherwise I get the bad refs error. |
| ||
it must be a Vista compatibility issue. I tried svn 1.30(with the last update posted before it got removed) and the official release 1.30, every possible way, with no problems. |
| ||
Hi, This looks really suspect to me: Field lpstrFileTitle:Byte[4096] Try a Byte Ptr and appropriate init code instead. |
| ||
Marks suggestion fixed it here on Vista x64 |
| ||
Yeah, that fixed it. Thanks! What's cool about this requester code is it can have an owner window, and a callback function for options/help. Here is the corrected code: |