Thanks for the report, Cyphre! Yes, I think the problem you are experiencing is due to incompatibility between Win95 and WinNT kernels. As you probably know, these are the two basic kernels all versions of Windows are built on.
However, it should be possible to have the correct functions for each kernel and only call the appropriate one depending on which OS you are running. It may take a little extra work, but it shouldn't be *too* hard. :-) -Bo At 05:42 PM 7/2/02 +0200, you wrote: >----- Original Message ----- >From: "Bohdan or Rosemary Lechnowsky" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Tuesday, July 02, 2002 8:30 AM >Subject: [REBOL] Re: View/Pro and accessing Windows Printer API (gdi32.dll) >... > > > Anyway, here is the script (beware of line-wrapping). Let me know >directly > > if you have success/failure using this script: > > >... > >Hi Bo, > >the script doesnot work under WinXP(it crashes on "WritePrinter" call. IMO >incompatibilty between api of different Windows versions. I'll try to find >where is the problem...anyway will be tough to make it work between all >Windows transparently... > >regards, > >Cyphre > > >-- >To unsubscribe from this list, please send an email to >[EMAIL PROTECTED] with "unsubscribe" in the >subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.