CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1
  1. #1
    Join Date
    Jun 2002
    Posts
    78

    odd exception - guarded memory space in DLLs??

    Hi Everyone,
    I'm back with another stupid(?) question...
    This time I formated a computer and reinstalled VS6+SP5 before asking.

    I've created a process (procmain.cpp) and a DLL (test.cpp).

    Unless I build both with compile option "Debug Multithreaded DLL" I catch an exception on procmain.cpp:23 (the delete).

    Can anyone explain why?
    I tried compiling as single threaded, debug single threaded, and multi threaded with every combination between the two, and the only one that does not catch an exception is "Debug Multithreaded DLL"
    Is the memory space for a DLL protected??
    It does not seem to matter whether I load the DLL manualy or automatically.

    While we're on the subject, can anyone direct me to a GOOD source about code generation and project setting issues in VS6?
    It seens to me I'm having way too many problem with these things.

    Again, thank you to anyone who can help,
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured