Compiled after the error information is as follows:
Form: D: \ \ 2017 resource \ form \ omrtype SCX contains the following error:
The unknown OMRINIT - undefined
I declare the DLL function:
Lcdriver=". \ DLL \ OmrComm DLL "
DECLARE an INTEGER OmrInit IN & amp; LcDriver INTEGER tn
Lnret=OmrInit (I)
I have replaced the statement with
DECLARE an INTEGER OmrInit IN & amp; LcDriver as OmrInit INTEGER tn
Is the same: no, I'm not sure, please advice. Thanks!
CodePudding user response:
DECLARE an INTEGER OmrInit IN & amp; LcDriver INTEGER tnInstead of
* DECLARE an INTEGER OmrInit (lcdriver) INTEGER IN tn
Or
DECLARE an INTEGER OmrInit IN "\ DLL \ OmrComm DLL" INTEGER tn
CodePudding user response:
Add code:IF. F.
PUBLIC OmrInit (1)
ENDIF
Or:
.
RETU
PROC OmrInit
RETU
CodePudding user response:
Ten beans three moderators conclusion is correct. But I want to know, these three call way, why are available, but the VFP is differentiated between reason, please feel free to comment!!!!!