realbasic-plugins
[Top] [All Lists]

Re: How to make folderitem from UTF16 path string on Windows?

To: "REALbasic Plugins" <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: How to make folderitem from UTF16 path string on Windows?
From: "Brian Rathbone" <brian dot rathbone at learningstation dot com>
Date: Fri, 18 Feb 2005 16:11:10 -0500
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <1gs5p32 dot 10chy351kznkizM%support at monkeybreadsoftware dot de>
> I got a UTF16 path and I'd like to make a folderitem from it.
> How?
>
> Mfg
> Christian

I am not sure how you go about getting a folderitem from a plugin, but maybe
this will help.

Is it the fact that the path is UTF16 that is causing the standard way of
getting a folderitem to fail?

Could you use GetShortPathNameW to get a usable short path?

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/getshortpathname.asp

hth,

Brian


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>