Problem with gslib
Posted: Tue Aug 31, 2004 11:55 pm
I am making a little sample using GsLib and i have a problem.
First, I declare a gsDriver object :
but when i want to do something with it, the prog hangs.
For example :
I saw that when i put the declaration inside a function, it works.
But i want to use the same gsDriver in many functions. How can I do it ?
It seems that the gsDriver is not correctly if defined outside a function.
Any idea is welocme :wink:
First, I declare a gsDriver object :
Code: Select all
gsDriver GS;
For example :
Code: Select all
GS.setDisplayMode(.......);
I saw that when i put the declaration inside a function, it works.
But i want to use the same gsDriver in many functions. How can I do it ?
It seems that the gsDriver is not correctly if defined outside a function.
Any idea is welocme :wink: