Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 21 Feb 2002
Offline Last Active Yesterday, 10:34 PM

Posts I've Made

In Topic: Moving from plain "ascii" to XML?

21 October 2016 - 11:33 PM

Another option would be using Lua. It's a full blown scripting language, that actually started out as being used for config files.

If you intend to add scripting support to your library as well this might be a good match.

In Topic: C++ - win32: can i change the menu font?

20 October 2016 - 11:07 PM

You might have to resort to owner draw menus:


In Topic: XAudio2 in dll, crash in FreeLibrary

13 October 2016 - 11:42 PM

Yeah, I stumbled upon that link too. The fix seems to target XAudio 2.7 only; as it seems, I'm getting XAudio 2.9 on Windows 10. The result is remarkably similar.

Duh! I still tried the workaround, and I had to replace 2.7 with 2.9 (and no debug lib), and it actually works! I can now switch sound plugins on the fly between DXSound8 and XAudio2. Yay :)

Still, it leaves an uneasy feeling. Before I linked to XAudio2.lib with no direct Dll dependency. As far as I understood, the runtime will choose the proper dll depending on OS. Now I basically fixed it to 2.9. Will that work on Win 7 or 8.x? Or will I have to check the OS version (urgh! red flag!) and load the corresponding DLL?

In Topic: A snapshot history of Gamedev.net looks

12 October 2016 - 11:58 AM

Yeah, I found a post of my earlier self :)

Shows how much bloat the web stuff got without any merit.

In Topic: Why didn't somebody tell me?

06 October 2016 - 01:11 PM

Yeah, with no selection I want Cut/Copy to affect all. Esp. annoying in painting apps, that simply do nothing without selection instead of simply copying the whole image.

Did you know the (Windows) clipboard can contain different formats at once? You can insert an image as image (duh, but several kinds of image are possible) plus for example a custom type to contain more metadata. Normal programs can paste an image, your program can act on the custom type.

Also, at least in explorer, in the tree view, pressing left repeatly closes the folder you're in (if it's expanded) or moves to the next parent (if it's closed).
Alt-Numblock-* will open the next level of all sub folders under the selected one.