|
Thank you Mike, that worked. You're in the "Thanks to..." list *laugh* ::- D.
No, really, you are ::- ).
-= E C H Y S T T A S =-
The Greater Mind Balance
Blending C++ with COM ^
|
|
|
|
|
Use function callback WindowProc and check parameter uMsg is WM_DESTROY
------------------
conglt
|
|
|
|
|
Handel WM_DESTROY in ur Button or use PostMessage() call in your button.
Fly Like An Eagle With MIGHTY POWER.
|
|
|
|
|
I have IP address of remote PC, how do I get username of current user login if my PC and remote PC, both run in a Active Directory domain
-----------------------------------
conglt
|
|
|
|
|
Hi,
i.e. you can use:
NetWkstaUserGetInfo
or
NetWkstaUserEnum - it enumerates currently logged users
-----------
Mila
|
|
|
|
|
Thank you very much
-----------------
conglt
|
|
|
|
|
I have written a COM add-in for MS.Word in MFC. I can get the content of a document, and control ms.word's document successfully. However, I can't do functions as ms.Equation 3.0 does, such as adding a mathematical symbol. I don't know how to do that, how the ms.equation does as well as what ms.equation solves in detail. I'm in dark. Would you like to give me some advice, or point me some webpages. Thanks...
|
|
|
|
|
je cherche comment changer le valeur d'un edit dans un page de tab control avec un button dans une autre page de tab control????
|
|
|
|
|
English please!
We Believe in Excellence
www.aqueelmirza.cjb.net
|
|
|
|
|
Could you please put that in plain english? I'm trying to help you but I'm not understanding anything.
|
|
|
|
|
Hi brouka
whats the meaning of
(
je cherche comment changer le valeur d'un edit dans un page de tab control avec un button dans une autre page de tab control???? )
|
|
|
|
|
Do you want change value of a edit box in another page in tab control?
conglt
|
|
|
|
|
One application has to be developed for monitoring any selected root registry key .A combo box to select one of the root registry key, two buttons to start, stop monitoring respectively and a list control for displaying registry keys that r getting updated with columns registry key name, value, status(create/modify/delete).
wat is the procedure.............to follow to do it?
|
|
|
|
|
Hi kiranin,
Whats problem?
|
|
|
|
|
i want know how to monitor the modified/created/deleted registry files and display these in a List COntrol
|
|
|
|
|
|
|
|
Hi all.
I have this code:
MObject* object = new MObject();<br />
object->value=10;<br />
delete object;<br />
<br />
if (object!=NULL){<br />
int j=object->value;<br />
........<br />
}
Please help me.
Thanks
|
|
|
|
|
try{
int j = object->value;
}
catch(...){
// handling here
}
<font=sans-serif>|-|3llo Wo|2ld
|
|
|
|
|
Shuang. Wu wrote: try{
int j = object->value;
}
catch(...){
// handling here
}
Thanks, but this does not work.
I using VC++ 2005.
|
|
|
|
|
well, the code
int j = object->value;
could lead an unexpected result. sometimes exceptions like AV(Access Violation) could be thrown out, but not always.
<font=sans-serif>|-|3llo Wo|2ld
|
|
|
|
|
In general catch(...) is bad form. A general rule of exception handling is that you should only catch what you expect to be thrown.
Steve
|
|
|
|
|
Deleting an object doesn't invalidate the pointer to the object.
You need to do:
delete object;
object=null;
I'm not sure how to check if deleting of the object actually worked...anyone...anyone..
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
Steve Echols wrote: You need to do:
delete object;
object=null;
Thanks, but if i do this code. The program does bot call:
int j=object->value;
and the error does not occur.
Above is a simple example, my problem is very complicate and i can not set NULL to object.
Thanks again.
-- modified at 2:55 Friday 14th April, 2006
|
|
|
|