WSL2 OpenGL apps with sound

Install VcXsrv Start VcXsrv:Multiple windows,Start no client,Native OpenGL – unchecked,Disable access control – checked. Download Pulse audio server from ‘etc\pulse\’Addload-module module-native-protocol-tcp auth-ip-acl=YourLinuxOrWSLIp auth-anonymous=1load-module module-waveout sink_name=output source_name=input record=0 Edit ‘etc\pulse\daemon.conf’exit-idle-time = -1 Run ‘bin\pulseaudio.exe’ In WSL Ubuntu: Add to /.bashrcexport DISPLAY=YourMainIp:0export LIBGL_ALWAYS_INDIRECT=0export PULSE_SERVER=YourMainIp sudo apt-get install x11-appsxeyessudo apt-get install mesa-utilsglxgearsglxinfo | grep rendererglxinfo | grep […]

PowerBuilder, different DD list values for each row

Source Step 1 – declare instance variables boolean ib_dropdowndropped = False boolean ib_dropdownredrawn = True Step 2 – extend the pbm_dropdown event ib_dropdowndropped = True ib_dropdownredrawn = False of_Filter(True) ib_dropdownredrawn = True Step 3 – extend the pbm_ncpaint event If (ib_dropdowndropped And ib_dropdownredrawn) Then ib_dropdowndropped = False ib_dropdownredrawn = False of_Filter(False) ib_dropdownredrawn = True End […]