I am new in CW 1.5 and I have two questions - problems:
1. I have tried to registry 32-bit TPS file driver:
Setup - Database Driver Registry - Add - Select CWTPS32.DLL from BIN
directory - OK - but in the Database Driver list CWTPS16.DLL appears (there
are two of them on the list).
What is the point ?
2. I would like to use ODBC in my app so I have tried to add ODBC support to
my app just as described on page 619 of User's guide
(File - Import -select ODBC ...) but in the end I have got a message
that there is an error in module CWRUN16.DLL. Can you help me?
Thanks,
J. Cimerman
>Hello All,
>I am new in CW 1.5 and I have two questions - problems:
>1. I have tried to registry 32-bit TPS file driver:
> Setup - Database Driver Registry - Add - Select CWTPS32.DLL from BIN
>directory - OK - but in the Database Driver list CWTPS16.DLL appears (there
> are two of them on the list).
> What is the point ?
You don't need to separately register the 32 bit drivers. When you
register the 16 bit driver, you automatically register the 32 bit
driver. Remember that everything you do from the IDE is 16 bit. The
32 bit stuff comes along because of the linker switches.
>2. I would like to use ODBC in my app so I have tried to add ODBC support to
>my app just as described on page 619 of User's guide
> (File - Import -select ODBC ...) but in the end I have got a message
>that there is an error in module CWRUN16.DLL. Can you help me?
What version are you using and to what ODBC source are you trying to
connect to. Remember that when using ODBC, you need to get the ODBC
driver from the individual source such as MS for Access, etc.... For
ODBC, there are two pieces, one we supply which is the communications
module to talk to the ODBC backend and the other is the vendor's ODBC
driver.
Mike Gould
From: brane....@prolog.si (Marko Kek)
Date: 22 Jun 1996 15:00:53 -0300
> 1. I have tried to registry 32-bit TPS file driver:
> Setup - Database Driver Registry - Add - Select CWTPS32.DLL from BIN
> directory - OK - but in the Database Driver list CWTPS16.DLL appears
> (there are two of them on the list).
> What is the point ?
You does not need to registry 32-bit drivers. Only CW*16.DLL drivers' files
should to be registered before using.
> 2. I would like to use ODBC in my app so I have tried to add ODBC support to
> my app just as described on page 619 of User's guide
> (File - Import -select ODBC ...) but in the end I have got a message
> that there is an error in module CWRUN16.DLL. Can you help me?
It could be result of passing wrong parameters to ODBC. Say, import of
Informix table to the CW dictionary via ODBC ends with GPF if you pass
table space name instead of data base name.
Alexey Solovjev
Internet: cla...@cst.spb.su