CADbloke / eselinq

Automatically exported from code.google.com/p/eselinq

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement callbacks

GoogleCodeExporter opened this issue · comments

Callbacks are not implemented. These calls are from ESE into unmanaged 
function pointers and named exports from a DLL.

The biggest problem with this is that many of the callback functions do not
provide enough context to pass off the call to a .NET delegate. Some
combination of a manual multiplexing method with multiple entry points for
each function (to support multiple concurrent instances), or finding ways
to sneak in the required context. Also, some callbacks are persistent to
symbols that can't really be found from EseObjects.

ESE functions that require callbacks:

JetCreateTableColumnIndex2 JET_TABLECREATE2::szCallback requires a
module!function

JetInit3 uses a function pointer for status updates and recovery control

There are probably other things that need them as well.

Original issue reported on code.google.com by csmith32@gmail.com on 30 Dec 2009 at 11:37