Search code examples
google-nativeclient

C++ code on NaCl


I've only have a simple question to ask :

Is it possible to call a local dll with NaCl ?

If the answer is yes, can anybody show me an example method to do it.

I've tried with loadlibrary but th compilation refuse the include of windows.h

Thanks a lotttttt

Nicolas


Solution

  • The answer is: No.

    Google Native Client Apps are designed to work within a Virtual Machine like sandbox environment and does not allow any external resource access. This is by design and I don't think accessing DLL will be allowed in future. This might break the promise of making it platform independent.