P/Invoking mscoree fails - why?

Joined
Feb 15, 2007
Messages
1
Reaction score
0
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
 
Back
Top