|
is there anywhere in the registry or using one of the wmi classes that i can get the gpu core, memory, shader speed?
if no. does anyone know how to get this info?
|
|
|
|
|
For basic information like Name of the gpu card, memory, etc you can use Win32_VideoController class in WMI. For number of shaders, texture units, etc you will have to use directx or opengl.
-Saurabh
|
|
|
|
|
i need core speed shader speed and memory speed only. the rest dont matter
|
|
|
|
|
Hi,
How to get rid of reference to MSJAVA.DLL in Visual C++?
I am building x64 bit COM object and for some reason the DLL depends on MSJAVA.DLL (which is x86); therefore, I am unable to debug this on runtime.
I got this error when turned on "Enabled unmanaged code debugging" in C#:
Error while trying to run project: Unable to start program 'C:\Temp\COM\TestDriver\TestDriver.exe'.
The debugger does not support debugging managed and native code at the same time on this platform.
Anyone know how to remove this reference? I am using Visual Studio 2005.
Cheers
|
|
|
|
|
Hi Masters!
I've a window without titlebar; So it doesn't have any text on its taskbar button. Can i set a title to it?
|
|
|
|
|
Usef Marzbani wrote: Can i set a title to it?
Yes, Call SetWindowText( _T( "New title" ));
For e.g. If I have a dialog without a caption bar I would call SetWindowText in OnInitDialog to avoid a blank button in the windows taskbar.
Nibu thomas
Microsoft MVP for VC++
Code must be written to be read, not by the compiler, but by another human being.
Programming Blog: http://nibuthomas.wordpress.com
|
|
|
|
|
Yes you can do.
-@SuDhIrKuMaR@-
|
|
|
|
|
Has anyone here created a Visual Studio project to build the LZMA SDK as a DLL (or lib; I can convert it). It would also be nice to have a project to build the command line utility.
(I like 7-zip, but my goodness, his source is a pain to deal with.)
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
I recently built 7-zip myself since I wanted to change the icons and it compiled smoothly with VS 2008. What version of VS are you using and what problem do you have building it? There is a project file for standalone command line utility for LZMA at CPP\7Zip\Compress\Lzma_Alone, I just tried it compiles fine. For building it as a librrary I guess there are files for it in CPP\7Zip\Compress\Lzma, did you tried to create a new empty win32 lib project and adding all the files in it?
Saurabh
|
|
|
|
|
I'm building it in VS6. Apparently I need the 2003 PSDK, which I downloaded before heading home tonight. I'll probably build it for VS 2005 as well (long story, don't ask.) I was just curious if someone had created a .dsw for it.
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
I have a Windows listview control with 15 columns. Is there a way for me to highlight a specific column in the listview? Can I also move the highlight by scrolling left and right on the listview? Thanks.
|
|
|
|
|
kani98 wrote: Is there a way for me to highlight a specific column in the listview?
Yes. Look at OwnerDraw[^]
led mike
|
|
|
|
|
|
a Dialog-Based project
i begin a thread in OnInitialDialog()
m_list is a variable related with a CListCtrl widget
when compiling
it shows that
error C2065: 'USES_CONVERSION' : undeclared identifier
error C2065: 'ReadDirectoryChangesW' : undeclared identifier
error C2065: 'm_list' : undeclared identifier
error C2227: left of '->InsertItem' must point to class/struct/union
error C2227: left of '->GetItemCount' must point to class/struct/union
error C2227: left of '->SetItemText' must point to class/struct/union
How can i deal with it ??
And why ??
thanks
|
|
|
|
|
york528 wrote: error C2065: 'USES_CONVERSION' : undeclared identifier
See here.
york528 wrote: error C2065: 'ReadDirectoryChangesW' : undeclared identifier
See here.
york528 wrote: error C2065: 'm_list' : undeclared identifier
See here.
What does any of what you posted have to do with threads?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
there's only one problem
error C2065: 'ReadDirectoryChangesW' : undeclared identifier
after i do the follow
Header Declared in WinBase.h; include Windows.h.
it's still have the problem
|
|
|
|
|
thank you
i forgot to #define _WIN32_WINNT 0x400
the problem solved
|
|
|
|
|
Can you show your code and it seems you forgot to include header file or your program?
|
|
|
|
|
the Thread function is global function
CCriticalSection m_Sec; is global too
now after include atlbase.h
only error C2065: 'ReadDirectoryChangesW' : undeclared identifier
|
|
|
|
|
i did nothing
the code dosen't changed
but the m_list problem solved
Amazing
|
|
|
|
|
problem solved with #define _WIN32_WINNT 0x400
thank you for help me so much time and give me a lot usful advises
|
|
|
|
|
It seems your problem solved and I arrived late,but I glad it solved.
|
|
|
|
|
Basix.
1.include atlbase.h
2.You cannot access member variables from a static thread function. Pass the this(Dlg) pointer into the thread param and access it inside the function or do it in one of the 100 ways.
OK,. what country just started work for the day ? The ASP.NET forum is flooded with retarded questions. -Christian Graus
Best wishes to Rexx[^]
|
|
|
|
|
after include atlbase.h
only error C2065: 'ReadDirectoryChangesW' : undeclared identifier
do i miss other head file??
|
|
|
|
|
define this :
#define _WIN32_WINNT 0x400
in stdafx.h.
What OS are you using?
OK,. what country just started work for the day ? The ASP.NET forum is flooded with retarded questions. -Christian Graus
Best wishes to Rexx[^]
|
|
|
|