How app check which OIPI version installed (OpenInsight 32-bit Specific)
At 21 NOV 2002 05:19:51AM Oystein Reigem wrote:
How can an app check which version of OIPI is installed? I'm looking for something that works for all versions of Windows, OI and OIPI. At the very least I need something that tells if it's 16-or 32-bit OIPI that's installed.
For all I know the answer is be very simple. I just haven't taken the time to think things through. But also some solutions might be more robust than others. E.g perhaps somebody has a solution that can find out about installations that have gone wrong.
But any suggestion is welcome!
- Oystein -
At 21 NOV 2002 06:17AM [url=http://www.revsoft.co.uk" onMouseOver=window.status= Click here to visit our web site?';return(true)]Revelation Software EMEA Support[/url] wrote:
If Dir("OIPI32.EXE") Then Is32Bit=True$ Else Is32Bit=False$
At 21 NOV 2002 09:15AM Donald Bakke wrote:
Won't the VERSION Get_Printer message work? Here's what it is supposed to return:
Current OpenInsight Printer Interface version number
OIPI EXE build number
VSVIEW printer control version number
Professional or Standarddbakke@srpcs.com
At 21 NOV 2002 09:43AM [url=http://www.revsoft.co.uk" onMouseOver=window.status= Click here to visit our web site?';return(true)]Revelation Software EMEA Support[/url] wrote:
Not if you haven't previsouly initialised - it will return VERSION. Hence this is the simplest way, requiring one not two statements. Your method provides more useful information though.
At 21 NOV 2002 10:13AM Donald Bakke wrote:
I figured both methods have their benefits. Using the VERSION message has the additional advantage of telling the system which OIPI loaded, i.e. in case a START32 wasn't executed or somehow OIPI32 got closed.
dbakke@srpcs.com