Article # 291, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
ECCheckGStateHandle always gives an ILLEGAL_HANDLE.
Q. I've added some EC code to my app and noticed that whenever I call ECCheckGStateHandle I always get an ILLEGAL_HANDLE. Why is this happening? A. The C stub for ECCheckGStateHandle was using the wrong registers and thus would always have an illegal handle. This error was fixed on August 9, 1996. In the meantime, if you really want to check the validity of a gstate handle, you can write a C stub of your own which simply takes the handle parameter and calls ECCheckGStateHandle from an assembly subroutine.