DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Sun, 2017-12-17, 22:36

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sat, 2017-11-25, 08:41 
Offline

Joined: Tue, 2010-05-04, 15:01
Posts: 9
I am reviving an old application that had run with a prior version of the Toolkit exe's.
To install the latest version of 64 bit toolkit, I believe I have to register dcmnet.dll and dcmdata.dll in the SysWOW64 directory.

When I try this (regsvr32 dcmnet.dll) from the SysWOW64 directory, I get the following error:

The module "C:\Windows\SysWOW64\dcmnet.dll" failed to load.
Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files.
The specified module could not be found.

I don't understand why I am seeing this, since the .dll's certainly are in the SysWOW64 directory.

Thanks in advance!

_________________
bdelman
Mt. Sinai School of Medicine


Top
 Profile  
 
PostPosted: Sun, 2017-11-26, 16:06 
Offline
DCMTK Developer

Joined: Fri, 2004-11-05, 13:47
Posts: 1650
Location: Oldenburg, Germany
Hi,

sorry I don't know your specific project, including the SysWOW64 directory.

In general, the DLLs have to be in a DLL search path. In general, as far as I know, the path where the executable (e.g. DCMTK's findscu) lives in, is also searched when the executable is run. Try copying the DLLs into the same directory as the DCMTK .exe files. Make sure you use the new .exe files with the new DLLs.

Best,
Michael


Top
 Profile  
 
PostPosted: Mon, 2017-11-27, 09:45 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Mon, 2014-03-03, 09:51
Posts: 223
Location: Oldenburg, Germany
Are you aware that you need to put 64 bit dlls to the System32 directory and only 32 bit dlls to SysWOW64? I know, this seems pretty retarded, but it's Windows so thats normal I guess.


Top
 Profile  
 
PostPosted: Thu, 2017-11-30, 02:25 
Offline

Joined: Tue, 2010-05-04, 15:01
Posts: 9
[SOLVED!]

Thanks both.

Actually, Michael's solution worked. as long as the dll is in the calling exe directory it will use it.

Jan, I wasn't aware of that. Will putting the 64bit dll in the 32bit System directory offer any speed advantage over the solution above>

_________________
bdelman
Mt. Sinai School of Medicine


Top
 Profile  
 
PostPosted: Thu, 2017-11-30, 10:26 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Mon, 2014-03-03, 09:51
Posts: 223
Location: Oldenburg, Germany
bdelman wrote:
Jan, I wasn't aware of that. Will putting the 64bit dll in the 32bit System directory offer any speed advantage over the solution above>

Not that I know. As I understand it the benefit of this solution would be that the DLL could be shared by serveral applications installed at different locations in the filesystem. This is probably not relevant for DCMTK though.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group