Home » Developing U++ » U++ Developers corner » Question: Simple plugin implementation
Re: Question: Simple plugin implementation [message #31186 is a reply to message #31175] |
Fri, 11 February 2011 22:47  |
 |
koldo
Messages: 3437 Registered: August 2008
|
Senior Veteran |
|
|
mirek wrote on Fri, 11 February 2011 16:50 | Well, but then you keep all plugins in memory, including all data in memory they needed for the last operation or you need to implement some sort of 'free' for them.
Allocating/deallocating memory is actually quite fast operation in U++.
|
Hello Mirek
It is only necessary to allocate the used plugin. It is done in
INITBLOCK {
RegisterPlugin<ExcelSpreadsheet>("Excel");
}
In fact it is interesting to have it allocated while the plugin is used as it can keep some variables.
For example for an spreadsheet, the Open() method load some variables that will be used by other methods like SetData(Value v, int row, int col).
Best regards
IƱaki
|
|
|
 |
|
Question: Simple plugin implementation
By: koldo on Sun, 23 January 2011 22:20
|
 |
|
Re: Question: Simple plugin implementation
By: mirek on Sun, 23 January 2011 23:53
|
 |
|
Re: Question: Simple plugin implementation
By: koldo on Mon, 24 January 2011 09:44
|
 |
|
Re: Question: Simple plugin implementation
By: koldo on Tue, 25 January 2011 14:50
|
 |
|
Re: Question: Simple plugin implementation
By: mirek on Tue, 25 January 2011 15:34
|
 |
|
Re: Question: Simple plugin implementation
By: koldo on Thu, 27 January 2011 10:34
|
 |
|
Re: Question: Simple plugin implementation
By: koldo on Thu, 27 January 2011 13:58
|
 |
|
Re: Question: Simple plugin implementation
By: fudadmin on Thu, 27 January 2011 17:34
|
 |
|
Re: Question: Simple plugin implementation
By: mirek on Thu, 27 January 2011 20:54
|
 |
|
Re: Question: Simple plugin implementation
By: mirek on Thu, 27 January 2011 20:53
|
 |
|
Re: Question: Simple plugin implementation
By: koldo on Thu, 27 January 2011 21:47
|
 |
|
Re: Question: Simple plugin implementation
By: mirek on Fri, 28 January 2011 10:33
|
 |
|
Re: Question: Simple plugin implementation
By: mirek on Fri, 28 January 2011 10:34
|
 |
|
Re: Question: Simple plugin implementation
By: koldo on Sat, 29 January 2011 01:08
|
 |
|
Re: Question: Simple plugin implementation
By: koldo on Mon, 07 February 2011 11:16
|
 |
|
Re: Question: Simple plugin implementation
By: mirek on Fri, 11 February 2011 16:50
|
 |
|
Re: Question: Simple plugin implementation
By: koldo on Fri, 11 February 2011 22:47
|
Goto Forum:
Current Time: Tue Jul 08 23:22:53 CEST 2025
Total time taken to generate the page: 0.02800 seconds
|