|
Thanks Anyway..
But this discusses what each synch object is..
I am looking for info on distinguistion between each and other object with respect to a sample situation..
Let me know if you have more info on this..
Thanks,
|
|
|
|
|
A general compare of all sync object types would take a bit of space ... and then likely be incomplete.
Do you have specific cases ?
e.g. critical section vs mutex in a situation where ...
...cmk
Save the whales - collect the whole set
|
|
|
|
|
As cmk mentioned, you should list certain situations and scenarios. You mentioned that you've used different sync objects in the same situtation, and they all worked fine. What situation and which objects?
Bob Ciora
|
|
|
|
|
I am using a multiple desktops software and am seeing that the dr watson popup always comes on the primary windows desktop and not in the currently active desktop. Does anyone know why this is so?
thanks!
|
|
|
|
|
Sorry this is not an answer to your question.
Since you are using Dr Watson for your application. Do you know any good advanced online article/document on the same.
|
|
|
|
|
Hello,
Based on a CComboBox control selection, I want to load CPropertySheet into a dialog-based MFC Application. I have 3 CPropertySheets in my project.
Inorder to do this, based on event :OnCbnSelchangeComboBox(), I want to delete existing CPropertySheet control and load the selected one.
How can I do this? Do I have to delete each & every CPropertyPage page and then add new CPropertyPage pages?
Is there any way that deletes total CPropertySheet once?
Regards,
mysticlol
|
|
|
|
|
Why don't you try showing the needed sheet, and hiding the not needed ones.
Like:
when sheet1 is needed:
m_Sheet1.ShowWindow(SW_SHOW);<br />
m_Sheet2.ShowWindow(SW_HIDE);<br />
m_Sheet3.ShowWindow(SW_HIDE);
Similarly show / hide them when needed.
this is this.
|
|
|
|
|
Hi All....
FindWindow() fails, even if instance of that application is running. When the first instance of the application runs, windows title is set.
Next time around, if I try to find the window using same string, it returns NULL. GetLastError() returns me ERROR_SUCCESS-0 code.
Can anyone explain Reason for this?
Suraj Gupta
|
|
|
|
|
|
Thanks for the help..But the case in which I am facing this problem is not race condition.
Suraj Gupta
|
|
|
|
|
i want to know about Windows ACL with sample code . can anyone help me .
|
|
|
|
|
gpswamy wrote: i want to know about Windows ACL with sample code .
If you could be a little precise, you will get the problem solved by someone out here. The narrower your question is, the clearer people can answer.
1. What do you want to know about ACL?
2. What source code?
3. How exactly are you going to use it?
4. What exactly are you going to do with ACL?
However, this[^] might help you.
gpswamy wrote: can anyone help me
There are 2,499,728 members as of now. Someone will help you, if you could ask your question precisely.
Regards,
Rajesh R. Subramanian.
You have an apple and me too. We exchange those and We have an apple each.
You have an idea and me too. We exchange those and We have two ideas each.
|
|
|
|
|
Subramanian.
Thatas a nice quote
"
You have an apple and me too. We exchange those and We have an apple each.
You have an idea and me too. We exchange those and We have two ideas each.
"
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
A very good article on ACL.
|
|
|
|
|
Hi All,
Can anyone explain me how to validate NT logon credentials using C++.
If you can provide the code, it will be great
Thanks
Uday
UdayGovekar
|
|
|
|
|
|
How to determine the width of space in antialiased font?
|
|
|
|
|
I all.
I got the following class headers (on declaration):
template <class t=""> class tVar { blá, blá, blá... };
template <class t=""> class tDoubleLinkNode : public tVar<t> { blá, blá, blá... };
template <class t=""> class tDoubleLinkList : public tVar<tdoublelinknode<t> *> { blá, blá, blá... };
class tMemCount : public tDoubleLinkList<smemcount> { blá, blá, blá... };
and sMemCount is:
typedef struct sMemCount {
uWord Amount : 10; // Amount of memory (0..1023)
eMemMultiplier Multiplier : 6; // Memory multiplier (0..63)
// This is a enum
} sMemCount;
And many other classes that do not interest rigth now. I have done the whole thing in separated modules, so, the classes definitions (such as the ones above) are in some .h file and body functions in .cpp file. The thing is, i am getting the following errors under VC++ 6.0:
memc.obj : error LNK2001: unresolved external symbol "public: __thiscall tDoubleLinkList<struct smemcount="">::~tDoubleLinkList<struct smemcount="">(void)" (??1?$tDoubleLinkList@UsMemCount@@@@QAE@XZ)
memc.obj : error LNK2001: unresolved external symbol "public: __thiscall tDoubleLinkNode<struct smemcount="">::tDoubleLinkNode<struct smemcount="">(void)" (??0?$tDoubleLinkNode@UsMemCount@@@@QAE@XZ)
memc.obj : error LNK2001: unresolved external symbol "public: __thiscall tDoubleLinkList<struct smemcount="">::tDoubleLinkList<struct smemcount="">(void)" (??0?$tDoubleLinkList@UsMemCount@@@@QAE@XZ)
Debug/ucd.exe : fatal error LNK1120: 3 unresolved externals
In the .h file i have the constructor definition:
public:
tDoubleLinkList ( void );
And in the .cpp i have written:
template <class t=""> tDoubleLinkList<t>::tDoubleLinkList( void )
And the same to all.
Any sugestion about those errors !? Thx!
|
|
|
|
|
|
Now I get the information such as "Broadcom 440x 10/100 Intergrated Controller",How can I get the MAC address ?
|
|
|
|
|
|
I used getmac to know the MAC address from command prompt but
it is showing me an error
C:\Documents and Settings\Administrator>getmac
'getMAC' is not recognized as an internal or external command,
operable program or batch file.
My OS is WIN 2000.
pls help me.Thanx in advance
-- modified at 1:08 Tuesday 6th December, 2005
|
|
|
|
|
Your error message simply means that Windows can't find the program (getmac.exe), neither in "C:\Documents and Settings\Administrator" nor in the PATH.
So, where did you put that program?
|
|
|
|
|
oops!
I searched but there is nothing like getmac.exe in computer.
Is there any other way.
Pls help me.Thanx in advance
-- modified at 2:34 Tuesday 6th December, 2005
|
|
|
|
|