There is any tech doc or guide line how to build a plugin that can make the same as an existing dll, wich I have the code?
You simply need a java-to-native compiler…and they’re generally not cheap
Why do this anyway ?
Why cant you do this? It is cheap. Take the Java compile it as a J# dll. then you can use this method for any .net dll to make it loadable by unmanaged code.
(C++, Delphi,chrome automatically does this)
http://www.codeproject.com/dotnet/emili … anaged.asp
then if you like use ngen.
SalernoJ:
You simply need a java-to-native compiler…and they’re generally not cheap
Why do this anyway ?
Is to make a connection with an ERP system that has its tables locked.
This might interest you: http://www.nevaobject.com/_docs/_corout … outine.htm
Jan Blok:
This might interest you: http://www.nevaobject.com/_docs/_corout … outine.htm
You have to send email for prices. read - very expensive.
lcr159:
SalernoJ:
You simply need a java-to-native compiler…and they’re generally not cheap
Why do this anyway ?Is to make a connection with an ERP system that has its tables locked.
Why would you need a plugin to be a DLL for that? I assume you’d want it the other way around: have a Servoy plugin talk to a windows DLL. That is fairly easy to accomplish, I believe Salerno knows very well how to do this.
jaleman:
lcr159:
Is to make a connection with an ERP system that has its tables locked.Why would you need a plugin to be a DLL for that? I assume you’d want it the other way around: have a Servoy plugin talk to a windows DLL. That is fairly easy to accomplish, I believe Salerno knows very well how to do this.
The dll is the way that the ERP programmer proposed to avoid problems in case of new ERP versions. Otherwise he can make stored procedures into some ERP shared table , but is not so version indipendent.
If is possible to call a standard windows dll from a Servoy plugin should be better, should Salerno help me?
Have you tested using RUNDLL32? rundll is a windows app that executes DLL’s and can be called from within servoy using application.executeProgram. You can find docs about rundll here:
http://support.microsoft.com/kb/q164787
For example:
application.executeProgram('rundll32', 'url.dll,FileProtocolHandler','c:/out.pdf')