Re: RE : RE : RE : RE : [fpc-pascal] Re: PDFlib TET - convert using h2pas

2011-05-18 Thread Marcos Douglas
On Wed, May 18, 2011 at 3:12 PM, Ludo Brands wrote: > > Remember, what I did was just educated "arm twisting" the input file so that > h2pas could understand the input and do the bulk of the work. There is still > quite some work to do after on the pp file. Some can be done from looking at > the h

RE : RE : RE : RE : [fpc-pascal] Re: PDFlib TET - convert using h2pas

2011-05-18 Thread Ludo Brands
of the API. Ludo -Message d'origine- De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] De la part de Marcos Douglas Envoyé : mercredi 18 mai 2011 19:54 À : FPC-Pascal users discussions Objet : Re: RE : RE : RE : [fpc-pascal] Re: PDFlib TET

Re: RE : RE : RE : [fpc-pascal] Re: PDFlib TET - convert using h2pas

2011-05-18 Thread Marcos Douglas
On Wed, May 18, 2011 at 2:43 PM, Ludo Brands wrote: > > Here you go, Now I can learn a bit more about C language, comparing your header file with my (incomplete) header file. Thanks, Marcos Douglas ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

RE : RE : RE : [fpc-pascal] Re: PDFlib TET - convert using h2pas

2011-05-18 Thread Ludo Brands
Here you go, Ludo -Message d'origine- De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] De la part de Marcos Douglas Envoyé : mercredi 18 mai 2011 19:37 À : FPC-Pascal users discussions Objet : Re: RE : RE : [fpc-pascal] Re: PDFli

Re: RE : RE : [fpc-pascal] Re: PDFlib TET - convert using h2pas

2011-05-18 Thread Marcos Douglas
On Wed, May 18, 2011 at 1:28 PM, Ludo Brands wrote: > >From your question COM or header, I assumed you are only interested in > windows. I also assume that you don't want to export functions defiend. So, > I did the following: > - removed PDFLIB_API and PDFLIB_CALL (point 1 in my previous message)

Re: [fpc-pascal] Re: PDFlib TET - convert using h2pas

2011-05-18 Thread Marcos Douglas
On Wed, May 18, 2011 at 12:05 PM, Felipe Monteiro de Carvalho wrote: > > On Wed, May 18, 2011 at 4:43 PM, Marcos Douglas wrote: > > Answer me: if you were to use this lib, which way do you choose? > > ActiveX (Delphi or FPC), translate header or use another language with > > support (Java, .NET,

RE : RE : [fpc-pascal] Re: PDFlib TET - convert using h2pas

2011-05-18 Thread Ludo Brands
rcredi 18 mai 2011 16:51 À : 'FPC-Pascal users discussions' Objet : RE : [fpc-pascal] Re: PDFlib TET - convert using h2pas In this case: 1) because h2pas doesn't use pascal macro's. A construct like #if defined(WIN32) && !defined(PDFLIB_CALL) #define PDFLIB_CALL _

Re: [fpc-pascal] Re: PDFlib TET - convert using h2pas

2011-05-18 Thread Felipe Monteiro de Carvalho
On Wed, May 18, 2011 at 4:43 PM, Marcos Douglas wrote: > Answer me: if you were to use this lib, which way do you choose? > ActiveX (Delphi or FPC), translate header or use another language with > support (Java, .NET, Pyhon, Perl, etc... see here > http://www.pdflib.com/products/tet/how-to-use-tet

RE : [fpc-pascal] Re: PDFlib TET - convert using h2pas

2011-05-18 Thread Ludo Brands
: FPC-Pascal users discussions Objet : [fpc-pascal] Re: PDFlib TET - convert using h2pas On Tue, May 17, 2011 at 5:04 PM, Marcos Douglas wrote: > > Hi, > I would like to use the TET[1] in FPC on Windows. > There are 2 options: > 1- Translate C header to use libtet.dll (I prefer); &

Re: [fpc-pascal] Re: PDFlib TET - convert using h2pas

2011-05-18 Thread Marcos Douglas
On Wed, May 18, 2011 at 11:37 AM, Felipe Monteiro de Carvalho wrote: > > If you have any question about translating manually I can help. > OK, thank you! Answer me: if you were to use this lib, which way do you choose? ActiveX (Delphi or FPC), translate header or use another language with support

Re: [fpc-pascal] Re: PDFlib TET - convert using h2pas

2011-05-18 Thread Felipe Monteiro de Carvalho
If you have any question about translating manually I can help. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: PDFlib TET - convert using h2pas

2011-05-18 Thread Marcos Douglas
On Wed, May 18, 2011 at 11:26 AM, Felipe Monteiro de Carvalho wrote: > The file is not big, why don't you just convert it manually? There are 2 reasons: 1- I do not know C very well. 2- Because the first reason, maybe I expended much time to do this. I would like the help of h2pas tool. Thanks,

Re: [fpc-pascal] Re: PDFlib TET - convert using h2pas

2011-05-18 Thread Felipe Monteiro de Carvalho
The file is not big, why don't you just convert it manually? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: PDFlib TET - convert using h2pas

2011-05-18 Thread Marcos Douglas
On Tue, May 17, 2011 at 5:04 PM, Marcos Douglas wrote: > > Hi, > I would like to use the TET[1] in FPC on Windows. > There are 2 options: > 1- Translate C header to use libtet.dll (I prefer); > 2- Use the COM object (TET_com.dll); > > I can use COM in Delphi 7 easily. There is a Wizard to translat