When P/Invoking mscoree (for example with the following code taken from Reflector), I always get "entry point not found in mscoree.dll", but the generated IL code in my sample project and mscorlib.dll is exactly the same. Anyone got an idea why?
[DllImport("mscoree", EntryPoint="@289")]
public static extern int ChangeCaseString(bool isToUpper, string source, char[] target, int length, int win32LangID);
Thanks,
Olaf
[DllImport("mscoree", EntryPoint="@289")]
public static extern int ChangeCaseString(bool isToUpper, string source, char[] target, int length, int win32LangID);
Thanks,
Olaf