This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Grrrrr Visual Studio 2005


Grrrrr Visual Studio 2005

Postby kelesis » Dec 10, 2007 @ 5:44am

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
<i>Then a wandering lad with wild green hair and a taste for adventure came into the village.</i>
User avatar
kelesis
pm Member
 
Posts: 8
Joined: Aug 2, 2004 @ 1:34am


Postby InexorableTash » Dec 17, 2007 @ 1:33am

User avatar
InexorableTash
pm Member
 
Posts: 99
Joined: Sep 13, 2002 @ 6:14am


Postby Dan East » Dec 17, 2007 @ 1:24pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby barcajunior » Jan 16, 2008 @ 3:22pm

barcajunior
pm Member
 
Posts: 1
Joined: Jan 16, 2008 @ 3:05pm


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron