Failed to create a service hosted by Svchost.exe
Mon, 10 Dec 2007 03:06:00 -0800
I developed a service to be hosted by Svchost.exe. This task seemed pretty
simple and is all done. The real problem comes out when I try to run it in a
particular instance of svchost.exe (letâ??s say netsvcs) it does not work as
expected, it creates a completely new instance of Svchost.exe instead of
using a ...
|
Unicode decomposition ...
Sun, 9 Dec 2007 02:17:50 -0800 (PST)
I have a question concerning Normalization form C: ...
when the standard comes to the composition of a
previously decomposed string, it says (of each
character "C" in the string)
" ... If C is not blocked from the last starter L and it
can be primary combined with L, then replace L
by the composite L-C a ...
|
Truncation of instanceName when using PdhEnumObjectItems
Tue, 4 Dec 2007 02:41:35 -0800 (PST)
Hi All,
The following sample code works well on single byte languages and
prints the list of running processes in the box. But on double byte
languages like chinese, korean etc, it prints only the partial process
name. Does anyone have a clue as to what could be wrong?
// TestApp.cpp : Defines the entry poi ...
|
Programmatically (Win32/MFC) checking the status of mapped network
Thu, 29 Nov 2007 00:55:09 -0800 (PST)
Hi
How can I programmatically (Win32/MFC) check the status of mapped
network(i.e. server is connected or disconnected)?
We have a local server to which many clients can be connected.
I have connected to this server and mapped to particular drive(say Z:
\).
In the server we can get all the Client IP which a ...
|
what is the (registry ?) variable to be used to get the LIP/MUI
language files path ?
Mon, 26 Nov 2007 16:10:39 +0200
How can I know programatically the path where the system language
files are located [for a given language], either LIP or MUI ? (I'm
strictly interested in Windows XP, but either)
Is there a registry entry that holds this info ?
Thank you,
Cristi ...
|
obtaining the language ID from a HKL
Mon, 26 Nov 2007 07:54:24 +0900
What is the documented way to obtain the language ID from a HKL?
i.e. the same as what LANGIDFROMLCID and PRIMARYLANGID do for LCIDs but for
a HKL. ...
|
EnumFontFamiliesEx fontview.exe
Sat, 24 Nov 2007 13:05:07 -0800 (PST)
I am attempting to update a program fontview.exe.
Original program uses: EnumFontFamilies
Function and callback are:
void CMainWindow::FillListBox ()
{
m_wndListBox.ResetContent ();
CClientDC dc (this);
LOGFONT* lplf;
lplf->lfCharSet = DEFAULT_CHARSET;
::_tcscpy( lplf->lfFaceName, _T(""));
lplf->lf ...
|
|
|
Unicode questions
Fri, 23 Nov 2007 01:21:01 -0800
Following the replies to my post about Chinese Windows, I have started the
process of Unicoding my app. I have started with the file system. I have
run into two problems and have a third specific question.
1) I've been using List View to present a list of file names and locations.
I can add strings to t ...
|
How to unsupported characters in a font?
Wed, 21 Nov 2007 06:38:02 -0800
I am dynamically adding text to a richtextbox using a selected font. My
problem starts when text is added to the richtextbox that is outside the
character set that the selected font supports and the richtextbox I assume
does some sort of fallback to the default font for that character set causing
any text th ...
|
Centimetres and inches
Sat, 17 Nov 2007 21:10:00 -0800
I have an c++ app compiled under VS2003. The app is not locale aware.
There is a lot of display of measurement in the App. All display at present
is done in inches. How can I test to find out the regional setting set in
Windows for centimetres, inches or whatever so that I can use that and apply
it progr ...
|