Problems with VpeSet and VpeSetDefOutRect

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Problems with VpeSet and VpeSetDefOutRect

Postby frankena » Wed Jan 14, 2009 4:25 pm

Hello

When I try to send value to VpeSet or VpeSetDefOutRect, I get a message like "Wrong number of arguments".

I'm using Vpe 4.00 R4 and try to connect by the DLL. In my VpeOpenDoc I set VPE_FIXED_MESSAGES.

What is the problem?

Arnold
frankena
 
Posts: 28
Joined: Tue Feb 01, 2005 11:57 am

Postby IDEAL Software Support » Wed Jan 14, 2009 4:49 pm

Let me try to think... well, maybe you are passing the wrong number of arguments?
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Postby frankena » Thu Jan 15, 2009 11:38 am

I'm sending the next arguments:

VpeSet: 1. Handle of VpeOpenDoc
2. Identifier
3. Value

VpeSetDefOutRect: 1. Handle of VpeOpenDoc
2. LeftMargin
3. TopMargin
4. RightMargin
5. BottonMargin

I also tried VpeSetFont with the arguments:
1. Handle of VpeOpenDoc
2. FontName
3. FontSize

This gives no problem.
frankena
 
Posts: 28
Joined: Tue Feb 01, 2005 11:57 am

Postby IDEAL Software Support » Thu Jan 15, 2009 3:20 pm

The error message is not displayed by VPE, but by your compiler or interpreter. What programming language are you using? The error is in the definition of the DLL interface to VPE from your programming lange.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 4 guests