Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

Commented Feature: Allow custom locations in V8Proxy.GetDirPaths [34]

$
0
0
I am bundling the ClearScript DLLs as embedded resources in my main application/dll. At runtime I extract ClearScriptV8-XX.dll and v8-xXX.dll to a temporary path (typically Temporary ASP.NET Files) so that they can be loaded from disk.

In order to support this I have added a simple static API which allows adding custom locations returned by V8Proxy.GetDirPaths. It would be ideal if some equivalent functionality were included in the library.

This issue is somewhat related to https://clearscript.codeplex.com/workitem/17
Comments: If the proposed hook is added prior to the LoadNativeLibrary() call then I believe that would work (and I'll just do my own LoadLibrary for v8). The point just being that the proposed hook specifically addresses loading the mixed-mode assembly but not necessarily the v8 native library.

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>