SpiderPig Posted April 29, 2011 Share Posted April 29, 2011 The description says it! I've made a function in a dll and I want to write text to the screen through it (on the leadwerks buffer), but printf only prints to the console. I could make do with that but it keeps adding to it every loop and it's not pretty... Does any one know how to print to the screen using C++ commands? Or - printing to the console and erasing text from the previous loop? Thanks! Quote Link to comment Share on other sites More sharing options...
Josh Posted April 30, 2011 Share Posted April 30, 2011 DrawText()? Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
SpiderPig Posted April 30, 2011 Author Share Posted April 30, 2011 That's a Leadwerks command isn't it? I'm calling this function from a dll... Quote Link to comment Share on other sites More sharing options...
Josh Posted April 30, 2011 Share Posted April 30, 2011 Yes, that's correct. You could always give the DLL the Leadwerks function pointer. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
SpiderPig Posted April 30, 2011 Author Share Posted April 30, 2011 I was thinking that - I'll give it a try Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted April 30, 2011 Author Share Posted April 30, 2011 Got it working by pointing to DrawText. Thanks Josh... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.