Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Code warrior for Mac > _wrename() ques...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 2155 of 2225
Post > Topic >>

_wrename() question

by "François Robert" <moc.sysinu@[EMAIL PROTECTED] > Jul 18, 2006 at 02:26 PM

Dear NG

I am using CW 9.5 + SDK 10.4 Universal and building a Mach-O 
executable. The executable is supposed to rename files containing 
accented characters (U umlaut, e grave and the like. Exactly, 
renaming from a tem****ary, mkstemp()-generated name to a human-
friendly name)
I read CW documentation and tried to use _wrename() for the job 
(using wchar_t).

First, I discovered that it's std::_wrename() which is a bit 
strange to me (I thought std namespace was not open to non-standard 
extensions ?)
Anyway, the code compiles with std::_rename() but won't link 
(undefined symbol _wrename) The libraries linked are MSL_All_Mach-
O_D.lib (and crt1.o)

A string search for "_wrename" yielded "Find Library / 
MSL_All_Carbon_D.lib" (incidently, there is no MSL_All_Mach-O_D.lib 
in this folder)

So here is my question: 
Is _wrename() supposed to work for Mach-O builds ? (and if so, how 
do I get rid of the linker error ?) Or is it something that existed 
only in Carbon ? (But then, why does it compile ?)

Thanks
_______________________________________________________
François Robert
(to mail me, reverse character order in reply address)
 




 1 Posts in Topic:
_wrename() question
"François Robert&quo  2006-07-18 14:26:43 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 1:34:03 CDT 2008.