1
Vote

Probelm calling function from anothe assembly

description

Whe current released version DLLs work well with the attached code.

But when I use the Jint.DLL compiled with the lasted source code under Vistual Studio 2008, exception is thrown. The error message is "function is expected". You can run the attached code to reproduce the error.

file attachments

comments

cin wrote Jul 13, 2012 at 7:15 PM

You need to ensure that the target assembly is loaded to the current app domain.

zhihongwang wrote Jul 13, 2012 at 8:00 PM

The target assembly is loaded.

As I mentioned, the code works with the release version of DLLs but not the DLLs built from the lasted source code.

Please refer to the attached code in the original post.