when my application exe is running nad i don't want to
create another exe what should i do
Answers were Sorted based on User's Feedback
Answer / ramachandran
We can use mutex to avoid one more creation.
| Is This Answer Correct ? | 1 Yes | 0 No |
In form load even we write the code to check the previous
instance running or not. If previous instance exists show
the message and exit the form.
Use System.Diagnostics namespace for find the running
previous instance.
| Is This Answer Correct ? | 1 Yes | 0 No |
//what is wrong with the programme?? #include<iostream.h> template <class first> class dd { first i; public: void set(); void print(); }; void dd< first>:: set() { cin>>i; } void dd< first>::print() { cout<<"\n"<<i; } void main() { dd <char>g; g.set(); g.print(); }
How would you stop a class from class from being derived or inherited.
What is oops and its features?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What is advantage of inheritance?
What is a scope resolution operator?
what is the difference between class to class type conversion and copy constructor ?
tell about copy constructor
Why static functions always uses static variables?
How to deploy web appliction in web logic ?
how to find no of instances of an object in .NET?
What is encapsulation with example?