hDC Device Context Value
843829May 6 2002 — edited Mar 12 2003Hello Everybody.
Maybe this is not the right forum but I have big problems finding information about this issue. Maybe someone can give me some hints or information.
Problem:
I'm integrating a 3rd-party VB-based Prinout-application with JAVA. I have c-wrappers (JACOZOOM) for this application and the work very good. However the printout method takes Printer.hDC as an argument when starting the printout. The VB Printer function is located in VB6.OLB and is not included in the wrapper. So far I have understood the hDC is something lika a "hardware Device Context" or a handle or something like that and is a reference to a printerjob(?).
Question:
Is there some way in JAVA to access the value that corresponds to the Printer.hDC in Windows? In that case I would like to pass this value along to the the method-call of the wrapper. Is there some information about this anywhere on the web. Maybe there Is a better (more simple) solution to do this.
Brgds
Staffan Dyl�n
Excuse me for my vague formulation of this problem. I neither a Java, VB or C++ expert. Just trying. :-)