Welcome to MacBoardz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

_wrename() question

 
   Macintosh computer (Home) -> Programmer Code RSS
Next:  Preserving Categories when exporting contact info  
Author Message
François Robert

External


Since: Jul 05, 2006
Posts: 3



(Msg. 1) Posted: Tue Jul 18, 2006 11:55 am
Post subject: _wrename() question
Archived from groups: comp>sys>mac>programmer>codewarrior (more info?)

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 temporary, 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)

 >> Stay informed about: _wrename() question 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Cw 9 Question to MW Ron - Hi Ron I have both the Mac and Win versions of CW 7 and I haven't upgraded because I was travelling. Now I am ready to Upgrade to CW 9, I would like to know when CW 9 will come in Mac/Win versions with Java included or is that dead in the water now. I....

C++ CW 9.2 question - In upgrading to CW 9.2, I've run across some C++ errors from inherited code that I'm not familiar enough to fix: The code: template <typename Iterator> class AddressOf : public std::unary_function&lt; ..

MW Ron -- SDK Question... - Hi Ron... First time question... See below and verify please. in: CW8:Codewarrior SDK:Sample_Plugins:Sample_Compiler:Sample_Compiler.c:: IncludeFile(...); Please answer this.... if(callbackResult != cwnoErr && callbackResult != cwErrFileNot...

BSD Socket question - Hi! I am writing plug-ins for Photoshop and After Effects and want to add some BSD sockets functionality. The example projects from Adobe, which was my starting point, does not have any framework. Is it possible to do it? Thanx Gus

A newbie question - Hi all, Sorry if this is an age-old question, but i'm realy struggling to find the info I need. I'm coding for max/msp using codewarrior (in C) on OS9 and I want to communicate with localhost. Can anyone tell me the best way to go about this? Many..
   Macintosh computer (Home) -> Programmer Code All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]