|
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?
|
|
|
|
|
Hi,
Can we increase the Height of the status bar,Which MFC provide by defaulit?
If so How please tell me,In my application i want to have status Bar with More height compared to one provided by MFC framework by default.
Thank in before
JamesRocky.
|
|
|
|
|
|
Hi RockyJames,
SetBorders
|
|
|
|
|
|
I want to increase height of the Status bar...?
Bec i want to Load Bitmap in to the one of the Pane..
-- modified at 6:56 Tuesday 4th April, 2006
|
|
|
|
|
for increase m_wndStatusBar.SetBorders(4, 7, 4, 7);
|
|
|
|
|
I have use setborders function m_wndStatusBar.SetBorders(4,7,4,7);But it the status bar is not displayed properly.
-- modified at 7:34 Tuesday 4th April, 2006
|
|
|
|
|
Hi All,
I need help regarding validating a string. This string is in unicode i.e it supports multiple languages.
I need an API which checks if a charater/string is supported by the current font or not.
Detail:
I need to show all the charaters supported for the selected font(from a combobox) in a grid layout. Then when user selects a particular grid, the string should get updated in a rich edit text control. Currenly I can see blank gyphs for characters which are not supported by the selected font. And same appear in the richtext control.
My requirement is to: Not to show the string in the grid control if it is blank.
Solutions tried till now:
I tried GetCharacterPlacement, MultiByteToWideChar, IsTextUnicode and GetGlyphIndices(does not work on XP).
But nothing useful.
Has anyone come across a situation like this.
Please help me. Am stuck badly.
Thanks,
Arti Gujare
|
|
|
|