Russian Win2K - File Information Functions Fail

P

pkershaw

I am trying to port software to Russian Win2K still using MBCS.
Initial problem was failure of MFC class CFile to instantiate.

Tried to work around using Win32 API calls OpenFile() and
GetFileInfoByHandle(). I can find the file, and OpenFile()seems to
return a file handle. GetFileInfoByHandle() returns 0 and posts error
code "6" -> "The handle is invalid."

The application works in Western and Eastern European codepages, as
well as Simplified Chinese and Japanese.

Any help or recommendations on a good reference pub would be
appreciated.

R,
Patrick
 
J

Jack Klein

I am trying to port software to Russian Win2K still using MBCS.
Initial problem was failure of MFC class CFile to instantiate.

Tried to work around using Win32 API calls OpenFile() and
GetFileInfoByHandle(). I can find the file, and OpenFile()seems to
return a file handle. GetFileInfoByHandle() returns 0 and posts error
code "6" -> "The handle is invalid."

The application works in Western and Eastern European codepages, as
well as Simplified Chinese and Japanese.

Any help or recommendations on a good reference pub would be
appreciated.

R,
Patrick

None of MFC, CFile, or the Win32 API are defined by, or part of, the
standard C++ language. They are all just non-standard third-party
extensions as far as the language is concerned, and they are off-topic
here.

Consult the many Microsoft support groups in the
family on their server msnews.microsoft.com,
and I am sure you will find some that are appropriate.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top