PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

How to use pdfSharp library (dll) in Visual Basic 6
https://forum.pdfsharp.net/viewtopic.php?f=2&t=359
Page 1 of 1

Author:  pinguin [ Thu Apr 03, 2008 2:52 pm ]
Post subject:  How to use pdfSharp library (dll) in Visual Basic 6

I have been trying to use PdfSharp in Visual basic 6. I tried to generate a COM pdfSharp.dll that could be used from VB6. In Visual Studio 2005 I have selected the register as COM dll option and added the "using System.Runtime.InteropServices;" line. The dll does not build, however. I get the following error:

"The assembly "C:\.....\PdfSharp\bin\Debug\PdfSharp.dll" could not be converted to a type library. Type library exporter encountered an error while processing 'PdfSharp.Pdf.Content.Objects.OpCodeName.B, PdfSharp'. Error: Ambiguous name."

Does anybody succeeded in building a COM dll from pdfSharp?
Is there any other way to use the library fom VB6?

Thank you in advance.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/