[Migrated content. Thread originally posted on 05 September 2005]
Hi everybody.I?m trying to use the AcuGT Automation server from both visual basic and Acucobol itself.
When used from VB there is no problem at all, but if I try to invoke the initialize method from Acucobol I get a "Memory Access Violation Message.
The DEF file was created with Acucobol v7.0.0.
Basically the code is as follows:
...
01 H-UACUGT HANDLE OF @AcuGT.
...
01 W-PARAMS PIC X(30) VALUE "-y u.lib -c config.ini".
01 H-PARAMS HANDLE OF VARIANT.
...
CREATE @AcuGT HANDLE IN H-UACUGT.
CALL "C$SETVARIANT" USING W-PARAMS H-PARAMS.
[B]MODIFY H-UACUGT @Initialize(BY NAME @cmdLine H-PARAMS).[/B]
...
I get the error when executing the MODIFY verb.



