public static void LoadV8(string dllfile, bool doV8Init = true)
{
hModuleV8 = LoadLibrary(dllfile);
if (hModuleV8 == IntPtr.Zero)
{
return;
}
//-------------------
if (doV8Init)
{
//sometime we set to false , and let underlying lib init the v8 engine.
NativeV8JsInterOp.V8Init();
}
}