16
General Discussion / Re: when will version 5.1 of ArcaOS be released
« on: August 28, 2023, 10:36:44 am »
Yes, most likely everybody wants that. It would be better to just wait a day, so that the load on the site can subside.
OS2World.com Forum is back !!!
Remember to visit OS2World at:
http://www.os2world.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
The most likely cause is a dialog-ID mismatch resulting in a null hwnd (or less likely, the wrong hwnd). A null string (i.e. "") is also a possibility. Use an fprintf() immediately before the failing call to confirm, e.g.All the handles are not null. I also used WinSendDlgItemMsg, but actually none of the LM_INSERT messages fail. They all return 0 as index, which should be valid value.Code: [Select]fprintf(stderr, "hwnd= %x str= %x - %s\n), launcher.listIWAD, iwadname, (iwadname ? iwadname : "null");
Run the app using "xxx.exe 2>&1 | tee"
FWIW... there's no need to suplpy a log file name if using GNU 'tee' (unless you want a log).
https://github.com/josch1710/prboom-plus-os2/tree/launcher
.WinSendMsg(launcher.listIWAD, LM_INSERTITEM, MPFROMSHORT(LIT_END), MPFROMP((PSZ)iwadname))
launcher.listIWAD is the handle of the control fetched by WinWindowFromID. iwadname is a char array filled with the display string.Redirect stdout and stderr to a file. By habit I do "rocksndiamonds 2>&1 | tee rocksndiamonds.log" as I always forget the other way without tee.Exactly what I did with FeatherPad.
No crash on my machine.@Lars, I don't quite get, what you are getting at. On my machine, the SDL2 tests work.
Use the test apps to play the sound file and manipulate the volume while doing so.
Hi Jochen,Yes, PrBoom does some strange things with the SDL2 audio/mixer interface. I'm working at the moment to have the launcher dialog at startup.
According to PMDLL, 'Rocks and Diamonds' uses SDL2200.dll, SDL2I200.dll, SDL2M200.dll, and SDL2N200.dll. PRBoom uses SDL2I200.dll only (which in turn uses SDL2200.dll). So it looks like they are using the same version, but in a different manner...
Regards,.