Jason Fu

Hi ,

When I running the code , the exception thrown :
System.MissingMethodException' occurred
Can't find an Entry Point 'GetCurrentProcessId' in a PInvoke DLL 'Coredll.dll'.

Anything wrong with the declaration or GetCurrentProcessId is not provided
Thanks in advance!

My environment is :
VB.net
ţ򣺡Windows mobile 5.0 Pocket PC Emulator

The declaration is :
Public Declare Function GetCurrentProcessId Lib "Coredll.dll" Alias "GetCurrentProcessId" () As Integer




Re: .NET Compact Framework Issue about "can not find Entry Point 'GetCurrentProcessId' in a PInvoke DLL 'Coredll.dll'.

Ilya Tumanov

Theres no such entry point, its a macro. You can look it up in header files; probably it's just a constant.






Re: .NET Compact Framework Issue about "can not find Entry Point 'GetCurrentProcessId' in a PInvoke DLL 'Coredll.dll'.

Jason Fu

Thanks Ilya