VishalMistry
18th July 2016, 16:45
Hi all,
I have to copy a tfgld1510s000 (sub-session) and make it main session. I also need to remove the filter criteria for this session.
as this is a standard session, no source code is available. to make changes, i added a script in my vrc (tfgld1510) and also added |#parent under declaration section.
anybody can guide me how and where i can add my own code under before.program section ?
below is a code snippet of before.program section:
before.program:
| This must be executed first; it loads the parent object
| dll so it's routines can be called.
| "find_parent_obj" is an exported function that is in
| the tccomqcidll1 library.
if (find_parent_obj("otfgld1510", "otfgld1510", _pobj_path) < 0) then
message("Unable to find parent object dll!")
end()
endif
_pobj_dll_id = load_dll(_pobj_path,0)
if (_pobj_dll_id <= 0) then
message("Unable to load parent object dll!")
end()
endif
_pobj_exe1("before.program")
what i need to do is remove the filter applied in standard script.
Request to guide me in this regard.
Vishal
I have to copy a tfgld1510s000 (sub-session) and make it main session. I also need to remove the filter criteria for this session.
as this is a standard session, no source code is available. to make changes, i added a script in my vrc (tfgld1510) and also added |#parent under declaration section.
anybody can guide me how and where i can add my own code under before.program section ?
below is a code snippet of before.program section:
before.program:
| This must be executed first; it loads the parent object
| dll so it's routines can be called.
| "find_parent_obj" is an exported function that is in
| the tccomqcidll1 library.
if (find_parent_obj("otfgld1510", "otfgld1510", _pobj_path) < 0) then
message("Unable to find parent object dll!")
end()
endif
_pobj_dll_id = load_dll(_pobj_path,0)
if (_pobj_dll_id <= 0) then
message("Unable to load parent object dll!")
end()
endif
_pobj_exe1("before.program")
what i need to do is remove the filter applied in standard script.
Request to guide me in this regard.
Vishal