[racket] problem with database connectivity
Regardless of using a postgresql or a mysql database server the following error message
ptr-ref: contract violation
expected: ctype?
given: #<void>
argument position: 2nd
other arguments...:
#<ffi-obj>
appears when trying to connect it from drracket by
#lang racket
(require db)
(define dbc1
(postgresql-connect #:user "postgres"
#:database "postgres"
#:password "abcd"
#:server "localhost"
#:port 5432))
I ensured to have the 64 bit versions of the systems installed under Win 7.
Thanks for your help in advance, Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4630 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <http://lists.racket-lang.org/users/archive/attachments/20130701/65a05615/attachment.p7s>