Dynamic type for SQLite
Posted: May 30th, 2012, 3:30 pm
Hi,
In my goal to write a SQLite fully managed extension, I have to create at runtime a class for UDF (user defined function) creation (doc).
It seams easy when statically created (according to this post), but I have to do it at runtime.
I think I will create a type that will call the UDF callback function at runtime. Is there a better and/or "Phalanger" way to do it ?
I can create the type with CodeDom, compile it and use it, but I think this will make memory leaks... So that is why I am asking
In my goal to write a SQLite fully managed extension, I have to create at runtime a class for UDF (user defined function) creation (doc).
It seams easy when statically created (according to this post), but I have to do it at runtime.
I think I will create a type that will call the UDF callback function at runtime. Is there a better and/or "Phalanger" way to do it ?
I can create the type with CodeDom, compile it and use it, but I think this will make memory leaks... So that is why I am asking