Hi,
I've been trying to use TLS security feature offered by dcmtk in my application. I was able to use TLS feature in debug mode but while running my application release mode, this access violation occurs everytime
Exception thrown at 0x00007FFD0252BDC0 (dcmtkssl-1_1-x64.dll) in ConsoleApplication1.exe: 0xC0000005: Access violation executing location 0x00007FFD0252BDC0
The access violation occurs when creating an object for DcmTLSTransportLayer.
I am keeping dcmtk as a dll in my application. Any insight regarding this issue will be helpful.
Regards,
Cyril M Jose
Access violation while trying to apply TLS in release mode
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2505
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Access violation while trying to apply TLS in release mo
Which version of the DCMTK do you use? Does it work if you try storescu and storescp with TLS options?
Re: Access violation while trying to apply TLS in release mo
I am using openssl-1.1.0. I didn't check the connectivity with storescu and storescp with TLS option. I just used echoscu with tls for checking but it didn't connect in release build.
Regards,
Cyril M Jose
Regards,
Cyril M Jose
-
- DCMTK Developer
- Posts: 2505
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Access violation while trying to apply TLS in release mo
So, do you use the current DCMTK release 3.6.3? And, which SCP did you use for cheking (with echoscu)?
Re: Access violation while trying to apply TLS in release mo
Thanks for the help. It is working now, I was careless while adding lib files to the dependencies. I had added debug lib files for openssl in my lib file dependencies in release mode. After I removed them, it is working properly.
Thanks and regards,
Cyril M Jose
Thanks and regards,
Cyril M Jose
Who is online
Users browsing this forum: Majestic-12 [Bot] and 1 guest