|
thx again
it seems complex but i try to understand
|
|
|
|
|
Anyone has/knows a good library for creating performance counters? The SDK way is pretty cumbersome, and I am not willing to write a WMI high-performance provider.
Hints? Links? Ideas?
Holy Sh*t! I'm speechless. (hey, that's a first) Marc Clifton, The Lounge
|
|
|
|
|
Boy are you in for some fun times! I just went through this myself and it is NOT very straightforward. I ended up borrowing some code from MSJ August 1998 and even then the integration was a huge pain. I don't have a link for you, but you can try to search for this:
Module name: PrfData.cpp
Notices: Written 1998 by Jeffrey Richter
Description: C++ template classes for Performance Object data types.
Good luck, you're gonna need it!
|
|
|
|
|
Erik Juhl wrote:
Boy are you in for some fun times
Yes, I've noticed already
Thanks for the hints.
Anyway, I've started a integration library, it might develop to a article on CodeProject. Looks promising.
Holy Sh*t! I'm speechless. (hey, that's a first) Marc Clifton, The Lounge
|
|
|
|
|
Hi,
I have an MFC app and I want to create some Controls on the Fly!
The controls are member variables of an custom control class and
will be created in the OnPaint function of this customcontrol Class.
I have to apply a ID to them when creating(by using the Create function (...,UINT nID))
How do I create such an ID dynamically?
Thanks, Ingmar
|
|
|
|
|
ingi wrote:
OnPaint
You wanted to say OnCreate() ?
AFAIK, the controls created by your control are your controls childs, and they are not 'visible' to the outside (programatically spoken, they are, of course, visible on the screen) so you can assign them arbitrary numbers.
My opinions may have changed, but not the fact that I am right.
|
|
|
|
|
ingi wrote:
I have to apply a ID to them when creating(by using the Create function (...,UINT nID))
How do I create such an ID dynamically?
If you don't use the control ID (e.g. when you use HWND or CWnd* to access your childs), you dont need one, so the IDs can all be the same (meaningless) number.
Otherwise here are some IDs: 1 2 3 4 5 ....more?
|
|
|
|
|
I am adding bitmaptoolbar.I was added sucessfully in one row.I want add tools in the second row.How to write?
|
|
|
|
|
Hello
Is there any good libraries for XML out there?
Im programming in unmanaged C++ using Visual Studio 7 (the xml classes in .net is only for managed c++, or am I wrong?)
I do not use MFC.
|
|
|
|
|
Use XML DOM.
Search MSDN Library and you'll find good help!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
Is that COM components? Or am I wong. I want to use libraries.
|
|
|
|
|
Verifier wrote:
I want to use libraries
Write your own library!
The best way to learn XML in C++!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
If I wanted to do that, i wouldnt have asked, right?
|
|
|
|
|
Try those good article on CP (much easier to use than DOM)
Markup[^]
MarkupArchive[^]
Jonathan de Halleux.
|
|
|
|
|
|
|
How to get an IP address of a local computer?
Please send me any example/code/API.
Reply me soon
|
|
|
|
|
127.0.0.1
Best regards,
Alexandru Savescu
P.S. Interested in art? Visit this!
|
|
|
|
|
|
Is there a Shell or API function that I can specify a FullPath to a file, and have the shell open explorer and highlight the file.
Like when you perform a Find Target on a shortcut?
|
|
|
|
|
You can check out this article to get a code that will do it...
http://www.codeproject.com/shell/FoundInFolder.asp
Hope this helps.
|
|
|
|
|
thanks.
It certainly does... In fact even though the author said it only works in Win98, it still works properly in Win2k
|
|
|
|
|
there is new XP function SHOpenFolderAndSelectItems
|
|
|
|
|
Hi everybody and please excuse my poor English,
I would like to write a directshow filter that operate directly on Compressed video streams by changing some parameters (contrast or light), is it possible without uncompressing the video file ?
Where can i find some documentation or a sample source code ?
Thank you.
|
|
|
|
|
Hi,
I would like to create a CTreeCtrl which has a CToolBar embedded. The result should be a new control. Is this possible and if so how do I achieve this?
I presume it is possible to change the CTreeCtrl because the windows explorer does so too. It creates a grey bar with the caption "Folders" and a close button.
Any suggestions?
Thanks,
Henk
|
|
|
|