I found that most of the console api functions can not be used in Visual Basic 6.0, and I try to find out the problem. Then I found all of the api functions with COORD structure can not be used in VB6, including GDI api functions with COORD. Maybe the Declaretion in API Viewer 2004 get wrong?

Public Type COORD
X As Integer
Y As Integer
End Type

and the Declaretion in VC

typedef struct _COORD {
SHORT X;
SHORT Y;
}COORD, *PCOORD;

Are there any problem? The Structure and API functions are useful for us.