Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-09

Btrieve

8 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Borschel

Hi,
I try to port a BP7.0-program (DOS-Realmode) that uses the TUR5BTRV.PAS as interface to Btrieve (exactly the pervasive sql 2000 used as btrieve engine). When I compile it with FPC I get a btrieve-error 11370, which is not described in the list of errornumbers from btrieve. Has anyone another interface for FPC and btrieve ? (Compiled with BP there is no problem.)

BTW: Is there a possibility to download the complete maillist-archiv for import in a mail-client ?

Thanks,

Michael

Reply by email

Marco van de Voort
to Kassai István
Is there any solution to access a PostgreSQL database from a freepascal program? Has anyone a unit?

Yes, and afaik the generic FCL database stuff also can use them. (though the generic parts are not fully stress tested yet)

Reply by email

Stefan Becker

Hi Michael,
what you are doing should work. If you can access the engine (locally or remote)
make sure that requester is loaded AND using the correct protokoll. This is where I have experienced the more troulbe. Test the connection with the "butil.exe" or the other Pervasive utilities before blaming your own interface!

I'm including my own units to give you another interface to work with! I use this btrieve-unit sucessfully with Borland Pascal 7.0 (dos and Windows) and
Free Pascal in Linux. Yes a btrieve and P-SQL Database-Server on a linux machine.

It's not always well documented and you will have to work through some of the stuff
yourself. I can offer more help if any one wants it. Use at your own risk and so forth.....

low level interface: http://www.yukonho.de/~becker/btrv/btrvtpu.pas hi're level Objects: http://www.yukonho.de/~becker/btrv/datab.pas the butil utility : http://www.yukonho.de/~becker/btrv/butils.pas

let me know if these are of any help!

my best regards,

Stefan Becker
email:

Earlier message 27 lines
-----Ursprüngliche Nachricht----- Von: Michael Borschel An: Datum: Donnerstag, 19. September 2002 18:30 Betreff: [fpc-pascal] Btrieve >Hi, >I try to port a BP7.0-program (DOS-Realmode) that uses the >TUR5BTRV.PAS as interface to Btrieve (exactly the pervasive sql 2000 >used as btrieve engine). When I compile it with FPC I get >a btrieve-error 11370, which is not described in the list of >errornumbers from btrieve. Has anyone another interface for FPC and >btrieve ? (Compiled with BP there is no problem.) > >BTW: Is there a possibility to download the complete maillist-archiv >for import in a mail-client ? > >Thanks, > >Michael > > >_______________________________________________ >fpc-pascal maillist - >http://lists.freepascal.org/mailman/listinfo/fpc-pascal >

Reply by email

Marco van de Voort
to Kassai István
What is FCL stuff, and where I can get that? Are there any samples?

Classes library include with FPC. You already have it (look in your units directory, there is probably a file or dir somewhere postgres, like wise for FCL)

There are some tests that could be taken as examples in the sources, see e.g. fcl/db/tests

Reply by email

Kassai István
to Marco van de Voort

Hi,

I've checked, but there ISN'T any postgres related file in the DOS version of freepascal. In the linux version I've used this unit, but I can't guess how to use under DOS!

Show quoted text 8 lines
Classes library include with FPC. You already have it (look in your units directory, there is probably a file or dir somewhere postgres, like wise for FCL) There are some tests that could be taken as examples in the sources, see e.g. fcl/db/tests

Reply by email

Unknown author
to Kassai István
Show quoted text 5 lines
Hi, I've checked, but there ISN'T any postgres related file in the DOS version of freepascal. In the linux version I've used this unit, but I can't guess how to use under DOS!

I don't think that postgresql can be accessed from under DOS. As far as I know, it only works under Windows and Linux, maybe OS/2.

Michael.

Reply by email