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

Search:

Type: Posts; User: S_M_A

Search: Search took 0.07 seconds.

  1. Replies
    10
    Views
    6,759

    Re: Memory leaks when mixing managed & native code

    I'm allowed to change the code but I'm not contracted for that so I can't spend a lot of hours on it or do something that turns their world upside down. A few hours is no problem so if I find some...
  2. Replies
    10
    Views
    6,759

    Re: Memory leaks when mixing managed & native code

    That's great input. Even though I've never done anything in managed C++ before my gut feeling is that it's at least one of the proper ways of doing it if one have all the source.

    I'm not supposed...
  3. Replies
    10
    Views
    6,759

    Re: Memory leaks when mixing managed & native code

    Your ideas woke me up enough to try to debug things instead of just searching the net. :)

    If a breakpoint is set at DllMainCRTStartup it turns out that it's actually called both on start-up and on...
  4. Replies
    10
    Views
    6,759

    Re: Memory leaks when mixing managed & native code

    Thanks! I agree however that the solution isn't exactly a dream. It should be possible to use in my case but it also defeats the purpose of using a smart pointer.

    There are most likely a lot of...
  5. Replies
    10
    Views
    6,759

    Re: Memory leaks when mixing managed & native code

    Thanks, that's a good guess but it's not present in any lib or crt source (searced both "Program Files" and "Program Files (x86)". Also, if it was present I doubt that forcing a call to it would do...
  6. Replies
    10
    Views
    6,759

    Memory leaks when mixing managed & native code

    In my current assignment there is an application where they have mixed managed (I have never worked with managed C++ before) and native C++ code. I tried to introduce the usage of smart pointers and...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured