Thought I'd stick a c++ question in here.
I'm pretty sure that this should work in regular C/C++:
sprintf(aCharStar, "%d", anInt);
however, if I do it in a DBPro DLL, then as that gets called the DBPro app shutsdown without an error. I've tried using a DWORD instead of an int (IanM seemed to use DWORDS instead of ints in his code) but to no avail. This is by no means a showstopper for me personally, it just pisses me off.
I've also tried excplicit char casting using char(anInt) as well as itoa(str, integer, 10). As soon as I try to piss about with the integer, DBPro quits.
Anyone know what I'm talking about?
A wise man once said: "I know that I need codes but I dont know the codes"