Hi
i have opened this thread for the discuss a solution to build object plugins from other languages
RizlaUK had asked for many times about possible ways for this ,i promised him for a solution but i could not gave anything back for a long time
i also tried to modify my plugin compiler application to create object plugins from Lua code , at least i was going to port IRPluginObject class members to Lua callback functions ,other properties would be updated by compiler application (version ,outhor info etc.)
i abandoned that idea after 100s of unsuccessful attempts to get it to work
now i have to remove Lua from posibilities list
another idea was building a static library for other language authors
but i can simply say that this will not work too , there are some C style callback solutions but , it will look like driving a car from its trunk
the final and possible idea is :
building a container object plugin (i'll call it like Proxy object) , but this will not like an object plugin this will only be a bridge between your dll and AMS-8
for example i will give it as a DLL, you will rename it as your plugin name ,for example ProgressEx.apo
and you will rename your actual dll with the same name but extension will be dll for example ProgressEx.dll
and finally you will put these two files into a folder called ProgressEx
after include a ProgressEx.lic document , you are ready to go
so , when AMS-8 (IDE or Runtime) loads ProgressEx.apo it will search for a dll file with the same name and load that dll with late bind method
when AMS-8 calls a standard plugin action from ProgressEx.apo it will
call related function from your dll (simply redirection)
your dll must export specified functions ( i'll tell you later)
for IRPluginObject class members :
Proxy object will return a derived instance of it to AMS-8 (when asked) and when AMS-8 calls a member function of class
Proxy object will call specified function from your Dll (i'll tell you later)
that's all for now , if you are interested in with this idea please write your comments ,ideas, requests here
i have opened this thread for the discuss a solution to build object plugins from other languages
RizlaUK had asked for many times about possible ways for this ,i promised him for a solution but i could not gave anything back for a long time
i also tried to modify my plugin compiler application to create object plugins from Lua code , at least i was going to port IRPluginObject class members to Lua callback functions ,other properties would be updated by compiler application (version ,outhor info etc.)
i abandoned that idea after 100s of unsuccessful attempts to get it to work
now i have to remove Lua from posibilities list
another idea was building a static library for other language authors
but i can simply say that this will not work too , there are some C style callback solutions but , it will look like driving a car from its trunk
the final and possible idea is :
building a container object plugin (i'll call it like Proxy object) , but this will not like an object plugin this will only be a bridge between your dll and AMS-8
for example i will give it as a DLL, you will rename it as your plugin name ,for example ProgressEx.apo
and you will rename your actual dll with the same name but extension will be dll for example ProgressEx.dll
and finally you will put these two files into a folder called ProgressEx
after include a ProgressEx.lic document , you are ready to go
so , when AMS-8 (IDE or Runtime) loads ProgressEx.apo it will search for a dll file with the same name and load that dll with late bind method
when AMS-8 calls a standard plugin action from ProgressEx.apo it will
call related function from your dll (simply redirection)
your dll must export specified functions ( i'll tell you later)
for IRPluginObject class members :
Proxy object will return a derived instance of it to AMS-8 (when asked) and when AMS-8 calls a member function of class
Proxy object will call specified function from your Dll (i'll tell you later)
that's all for now , if you are interested in with this idea please write your comments ,ideas, requests here
Comment