PrintSetup Calls (OpenInsight 32-Bit)
At 12 MAR 2002 02:25:45AM Sam McDonald wrote:
We have clients testing a 32 bit conversion of an existing application.
THings are going relatively smoothly with the only hiccups relating to mapping of DLL calls, etc. Nothing drastic.
However.
The application provides a report selection form provides access to the printer setup dialog.
The Printer option Dialog is accessed via the PrintSetup function and form supplied in the 16bit version of OI.
NB: These reporting tools do not use OIPI, just the standard Printer.DLL functionality.
eg:
Declare Function PrintSetup
Stat=PrintSetup ( '' )
This displays the Printerinfo dialog, the problem is when they click the options button.
It Fails with one of the following messages:
The application or DLL ..\Oinsight\PPRTR.DLL is not a valid windows Image.
or
SETUPP does not exist in Dynamic Link Library PPRTR.
Depending on the presence of the DLL or not.
Since PPRTR is a 16-bit dll, My question is.
Is PrintSetup going to be updated for 32-bit use?
If so when and if Not, what course of action do you reccommend?.
Cheers Sam
Sam McDonald
Tristalee Pty Ltd.
At 12 MAR 2002 04:12AM j Vaughan wrote:
http://users2.ev1.net/~poellinger/pprtr.htm
Extract:
Please Note: PPrtr.dll is a 16-bit DLL and so will work with all 16-bit applications on any version of Windows. It will NOT, however, work with any 32-bit applications. A 32-bit application must have a 32-bit DLL.
I have ported PPrtr.dll to 32-bit and it works great on Windows 95, but NOT on NT. For this reason I can't upload it. If your target audience is restricted to Win95, You're welcome to download that version provided you promise not to upload it or nag me about NT (I don't plan on trying to make it work on NT…the 32-bit API sucks).
Remember all Peliware upgrades are always free to registered customers.
At 12 MAR 2002 11:03PM Sam McDonald wrote:
Jim, Thanks for the response.
Unfortunately, Target Audience is mostly NT/2000 and XP.
I understand that PPRTR is 16 bit, have no problem with that.
The only question/concern I have, is that it is called from PrintSetup which shipped with OI and the formed part of the OpenInsight Works release.
Im looking for an upgrade path for this functionality in the 32bit product.
I was hoping not to have to invest in coding around this, as timelines are already pretty tight on this project.
cheers sam