comp.os.mswindows.programmer.win32
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.win32 only
 
Advanced search
January 2008
motuwethfrsasuw
 123456 1
78910111213 2
14151617181920 3
21222324252627 4
28293031    5
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007    
total
comp.os ... win32 Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  how to determine if two paths are equal?         


Author: Inquirer
Date: Jan 24, 2008 10:19

is there a function in Win32 API allowing comparing paths? I cannot
find it:(. Maybe there is a function normalising paths that then could
be simply compared as ordinary strings?

There is Path.Equals() from .NET Framework which works perfectly for
me but I cannot unfortunately use the framework in the project...
3 Comments
  Printing gibberish (Asian) characters         


Author: Jamie
Date: Jan 24, 2008 04:24

Hi, i am porting some old code to win32 using the win32 file
functions. I am finally egtting somewhere. But during testing i am
reading text from a file using ReadFile and trying to display it using
wsprintf and MessageBox for testing, but all it's displaying of the
read text is gibberish?? All the numbers i am reading are ok. This is
similar to if i leave out the L"My Text here" 'L' but am not sure why
it is happening.

Simple PTSTR using malloc, and reading into the buffer. Any idea what
i am doing wrong? some conversion somewhere?

Many Thanks
Jamie
3 Comments