473,322 Members | 1,806 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Russian Win2K - File Information Functions Fail

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
Jul 22 '05 #1
1 1424
On 10 Sep 2004 08:54:35 -0700, pa*************@fluke.com (pkershaw)
wrote in comp.lang.c++:
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
news:microsoft.public.* family on their server msnews.microsoft.com,
and I am sure you will find some that are appropriate.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: M. Posseth | last post by:
hello ,, does someone know how i can acomplish the folowing task ,, i have a program with a HTML interface and i need to write Russian chars to the generated HTML files my database is...
3
by: Ed Brandmark | last post by:
I have a tag of the form <SCRIPT LANGUAGE="JavaScript1.1" SRC="foo.js"..... and was wondering if this delays the loading of my page until that file foo.js downloads. It seems that if I place...
23
by: | last post by:
hi i try to malloc 2G size mem . so i wirte code like that. it failt in freebsd 5.3 and win2k what's bug in my code ? how can i change it ? thank all :) benjiam
2
by: Ross Noe via .NET 247 | last post by:
(Type your message here) -------------------------------- From: Ross Noe I created an XML file using ASP that has Russian characters. Forsome reason ASP.Net doesn't read the Russian...
9
by: Roger Withnell | last post by:
I've built a site in English and an now translating it into Russian. My html charset= utf-8 and my vbscript codepage is 65001. I'm using DreamWeaver. If there is a Javascript function in a...
8
by: Aleks Kleyn | last post by:
I use vb code to show information from SQL Server on the screen. I have Russian text in this data. Everything is fine, but when I save this information into file using code...
15
by: =?ISO-8859-15?Q?L=E9na=EFc?= Huard | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello all, For some reasons, somewhere in a program, I'd like, if possible, to quickly parse a whole file before rewinding it and letting the...
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.