Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Rocky651

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,243

    Re: Pure virtual methods and interface class

    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...
  2. Replies
    6
    Views
    1,243

    Re: Pure virtual methods and interface class

    Yes, I understand what you say. Indeed, panel_get_registered_c_callback returns a pointer on a subclass of IPanelCCallback, the signature is:


    IPanelCCallback* (FSAPI...
  3. Replies
    6
    Views
    1,243

    Pure virtual methods and interface class

    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),...
  4. Replies
    6
    Views
    1,323

    Re: How to avoid resource consumption

    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 !!...
  5. Replies
    6
    Views
    1,323

    Re: How to avoid resource consumption

    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...
  6. Replies
    6
    Views
    1,323

    How to avoid resource consumption

    I am just a beginner in mutlithreading.
    I have a main program that creates a single thread, which code looks like this:

    MyThread
    {
    while (threadActive)
    {
    if (workToBeDone)
    ...
  7. Replies
    6
    Views
    691

    Re: ReadFile crashes FSX

    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...
  8. Replies
    6
    Views
    691

    Re: ReadFile crashes 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...
  9. Replies
    6
    Views
    691

    ReadFile crashes FSX

    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...
  10. Replies
    2
    Views
    409

    Windows Vista rendering engine

    Hello Gurus,

    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...
  11. Replies
    0
    Views
    1,033

    GDI+ Font Metrics

    Please forget my post, I have finally found the answer by myself.
  12. Replies
    21
    Views
    4,069

    Re: 2D rendering engine

    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 ;-)

    Rocky
  13. Replies
    21
    Views
    4,069

    Re: 2D rendering engine

    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...
Results 1 to 13 of 13


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center