problem displaying text.
As i do with most large projects, i write parts of them just with the console to get all the code working, and then i convert it to a Win32 app. Anyway to get to my point, i am having a bit of trouble here.
In the cosole i display my text like
and everything works fine. Now of course in windows i cant go MessageBox(..,cl.eval(expbuf),..,..); and the same with SendMessage(); so i tried using sprintf() to get it into a char buff so i could then use SendMessage() however when i try this my Buffer is always 0 :(. So now im lost,
Thank you for any advise.
>>> windows i cant go MessageBox(..,cl.eval(expbuf),..,..);
It depends what type the eval method of your cl class returns of course. If it returns a character pointer, then you could indeed do that. Otherwise, sprintf to a temporary buffer should work. I think you should post a little code which demonstrates your problem.