Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, May 10, 2013 2:29:10 AM(UTC)
rulingking

Groups: Registered
Posts: 26


Hi,

Attached herewith a sample in which I want to load DICOM image into LEADRasterView by API DICOMDS.
Used are the API calls L_DicomCreateDS, L_DicomLoadDS, L_DicomFindFirstElement, L_DicomGetImage.

Function OpenDicomDS in frmLoadImage opens a dataset, where the problem is while reading L_DICOMGetImage.
modAPIDeclarations.bas is the module where the api's are declared along with types.


The versions of the files referenced are:

LTRVW14N.ocx v14.5.0.77
LTDIC14N.dll v14.5.0.2
LTKRN14N.dll v14.5.0.2
LTOCX14N.dll 14.5.0.1

Looking to find out the solution or a way out.


Regards,
File Attachment(s):
LoadDicomImageAPISample.zip (126kb) downloaded 35 time(s).
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Monday, May 13, 2013 6:36:13 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

You are using old build of LEADTOOLS v14.5 dlls. To obtain the latest patches, please send your LEADTOOLS v14.5 serial number (don't post it here) in a new email to support@leadtools.com and mention this forum post.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#3 Posted : Monday, May 13, 2013 10:36:21 PM(UTC)
rulingking

Groups: Registered
Posts: 26


Hi Maen,

Thanks for your reply.
I do have patch of v14.5.0.82.
The API I am using is from LTDIC14n.dll and its not within the same patch.

Basically the declaration of L_DICOMGETIMAGE is not correct as I guess. Still trying to update the patch of 14.5.0.82.

But do you think after updating the patch it will solve the problem of what I am trying in attached sample ?
 
#4 Posted : Tuesday, May 14, 2013 5:44:43 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

I rechecked your code and found the following problems:
1. You are passing vbNull to L_DicomGetImage. You should pass "0" instead of vbNull.
2. You are declaring the functions using LTDIC14n.dll and LTkrn14v.dll. You shouldn't use these DLLs because you are using the LEADTOOLS COM programming interface. You should use the LTDICKRN14N.DLL and LTR14N.DLL.

I am attaching the modified project. Please check the attached project and let me know if you have any comments.    

Thanks,
Maen Badwan
LEADTOOLS Technical Support
File Attachment(s):
LoadDicomImageAPISample.zip (127kb) downloaded 37 time(s).
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2019, Yet Another Forum.NET
This page was generated in 0.176 seconds.