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...
Hello,
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),...
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 !!
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...
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...
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...
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...
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...