|
It looks like you are drawing everything on your memory DC but you forgot to paste everything back on your CDC in OnDraw.
|
|
|
|
|
Hi Anu_Bala,
your code draw only background
and if change pMemDc it darw pMemDC->TextOut(::AlignX(300,mClientArea),::AlignY(30,mClientArea),"Perfor");
But pMemDC->TextOut(300,30,"Perfor",6);
with white color
and another variables pMemDC,pBitmap
Can you be more specific
|
|
|
|
|
i want to ger harware identification(maunfacturer serial number model types )of my hardware (motherboard network card processor hard disk...) in linux oerating system
am
|
|
|
|
|
I kindly ask you to try asking that in a more appropiate forum. This a Visual C++ forum!
|
|
|
|
|
Hi All,
I am working on a project where i need to mix audio and video files. Is there any windows api available for this?
I tried in DirectShow. I couldnt find any particular interface which does this.
Can anyone help me on this?
Thanks and Regards,
Poornima
|
|
|
|
|
|
Hi
I follow the options for the beta from the readme. I get the following error:
vc\include\vld.h(65) : error C2146: syntax error : missing ';' before identifier 'VLDDisable'
What causes this?
cheers
-- modified at 7:33 Tuesday 4th April, 2006
|
|
|
|
|
There is a ';' missing before 'VLDDisable'
Seriously, why do you think error messages exists ? The error message is described explicitely, there is a reason for that: yes, you can try to fix the error yourself.
Now, if you cannot, be more explicit, post some code, ...
How can we correct the problem just by seing the error message (except saying exactly the same as the error message) ?
|
|
|
|
|
Here's the code:
#include "stdafx.h"<br />
;<br />
#include "vld.h"
If it were that simple....
cheers
-- modified at 7:51 Tuesday 4th April, 2006
|
|
|
|
|
What's this ? At least post some code from where the error is coming from. I mean it is not by including two include that we can see the error.
And BTW, what is this ';' in the middle of nowhere ? It's not really an error but why put ';' where you don't need to put one ?
thepersonof wrote: If it were that simple....
In general yes, it is simple: you have a file and a line number so you can see what line causes the error. Then starting from this point you can look why you have an error.
|
|
|
|
|
but in that case, the error could happen in the .h files
but i totally agree that the sample wasn't showing at all the issuing code...
|
|
|
|
|
v2.0 wrote: but in that case, the error could happen in the .h files
Yep sure but if you look at his first message, the error was clearly in the vld.h file at line 65. I hardly see 65 lines of code in the code snippet he posted .
Furthemore, I looked at the source code from this VLD project and on line 65, there is nothing, only comments. So I don't know what he did with the code.
|
|
|
|
|
|
How can i listen to all IRP from PnP on USB port?
Thanks
|
|
|
|
|
Sorry but I don't know what an IRP and a PnP (it depends of the context in which it is used I suppose) is. But if you want help, you have to describe your problem more in detail. Where do you have troubles exactly ?
The only thing I can tell you is that USB port is not like a serial port: you cannot simply open it and send data on it. What you need to do is open a specific device driver (which is bound to a specific hardware device connected on the USB) and then exchange commands and data with it. Then the driver will take the appropriate actions.
|
|
|
|
|
I think a it's possible by building/using a filter driver. Check out the DDK.
|
|
|
|
|
Thanks.i think it can be possible.
But i do not know how to use filter driver to catch IRP PnP message and logging all into my application.Can you tell me the direction
Thanks again
|
|
|
|
|
Hello. I'm sorry, but I haven't made one myself.
My advice is to download the Windows DDK and check out the samples and documentation in it.
|
|
|
|
|
How can i listen to all IRP from PnP on USB port?
|
|
|
|
|
I want to create dynamically a virtual data base in the memory, and then execute queries on the data base.
How can I do it?
BTW, the data base includes some tables with relationships.
Thanks
aukh
|
|
|
|
|
I want to create dynamicly a virtual data base in the memory, and then execute queries on the data base. How can I do it?
BTW, the data base includes some tables with relationships.
Thanks for all,
aukh
|
|
|
|
|
it is not easy to create a real database, it may need years even you are a best programmer.
A special image tool for Windows C++ programmers, don't miss it!
The world unique Software Label Maker is waiting for you and me ...
A nice hyper tool for optimizing your Microsoft html-help contents.
|
|
|
|
|
I need a small data base, is it so hard, more then create dynamically a real data base?
|
|
|
|
|
|
The SQLite is not a virtual Data Base, I wand DB that will be only in the memory for the project.
Do you have an idea?
|
|
|
|