Page 1 of 1

Grrrrr Visual Studio 2005

PostPosted: Dec 10, 2007 @ 5:44am
by kelesis
I'm having issues linking to a static lib.. My Issue is NEARLY the same as this post:

http://www.pocketmatrix.com/forums/view ... hp?t=21828

I'm unable to do the fix posted because the fix requires VS2005 BETA2; following the link cleary in big letters says not to download unless using VS2005 beta2. Which I'm not.

What the issue is, no matter what I do the compiler is always trying to convert my strings to char's. For example:

CreateSurface( 0, _T( "1.png" ) );
CreateSurface( 0, L"1.png" );

both give errors saying it is unable to link to the following function because the string I'm passing in is a char. Here's the actual error:

Error ... CGapiSurface::CreateSurface(unsigned long,char const *)

My Properties are set to use Multi-Byte Character Sets. Even switching it to UseUnicode Character sets give the same error. Anybody have any ideas?

~Thanks

PostPosted: Dec 17, 2007 @ 1:33am
by InexorableTash

PostPosted: Dec 17, 2007 @ 1:24pm
by Dan East

PostPosted: Jan 16, 2008 @ 3:22pm
by barcajunior