Ok, so I've created a scene graph sort of system I guess you would call it using all my own drawing functions which are as yet pretty well untested. All my operations should go onto a temporary DC...
Type: Posts; User: Ichmael™
Ok, so I've created a scene graph sort of system I guess you would call it using all my own drawing functions which are as yet pretty well untested. All my operations should go onto a temporary DC...
I see, interesting. Thanks guys. That'll give me a start at least.
I was jst staring at my wall, it's covered in diagrams and various formulas from past projects, one of them was my opengl gui lib which I never even finished. All of a sudden I have an urge to start...
Ok, so I've just kept working at it. So tired now, but oh so close. Stuck again though. I have the server creating threads now, and I have each socket kept track of in a class instance which in turn...
Hi all,
I've written a pretty basic server. However now I've ran into a problem (and well I'm on an extremely short deadline so hopefully you guys can help me out).
Basically, I can connect...
Well, I've tried to obfuscate the programmer as much as possible from the core of the system, for simplicity sake. They should never really have the need to actually modify the way that widgets are...
Yeah, that's a fair enough point.
I'm looking into creating a GUI system for OpenGL, or whatever you want to render it with (it doesn't really matter for the question).
I have a fundamental problem with the way to store widgets.
...
Oh bloody hell, I knew it'd be something stupid like that. I think I'd best go to sleep, I've rewritten it and it's working now. Thanks guys.
[edit:] I just wrote it how I have been writing all my...
Oops, I meant to add-
Why not itoa, reverse then atoi? Or I think you could use a bitset.
so you're saying, given a number (say 1234) you want it to be returned last digit first and first last (4321)?
Alright, maybe I should have just posted the whole glob of code in the first place (usually I would have, it's 4am, I'm hardly thinking straight).
#include <iostream>
struct LOGENTRY{
...
Alright, I thought I had fully grasped strings but lately a lot of my work has required me to output strings and manipulate strings and I keep running into all sorts of trouble for such basic a...
I prefer FMOD, it's pretty easy to use. And it's free if you're not selling your program.
www.fmod.org
FSOUND_Init( 32000, 64, 0 );
FMUSIC_MODULE midi = FMUSIC_LoadSong( "song.midi" );...
Well I'd always assumed that sort of thing didn't cause a leak, it keeps reference to the memory till the end of that statement doesn't it?
Ahh I have this problem of making things unecesseraily complicated. I'll see how I go with that, but I can see the idea is much more logical.
Alright. Well now for the next problem. I'm trying to use that function with the following to return string between 2 delimiters.
char* strbetween( char* searchstr, char* delimiter1, char*...
Still doesn't seem to be working properly, the output is not always correct. Sometimes it will just output the char 's' and there wasn't a single one in the given string.. Any ideas? I've modified...
Ahh, of course.. Thanks champ.
I'm terrible when it comes to string manipulation, I always seem to find a way to segfaut or something. I'm trying to return the string between 2 offsets of another string but I'm getting weird...
I see. Well I tried your method for UTF16-LE and it seems to work. Except I am getting those little boxes [] where if I open in openoffice.org I'd be getting # (hash).. And now the junk at the...
I'm a n00b to unicode so go easy on me, I'm also the type who likes to code first and read documentation later.
I'm trying to read a unicode file, and I've pretty much got it working. But there is...
Well I'm not exactly sure what you are doing but the Win32 API supplies several methods such as:
LoadLibrary()
LoadLibraryEx()
And you can use GetProcAddress() and such to use functions.
I've been developing an event based application framework, in many respects its quite similar to MFC but with a much smaller overhead. Its designed to let you get a quick start to building an...
Oops-
BOOL EnumChildWindows(
HWND hWndParent, // handle to parent window
WNDENUMPROC lpEnumFunc, // pointer to callback function
LPARAM lParam // application-defined...