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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top