View Single Post
  #3  
Old 15-05-2003, 02:18
Elie
Guest
 
Posts: n/a
Default

Thank You Bill!

In C++ code it looks like:
long XSize, YSize;
vCorelApp.OleFunction("GetSize", &XSize, &YSize);

and GetSize fills args with values, but now I have another problem. I cannot understand these values . I mean if I use:

vCorelApp.OleFunction("CreateRectangle", 10000, 0, 0, 20000, 0);
vCorelApp.OleFunction("GetSize", &XSize, &YSize);

then I expected to receive XSize = 20000 and YSize = 10000, but I get XSize = 20762 and YSize = 10762. I do not understand this difference 762. What it is?

TIA,
Elie
Reply With Quote