www.PDF-Analyzer.com
Ingo Schmoekel - Software-Dev.& Distribution

* Start

* Products
* Ordering
* Download
* Links
* Contact
* References


FromImage2PDF - A dll for your pdf-files... Royalty free!

How to use the dll...

In the test-package (zip) there are already sample projects for Delphi 5 and Visual Basic 6.0  included. For all the C++ developers here's a sample project working with another dll of mine but the main handling is the same for all of my dlls:

C++ Project

Not really a mainstream devtool but it works with my dlls, too: Here's a sample project made with PowerBuilder 8.0 using my PDFtext.dll. The project includes workspace, target, library, a readme-file and a screenshot of the sample project:

PowerBuilder 8.0 Project

About installation and working with the dll...
This dll doesn't have an entry point so it's not necessary to register it.
Only copying into the system32-directory or in the directory where your application is installed.
If you're using vba (from ms access or excel for example) you should declare the functions as private and not public.
Using .NET-environments (like MS Visual Studio) it's often better (to avoid stack errors) to change the parameter-types from longinteger to integer or int32 (vb2005/vb2008) or UInt32 (C#).

64 bit applications...

It's a 32-bit-dll but it's working with your 64-bit-application, too. If you're using Visual Studio or similar all you have to do is setting the platform target to "x86" instead of "any cpu".

Here're the steps what you've to do working on a 64-bit-machine with Visual Studio using the 32-bit-dll:

1. Right mouseclick on your project.

2. Selecting "Properties" from the contextmenu.

3. A click on the tab "Build".

4. At the section "General" you can change "platform target" to "x86".

5. Save. 

32-bit-dll on 64-bit-machines...
Windows systems with 64 bit are offering two system-directories for components (dlls).
"System32" and "syswow64". You shouldn't trust these names... "system32" is for the 64-bit-dlls and "syswow64" is for the 32-bit-dlls! Crazy... isn't it ;-)

GDIplus.dll missing?
If you're using this dll on a windows version below xp or windows 7 (64 bit), it may be that you have to install additionally the GDIplus.dll which is used by the dll for better extraction- and preview-functionality. You can put the dll simply into the path of your application or into the system32-directory (on win-32-bit-systems) or into the syswow64-directory (on win-64-bit-systems). The GDIplus.dll is an original 32 bit Microsoft-dll. You can find it in Microsoft download-sections or in the test-packages here on the pages.