Open DanielBaciu opened 3 years ago
Any issue with that? Please report an error message when there is one. Please indicate which Proparse release you are using.
Are you intending to fix this yourself and issue a pull-request?
I'm using proparse.dll version 4.1.0.1219. Please fix it if possible.
The complete error stack is:
T-098224 1 4GL -- No entry types are activated
T-098224 1 4GL PsrHelp Error parsing VarAsPreproc.p
T-098224 1 4GL PsrHelp
T-098224 1 4GL PsrHelp Original Exception:
T-098224 1 4GL PsrHelp java.lang.RuntimeException:
We are using PROCESS-ARCHITECTURE to decide the type of variable we use to communicate with external dll.
I reduce the code to reproduce the error to the following:
&IF PROCESS-ARCHITECTURE EQ 32 &THEN &GLOBAL-DEFINE PTRSIZE 4 &GLOBAL-DEFINE PTR LONG &ELSEIF PROCESS-ARCHITECTURE EQ 64 &THEN &GLOBAL-DEFINE PTRSIZE 8 &GLOBAL-DEFINE PTR INT64 &ENDIF
DEF VAR iCallbackModuleHandle AS {&DEF_PTR} NO-UNDO INIT 0.
Thank you for checking.