Hi Aaron,
 
The SaveFile_PGU function will be fixed in the 5.1.6. release
but this will mean that if you used the workaround in a GX you will
have to remember to change the code back to its proper usage
for it to work in post 5.1.5 releases.
 
Cheers,
Jacques
-----Original Message-----
From: Jacques Beaurain [mailto:[EMAIL PROTECTED]]
Sent: 03 October 2002 11:56
To: '[EMAIL PROTECTED]'
Subject: RE: [gxnet]: SaveFile_PGU

Hi again Aaron,
 
A closer look at your email showed me that you tried that already.
The SaveFile_PGU function seems to have a bug in it that won't allow you
to pass NULLSYMB values for the TR and for the IPJ. I am looking into it,
but I think a workaround is to pass ((TR) 0) and ((IPJ) 0) for the moment.
 
Cheers,
Jacques
 
-----Original Message-----
From: skyhunter [mailto:[EMAIL PROTECTED]]
Sent: 03 October 2002 11:24
To: GXNET
Subject: [gxnet]: SaveFile_PGU

Hi everybody,
 
I was wondering if anyone can help me with the proper uage of the SaveFile_PGU() function. I want to use this function rather than the SetPG_IMG() function in order to avoid having to create an IMG object, which is a time consuming operation. I want to see if avoinding creating an IN=MG speeds up my GX at all.
 
Here is my usage of the function,
SaveFile_PGU(PGWin, 0.0, 0.0, 1.0, 1.0, 0.0, TR_NULL, IPJ_TYPE_NONE, "windowed.grd");
 
with this, upon compilation, I get the error theat Argument 8 is of the wrong tyope. Argument 8 is the IPJ_TYPE_NONE argument.
 
I then tried,
SaveFile_PGU(PGWin, 0.0, 0.0, 1.0, 1.0, 0.0, TR_NULL, ((IPJ)(-1)), "windowed.grd");
and the GX did compile but upion running the GX, the GX stopped when it came to this function call.
 
 
Can anyone help me or give me any advice?
 
Aaron Balasch
Sky Hunter Technologies Inc.
Suite 101, 1725 10th Avenue S.W.
Calgary, Alberta T3C 0K1
email: [EMAIL PROTECTED]
phone: 403-228-2175
fax: 403-244-7955

Reply via email to