[quote=“ck, post:2, topic:7868”]Insert the TPSImport_DateUtils plugin and add it to the list (after Classes)[/quote] I forgot to mention that I ask about console application without any visual objects.
[quote=“ck, post:2, topic:7868”]see the samples; several of them show using external vars[/quote] Thank you, I saw them. I can’t find there anything about external variables. There are AddVariable, AddVariableN, AddUsedVariable, AddUsedVariableN, AddUsedPtrVariable and AddUsedPtrVariableN in compiler unit, but I don’t know which of them exactly suits my case.
[quote=“ck, post:2, topic:7868”]No idea what this means.[/quote] I am writing a library for an binary application. The app has API functions like Procedure P1 (V1: pDateTime; V2: pLongWord; V3: pBoolean);
Does PS has such types to call that functions?
Thank you Carlo! I’ve red the wiki and the samples. The console samples describe how to access external functions with TPSPascalCompiler.AddDelphiFunction and TPSExec.RegisterDelphiFunction. Is there a similar way to access external variables (without using TPSScript component)?