OIPI_example1 gives err -5 on set_printer('INIT'.,... (OpenInsight 32-bit Specific)
At 05 OCT 2002 06:35:08AM Uwe Schroeder wrote:
For several years I developed in OI 3.7 using OIPI 3.8 on a Win 98 SE PC. I re-entered the WORKS, got a CD with a (demo?) version of OI 4.0.2. After install I created a form TEST, a button in it calling OIPI_EXAMPLE1. It will not print (err -5=missing OIPI (support) files in INIT).
I played with changing DLL_OIPI_USER32, declare_fcns (a discusion in aug on the web), Install the Client software from the CD, deleting all OIPI 3.8 files in system and the windows-register,…., upgraded yesterday to 4.1.0,…
The OIPI-help file is not correct (?), there is no OIPI.EXE any more, and all the other files there are absent (old stuff from 16-bit?)
How can I see wether OIPI is correctly installed on the workstation? Is it a windows problem OR a OI 4.x problem?
What do I wrong?
uos@uos4u.nl
At 05 OCT 2002 12:24PM Donald Bakke wrote:
Uwe,
See if OIPI32.EXE is still there. OI 4.x uses the 32-bit version of the OIPI. OIPI.EXE is the name of the 16-bit version but it is usually still there if all you did was an upgrade. It is also critical that you call Set_Printer("START32") before you run any OIPI reports and then run Set_Printer("STOP32") before you close your application.
dbakke@srpcs.com
At 07 OCT 2002 06:04AM Uwe Schroeder wrote:
Yhanks, that was the missing link for me.