newlnuser
9th April 2009, 15:56
Hi,
I am exploring AFS. I got many guides and codes available in Baanboard which helped to write the code. But, now I am creating a new session to write the AFS code to control on other session.

How to attach the AFS code to the existing session?
Using ttstpcreatdll. a file is generated. where to attach that file?

Any suggestions...

Regards,

mark_h
9th April 2009, 16:09
If you generate the code using ttstpcreatdll then just attach that dll as a library on the script. Then in the session script you are writing just use the library calls. At this point I find it better to just write the actual stpapi code in the session - just make sure you attach the ttstpapihand library. So either way should work.

newlnuser
12th April 2009, 11:56
Hi Mark,
Thanks for your inputs.

Can AFS be used only if source code is present?

Regards,

mark_h
13th April 2009, 19:35
Not sure I understand the question. You do not need to own source to use ttstpcreatdll or to use AFS functionality on a session. Typically I create a new session for controlling the sessions in the back ground.