I have DCMTK compiled with /MD and /MDd using the native visual c++ 2008 compilers. I am trying to #include dctk.h in a new C++/CLI Windows Form application. The application is the regular Windows Form template with nothing else changed except that I set up the linker for the DCMTK libraries.
With the addition of "#include "dcmtk/dcmdata/dctk.h" the program still compiles fine without any warnings but immediately upon execution I get a runtime exception "Debug Assertion Failed."
Specifically the error says "Expression:_CrtIsValidHeapPointer(pUserData)."
I get this error with only the above #include directive. I haven't declared any objects and the like.
Anyone have any ideas?
Using DCMTK with C++/CLI
Moderator: Moderator Team
-
- Posts: 61
- Joined: Wed, 2010-05-19, 09:27
- Location: Taipei, Taiwan
Who is online
Users browsing this forum: No registered users and 1 guest