iupdrvTimerStop  is called when a timer is stopped or when a timer is
destroyed.

  iupwinSetCustomQuitMessage is called only when the global
attribute CUSTOMQUITMESSAGE is set. But it doesn't do anything more than
register the native quit message.

  So, what's the context when this happens?

Best,
Scuri






Em qui., 26 de ago. de 2021 às 16:01, Isaac Raway <is...@mm.st> escreveu:

> Hi there, my program is exiting unexpectedly. Here is a stack trace:
>
> ntdll!NtTerminateProcess+0x14
> ntdll!RtlExitUserProcess+0xb8
> KERNEL32!ExitProcessImplementation+0xb
> ucrtbased!exit_or_terminate_process+0x3a
> ucrtbased!common_exit+0x79
> ucrtbased!exit+0x16
> stonenotes_nt!iupdrvTimerStop+0xd8
> USER32!UserCallWinProc+0x2ae
> USER32!DispatchMessageWorker+0x18b
> stonenotes_nt!iupwinSetCustomQuitMessage+0x130
> *stonenotes_nt!IupLoopStep+0x2d*
> *stonenotes_nt!main+0xce*
> stonenotes_nt!invoke_main+0x39
> stonenotes_nt!__scrt_common_main_seh+0x12e
> stonenotes_nt!__scrt_common_main+0xe
> stonenotes_nt!mainCRTStartup+0x9
> KERNEL32!BaseThreadInitThunk+0x14
> ntdll!RtlUserThreadStart+0x21
>
> I'm calling IupLoopStep in a loop like so:
>
> while (!win->quit) {
>     IupLoopStep();
> }
>
> However this happens exactly the same way even if I call IupMainLoop().
>
> What can I do to figure out what is causing this?
>
> Thanks,
>
> IJR
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to