AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unicode2Ansi

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Phoenix



Joined: 23 Sep 2005
Posts: 39

PostPosted: Fri Feb 08, 2008 5:06 pm    Post subject: Unicode2Ansi Reply with quote

Hi!

Sorry for this newbie question but I have searched for the answer and not found it Smile I am using the function Unicode2Ansi(ByRef wString, ByRef sString, nSize = "") in cohelper.ahk Why are there to invariables to the function and what do they represent?
Back to top
View user's profile Send private message
wOxxOm



Joined: 09 Feb 2006
Posts: 319

PostPosted: Sun Feb 10, 2008 3:52 pm    Post subject: Reply with quote

the default byval passing would cut out the source unicode string at the first null byte so only one character would be seen by the function Smile that's why wString (wide string = unicode string) is also byref
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group