Type: Posts; User: Rocky651
Search took 0.02 seconds.
July 11th, 2012, 04:52 PM
All right, I understand now. You're right, a pure virtual class can be used but cannot be instanciated, this is where my confusion comes from. In my code, there is no instanciation, the creation of...
July 11th, 2012, 01:49 PM
Yes, I understand what you say. Indeed, panel_get_registered_c_callback returns a pointer on a subclass of IPanelCCallback, the signature is:
July 11th, 2012, 05:22 AM
I develop add-ons for MS Flight Simulator and I use the poorly documented SDK for this. The SDK provides a .h file in which an interface class is defined (with pure virtual methods only),...
January 21st, 2009, 04:17 PM
Indeed, using WaitForSingleObject to wait for the trigger (an event) that starts the work is much better. The CPU usage is now optimal and my thread is as fast as before !!
Thank for your help !!...
January 21st, 2009, 10:44 AM
This would work, but if 'work' is set to true while the thread is sleeping, there can be a delay of 100 ms (in the worst case) before the work begins. This is not acceptable because of the...
January 21st, 2009, 06:40 AM
I am just a beginner in mutlithreading.
I have a main program that creates a single thread, which code looks like this:
November 21st, 2007, 01:59 PM
Thank you very much, it now works fine !!
You were right, my buffer was too big and was corrupting the stack. I didn't think about this because the same code was working fine with FS2004 and FSX...
November 21st, 2007, 04:14 AM
I didn' want to make my post too complex and too heavy, and this is why I didn't write everything. Obviously, I check the validity of the hFile file handler right after CreateFile. MaxSize has an...
November 20th, 2007, 02:53 PM
I am a Flight Simulator add-on developer. I work with FS2004 and FSX, the latest version of the sim.
In my code, I want to read the content of a file, so I use ReadFile in synchronous mode, like...
I've been told that Windows Vista will include a new 2D rendering engine based on DirectX. Is that true?
If yes, what is the name of this rendering engine? Is it testable before the...
January 21st, 2006, 11:25 AM
Please forget my post, I have finally found the answer by myself.
January 11th, 2006, 04:34 PM
tiberiu11, may I ask you what you are trying to do with AGG?
I mean, what use you plan to make?
The last post you wrote makes me believe we're trying to do something similar ;-)
January 11th, 2006, 11:16 AM
I have looked carefully at Anti-Grain Geometry. It looks very interesting, but I regret I couldn't find a VERY simple example that would just draw a line...
Did some of you have the opportunity to...
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!