Hi
Below the code for call a Class\Method in CIL :
container conparm;
XppILExecutePermission ilPermission;
;
ilPermission = new XppILExecutePermission();
ilPermission.assert();
SysDictClass::invokeStaticMethodIL("test","test",conparm);
CodeAccessPermission::revertAssert();
Enjoy!
Below the code for call a Class\Method in CIL :
container conparm;
XppILExecutePermission ilPermission;
;
ilPermission = new XppILExecutePermission();
ilPermission.assert();
SysDictClass::invokeStaticMethodIL("test","test",conparm);
CodeAccessPermission::revertAssert();
Enjoy!
No comments:
Post a Comment