Okay, new test for anyone who is crashing. Run this and do what you need to do to make it crash, and it should hopefully generate a file called nsf_import_log.txt
*** Edit: file removed, I think I've seen all it's going to do.
Give me that text file. (Don't send it to me if it didn't crash.)
Also, thanks for everyone who is willing to help debug this. It's a real pain when I can't make it happen on my own machine.
If a text file's supposed to be generated even if all goes well, no text file was generated for me either.
Perhaps a second set of eyes can help with your source code, rainwarrior? I have a feeling that there's a problem in NSF_Import_Dlg.cpp that's causing the crash issues with other users. I can't readily pinpoint what line it's on, though (perhaps because I could be wrong).
_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!
Tech, if you can figure it out let me know. Debug point 6 was at the end of the WM_INITDIALOG message just before the return TRUE, and Debug point 7 was just after DialogBox returns. Obviously we're not getting to point 7, and the IDOK/IDCANCEL commands don't have a chance to be used I don't think, so wherever it's failing seems like it's going to be somewhere internal to windows.
tech got put in his PLACE good for you rainwarrior
also naming various pieces of code doesn't help anything tech
attached is the log file it generates upon crashing. it hangs whenever you select an NSF and the entire window becomes unresponsive and has to be killed in task manager.
If anyone was wondering the change I made was to use a single .rc resource file instead of two. I don't know why it didn't work properly on some systems, for some reason part or all of the NSF import dialog box wasn't initializing properly, but putting all the resources into one seems to be working fine.
I don't know if this is a glitch, but it happens to me both with v0.3 and v0.4: I used to be able to open both FT and NSFImporter at the same time, even when "Single Instance" was checked in FT's option (which is a good thing), and now I can't do that anymore.
Otherwise, all is well in Importer world Thanks!
EDIT: Actually, I don't know if it's an issue with the importer or Famitracker itself, but the hardware slides from imported NSFs sound slightly lower in pitch than they do in foo_gep.