problem with static codegeneration /MTd

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
arno
Posts: 1
Joined: Mon, 2007-02-05, 18:05

problem with static codegeneration /MTd

#1 Post by arno »

I hope that anyone can help me:
in cause of several other dlls i have to link offis statically (MTd-Codegeneration) and can not change this.
In one dll where the offis functionality (only reading dicom-tags) is used, i have to link against the netapi32.dll and the wsock32.dll (FAQ #26),
to avoid linker errors. But these both dlls link dynamically to the msvcrt.dll. This causes many trouble, and i have to avoid mixing the
static and dynamic dlls.
My Question: can i get rid of these boths dlls to solve my problems, and how?

Thanks, for suggestions!!!

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1459
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#2 Post by Marco Eichelberg »

if I remember correctly, static code generation (/MT for release, /MTd for debug) is the default for DCMTK, and does not cause any problems with netapi32.dll and wsock32.dll. And no, there is no easy way of getting rid of these libraries, because functions from these libraries are used not only for the network module, but also for the UID generation code.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest