I'm using the printerdialog and I have a problem with the devicename
constant. In the winapi this constant is declared as 32, so the devicename is
always max 32 characters long.
We have two printers that start with the same network location and almost
the same printer name except that the last word defines the location.
Because of the maxlength of CCHDEVICENAME I can't compare these two printers
with eachother to see if something changed.
I already looked at some vb examples,but they can't handle it also.
Is there any (standard) option to get the more longer printer devicenames,
32 chars is to short.
------------------
constant. In the winapi this constant is declared as 32, so the devicename is
always max 32 characters long.
We have two printers that start with the same network location and almost
the same printer name except that the last word defines the location.
Because of the maxlength of CCHDEVICENAME I can't compare these two printers
with eachother to see if something changed.
I already looked at some vb examples,but they can't handle it also.
Is there any (standard) option to get the more longer printer devicenames,
32 chars is to short.
------------------
Comment