I have the same error when I trying to load and execute an skill code from a .bat.
The .il is load without any error but after when I try to execute, I obtain *Error* _mpsRemoteCall: argument #1 should be any user-defined (other) type (type template = "oslgxg") - nil
If I execute the same .il from Skill shell or from command window of DEHDL, all works perfectly.
I include my .bat program. And I explain what I am trying to do with it: I need to call and run the .il code (really it is a report generator from some parts of my schematic) from a button in Excel or from a option in a web page. First ask the path of the project I want to execute the report, and after start the .il.
@echo offecho Fecha:%date%echo Hora:%time%set /P WORK_DIR=Please write the project.cpm path:CD /d"%WORK_DIR%"CDpauseset _source=C:\Users\cadevale.AUTH\Documents\Beth\SkillREM start /d"%WORK_DIR%" /WAIT /b cnskill -i -nongraph "%_source%/startup.concept.scr"start /d"%WORK_DIR%" /WAIT /b cnskill -i -nongraph %_source%/schreport.ilpause
Someone can help me?
Thanks in advance