Re: LINK error: LNK2020 - Should I link the unmanaged libraries <math.h>, <stdio.h> ?
Firstly, which version of DevStudio are you using ? There are two now : 2003 and 2005, although it shouldn't really be a problem unless you're using the Beta for 2005. Even then this shouldn't happen, but this is to just narrow things down.
Anyway, I'm including a VC++.NET (DevStudio 2003) project which does just what you're having problems with. It's a console application, created from the wizards.
And the code is in the source folder in solution explorer, CodeGuruTemp1.cpp.
I hope it helps.
Darwen.
Last edited by darwen; December 29th, 2005 at 05:48 PM.
www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.