Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
R&R Reporting Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
R&R Reporting Question
Divers
Thread ID:
00582873
Message ID:
00582873
Vues:
51
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform