Thursday, January 21, 2010

WinSNMP C# wrapper fails in 64 bit systems

Some time ago I wrote a C# wrapper for WinSNMP. Recently I moved to Win7 64 bit and that application failed to run. I thought it's because of Win32 API change, but it seems like the issue was with 32 bit vs. 64 bit.

Solution: (work-around) compile the application to x32:
Right click the project -> Build -> Platform Target -> x86

It could be that I did something wrong in the wrapper, but I really don't have the time to check it out.

No comments: