|
-
February 9th, 2000, 07:17 AM
#1
OLE_XPOS_PIXELS
Hey -
We are working on an Automation Application based on
The Kodak Image Control (Formerly Wang Image).
In Vb eveything works fine.
Our client wishes to integrate the Control into his own software.
This software enables us to import the required ocx but does
not support all variable types.
Our problem then is the following call :
void Draw(
OLE_XPOS_PIXELS Left,
OLE_YSIZE_PIXELS Top,
[optional] VARIANT Width,
[optional] VARIANT Height);
OLE_XPOS_PIXELS and OLE_YSIZE_PIXELS are causing the problem.
Any idea where we can find info on these ? Is there a typelibrary that exports them ?
Thanks in advance.
Frederik
-
February 9th, 2000, 09:41 AM
#2
Re: OLE_XPOS_PIXELS
According to the OLECTL.H header file that comes with VC++6, the OLE_XPOS_PIXELS is a typedef to a long:
/////////////////////////////////////////////////////////////////////////////
// Typedefs for standard scalar types
typedef long OLE_XPOS_PIXELS;
typedef long OLE_YPOS_PIXELS;
typedef long OLE_XSIZE_PIXELS;
typedef long OLE_YSIZE_PIXELS;
- You should just be able to get away with a VB long here.
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|