|
Index is removed from msdn by default in visual studio 2010. Although there are some plugin, but not as good as in VS2008.
BTW, when opening and running two or more instances of VS2008, the UI will be out of order. For example,
running a server and a client in two instances of VS2008, when one aborted, one of the UI became out of order, I don't remember which.
What's like, the index in mysql document is also removed.
============
If search works, it is also possible to build an index only once instead?
I think M$ is collecting in the search procedure for analysis, for its bing.com.
modified on Sunday, January 2, 2011 9:47 PM
|
|
|
|
|
Is this a question about C++, or simply a rant about Microsoft?
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
about its programming environment
modified on Saturday, January 1, 2011 9:57 PM
|
|
|
|
|
Hi
I have created the event using CreateEvent Method. But I am not able to open this event using ::OpenEvent () method from RTOS Application. Do I need to create the event by setting some security level in first parameter of CreateEvent ().
Thanks
|
|
|
|
|
the security parameters can be NULL. its ok. CreateEvent will the use the default level of security.
To use openevent function you must have to create a named event. Did you created event like that ?
If u can Dream... U can do it
|
|
|
|
|
Yes I have created the Named event . I have Opened this event successfully and used in another win32 process. As I am trying this with RTOS , not able to find out why my RtOpenEvent fails.
::RtOpenEvent and ::OpenEvent both are supported in my RTOS SDK. I have also tried to use Global\\MyEventName .
Thanks and happy New Year
|
|
|
|
|
I don't know about RtOpenEvent , but this is what I would do if OpenEvent fails.
I would first check its return value to find that it failed.
I would then call GetLastError to find out why the API failed.
You should have something similar for the RTOS APIs.
|
|
|
|
|
hmm, sharing events betwen processes... its been a long time since i did usermode stuff but is it even possible?
"It is a remarkable fact that despite the worldwide expenditure of perhaps US$50 billion since 1990, and the efforts of tens of thousands of scientists worldwide, no human climate signal has yet been detected that is distinct from natural variation."
Bob Carter, Research Professor of Geology, James Cook University, Townsville
|
|
|
|
|
Named kernel objects are sharable across processes.
|
|
|
|
|
I have used named kernel objects. Also I have tried to set the security attribute with following code
SECURITY_ATTRIBUTES secAttr;
char secDesc[ SECURITY_DESCRIPTOR_MIN_LENGTH ];
secAttr.nLength = sizeof(secAttr);
secAttr.bInheritHandle = FALSE;
secAttr.lpSecurityDescriptor = &secDesc;
::InitializeSecurityDescriptor (secAttr.lpSecurityDescriptor, SECURITY_DESCRIPTOR_REVISION);
::SetSecurityDescriptorDacl(secAttr.lpSecurityDescriptor, TRUE, 0, FALSE);
HANDLE hEvent = ::CreateEvent( &secAttr, TRUE, FALSE, L"Global\\MyEvent");
Still facing the same problem : openEvent fails to open this event
|
|
|
|
|
Did you do what Superman told you to? What is the result?
|
|
|
|
|
Result : OpenEvent in my RTOS fails , handle return is NULL , GetLastError Return 2 which is File NOT Found error as per WinError.h
|
|
|
|
|
I am sorry, I can't help you any further. The RTOS docs are your best friends. Also, consult other people who use the same RTOS.
|
|
|
|
|
Thanks a lot ..I will try to get some breakthrough from the docs..
|
|
|
|
|
i have 100 or 1000 lines of string. That may contain UNICODE character or ANSI .. i want to write all that strings into UTF-8 format.can you help me?
|
|
|
|
|
The following link might be interesting, for you:
_open, _wopen[^] at MSDN (showing you may open a file in UTF-8 or UTF-16 mode).
UTF Helpers[^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
How do i convert PRtime Format to readable form?...please any one can give logic.
|
|
|
|
|
Try find it in code guru.... i think you ll get it from there....
|
|
|
|
|
I suppose you may directly store (PRtime/1000) into a __time64_t variable and then use CRT time formatting functions, like asctime , ...
See "time, _time32, _time64"[^] on MSDN .
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
I am fresher just before 1 month i joined a IT company. Here i am working on VC++. I want to load two different XML files in VSFlexGrid_1 and VSFlexGrid_2 respectivelly and i need to compare the both xml files. If any mismatch found in the both files it should display in red color and if element not found in any one of xml file it should leave one blank line. I hope you know how the Beyond compare application works. like same my application should work. please help me to code for it.
Thanks & Regards
Savita
|
|
|
|
|
Click hete ->MSDN Search[^]
I believe in LOVE AT FIRST SITE...
Bcoz I have loved my Mother...
even since I opened my eyes...(ICAN)
|
|
|
|
|
XML files are just text - any diff comparer should do what you want - don't bother re-inventing the wheel.
|
|
|
|
|
As one of the poster already said don;t re-invent the wheel. but you can take a peek into WinMergeU its open source, it sure time consuming.
-Regards
A
|
|
|
|
|
Please use winmerge software to comapre to xml or text file.whichever you want.
if you want with VC++.
please use MSXML sdk or read MSDN.
don't try copy paste.
that's bad habbit to fresser.
|
|
|
|
|
hello guys... i have got this static library "myLib".
Now in this library, classes are declared but their respective definitions are separate files (with the names of classes). There is also "stdafx.h" file inwhich necessary files are already included.
This library builds successfully but the problem comes, when I include this library's "*.h" file into my client project. Im getting annoyed by these errors. Some of them are as follows
- error C2504: 'CObject' : base class undefined ...
- error C4430: missing type specifier - int assumed. ...
- error C2143: syntax error : missing ';' before 'protected'
- error C2146: syntax error : missing ';' before identifier 'm_evtComplete'
Im getting no less than 159 errors. But as stated earlier, thid library builds successfully. Any ideas??
|
|
|
|