I need to use and declare a int [] array to pass to this function...

something like

int phPrinter[] = ???????

and pass this phPrinter to this function... (the 2nd Parameter)

OpenPrinter(String, int [], Printer_Defaults /* can be null */);

The function initialises the int [] .

Please does anybody know how to do this...

I keep getting an error 87 (invalid parameters) when I try:

int phPrinter[] = {0}; and pass that.

the first param is just a string and the last (3rd) can be null so that leaves param 2... So how does one pass and unknown int array to a function. Class Vector doesn't do what I need to do or does it??

Thanking you in advance.

Chris