Replacing DLL while Coresystem is running
Sebastian Schweer
Hallo everybody,i'm working with Coresystem and using the functionalllity to create own DLL Files to swap out Customize Code from the Global Code.
Now i would like to know, if it is possible, to replace this DLL Files, while Coresuite is running.
Normally this will not work, because Coresystems has allocated this files and Windows do not allow to delete this files for this time.
But it is possilble, that there is a Coresuite Command or something, to deallocate this DLL Files, to replace it, and to allocate them again. All while Coresuite is running. So it will be possible to update old Versions of the DLL Files with a Cocu Rule.
Best Regards,
Sebastian
Paolo Manfrin
Hi Sebastian,in order to do what you'r saying the best approach is dll shadowing.
If you implement that then you're able to manage/repleace all the dlls you want by yourself.
HTH
paolo
Sebastian Schweer
Hallo Paolo,thanks for your reply.
Do you have a little example for me, how this "DLL Shadowing" could work?
Best Regards,
Sebastian
Paolo Manfrin
Hi Sebastian,shadowing has beein implemented in the standard coresuite customize DLL folder included in the next release.
hth
paolo
Sebastian Schweer
Hallo Paolo,thanks for that Info, thats very good News!!!
Could you just tell me right now, how it will be work or will look like?.
Is it than possible to change own DLL while Coresuite is running?
This is a HUGE Improvement for international companys!!!
Thanks. Thats a good Christmas Present
Can you tell me, when it will be avaible?
Best Regards,
Sebastian
Remo Kottonau
Any updates here? Help would be appreciated.Paolo Manfrin
Hi Remo, this feature has been already released in 3.40 of customize.The changelog is available here: [url="http://www.coresystems.ch/?page_id=33&header_id=75&country=de"]http://www.coresystems.ch/?page_id=33&header_id=75&country=de[/url]
Kind Regards, paolo
Remo Kottonau
There is misunderstanding of "DLL shadowing" on our side probably. It is possible to replace DLL files while the AddOn is running, that's correct. But the changes in code will only take effect after restarting the AddOn which is no improvement. Is it possible to get changes without restarting?Paolo Manfrin
Hi Remo,no this is not possible. We were considering to implement this mechanism but there would be performance impacts so due to that we decided that a restart is necessary in order to load the new dlls.
The improvement is due to the fact that you do not need to have all the users logged off at the same time which is quite critical on a client/server environment,
hth
paolo
0
Please sign in to leave a comment.
Comments
0 comments