This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, March 27, 2007 7:59:29 PM(UTC)
Groups: Registered
Posts: 5
Hello
I'm having problem using the Lead Vector ActiveX control within Delphi 2006.
I have imported the component (generating the appropriate wrapper classes), and have been successfully able to use it within a testbed application, which loads an SVG file and renders it (using the Render function) on a LeadMain VCL control.
When I copy this same code to my main project, I get a run-time error when loading the same vector image into the vector control:
EOleException with message 'LEAD Error: Invalid file format'.
I have called UnlockSupport(L_SUPPORT_VECTOR, ...) on the control in case this was the cause, but to no avail. I have also tried loading other vector images (that work correctly in the testbed app) but this also does not work.
Has anybody encountered such issues before?
Regards,
Andrew
#2
Posted
:
Saturday, March 31, 2007 5:37:15 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Andrew,
'Invalid file format' error messages are normally generated due
to a missing DLL file which is required to load specific image format. For
example, if you want to load SVG vector file, you need to deploy the LFSVG???.DLL
file with your application.
For a listing of the exact DLLs needed when deploying
your application, refer to "Files To Be Included With Your Application"
topic in our help file.
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.