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

New Post: How does ClearScript choose which dlls to use? (x32 or x64)

0
0
Hi Eniko,

ClearScript's main assembly (ClearScript.dll) is AnyCPU and can therefore be loaded into any kind of process. However, because V8 and ClearScript's V8 interface contain native code, they require separate 32- and 64-bit versions. When instructed to create a V8 script engine or runtime instance, ClearScript checks Environment.Is64BitProcess and loads the appropriate assemblies.

If your application targets only the 32-bit platform, or consists of libraries that can only be loaded into a 32-bit process, then there's no need to distribute ClearScript's 64-bit assemblies.

Cheers!

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images