Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
R&R Reporting Question
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
R&R Reporting Question
Miscellaneous
Thread ID:
00582873
Message ID:
00582873
Views:
48
The help file for exeRuntime shows:

BOOL FAR PASCAL execRuntime (int hReport, BOOL bWait,
int cmdShow,LPINT lpiECode, LPLONG lplPageCount,
LPSTR lpszEMsg, int emSize)


So I declared is as:

 DECLARE Long execRuntime;
  IN RrRpt32.Dll;
  AS rr_ExecRuntime;
    Long hReport,;
    Long bWait,;
    Long fsCmdShow,;
    Long lpCode,;
    Long lpPageCount,;
    String emsg,;
    Long emsgsize


and I'm calling it like:

LOCAL nWait AS Boolean
LOCAL nShow AS Integer
LOCAL cECode AS String
LOCAL nPageCount AS Long
LOCAL cMsg AS String
LOCAL nMsgSize AS Long

nWait = 1
nShow = 1
cECode = ""
nPageCount = 0
cMsg = ""
nMsgSize = 200

nRetVal = rr_ExecRuntime(lnReportHandle, nWait, nShow, @cECode, @nPageCount, @cMsg, nMsgSize)




I'm getting a 'Data Type Mismatch' error. Anyone know what I'm doing wrong?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform