MJ79 wrote:Call me an id, but I've downloaded the MSVCP120.dll and installed the Visual C++ redistributal package yet the programs still asks for 'MSVCR120.dll' or something.
You shouldn't place any extra DLLs into your folders. Beta 1b fixes the wrong DLL usage so the redistributable packages should do the trick. If all else fails, try uninstalling the packages and then reinstalling the x86 one.
Seidolon wrote:This looks really useful. I'm looking to make a program with C++ that allows you to easily create in-game HudMessage based menus, but I've lost focus on that because I am having trouble with simple things like loading images. Could you give me some pointers possibly?
Most of what others have said so far is reasonably spot on, but it depends on platform, language, and what sort of API you want to work with--in this particular case on Windows with C++, you generally have either Windows GDI, OpenGL, or DirectX.
- Windows GDI: Can't help you there, though it would mostly involve loading the raw image data in as bitmaps and then drawing it. wxWidgets has a decent abstraction layer for GDI contexts.
- OpenGL: There are countless imaging libraries out there that can work with this. I used SFML to handle the images as it also provides an OpenGL Texture abstraction to load them into GPU memory for you.
- DirectX: Use D3DX9/10/11 headers and go from there, it provides pretty much all the image loading functionality you'll need. Alternatively, for older compatibility, earlier versions of DirectX may be used.
Honestly, loading the images is the easiest part; managing them properly, providing fail-safe defaults, and handling other nuances of that sort of thing is more complicated. With Danimator, I utilized an old Texture Manager that I had written for a (scrapped) game. If you want to implement something like that (elegantly and properly), you should probably read up on/be familiar with the following: