08-12-2018, 06:34 AM
When exiting one of my QM-generated executables, I get the errors shown in the attached .png file. Any advice will be much appreciated. Many thanks in advance.
Error when exiting QM generated .exe
|
08-12-2018, 06:34 AM
When exiting one of my QM-generated executables, I get the errors shown in the attached .png file. Any advice will be much appreciated. Many thanks in advance.
08-12-2018, 10:01 AM
Empirically, I found that the problem above is due to statement :
if(!ShowDialog("dialog_with_progres_Clepsy" &dialog_with_progres_Clepsy 0)) ret which it calls the following function: Function dialog_with_progres_Clepsy ;\Dialog_Editor
08-12-2018, 10:36 AM
Tested on Windows 10, no exception when exits. Almost impossible to fix it when cannot reproduce.
08-12-2018, 01:12 PM
Thank you. I understand it is a kind of memory conflict. I will try to revise relevant routines. Best regards.
08-12-2018, 02:20 PM
I would kindly ask you Gintaras, one fulrther question, which it might facilitate my investigation : how is this routine (__RegisterWindowClass.Unregister) reported as causing this error is called, by whom? Let me add that this error occurs only when the .exe version is run. No problem when run under QM.
08-12-2018, 03:32 PM
It is called by __RegisterWindowClass class destructor. Destructors of static variables are called before exe process exits. I'll test how it works in exe.
Thank you, sincerely. If you find it useful I can upload the whole application, right now.
Tested, with __RegisterWindowClass works well. I guess it is a memory corruption: something overwrites Unregister bytecode or related memory.
08-12-2018, 03:46 PM
Does it happen with simple macro like this?:
Macro Macro32
08-12-2018, 03:54 PM
Quote:If you find it useful I can download the whole application, right now. Yes, I'll test it. Export its folder to a .qml file, open/test that file (important, because I usually cannot test your macros because of many unknown functions), then attach here.
08-12-2018, 04:06 PM
Macro32 works OK with me. I upload the problematic macro. Please, run the executable and then click cancel. It then gives the error, in my PC. Many thanks, again.
08-12-2018, 04:11 PM
Cannot run it, unknown identifier.
I am sorry for this inconvenience. I understand this upload does not have any unknown identifiers.
Dear Gintaras, I have just found my error! I am sorry for taking your time. It was absolutely my mistake. Best Regards.
08-12-2018, 05:42 PM
OK.
|
« Next Oldest | Next Newest »
|