How can I track every copy event in Windows?
Suppose user copies from an editor, or from a text field, or some other places, I just want to be notified about it, so that whatever is being copied, I...
Type: Posts; User: manav
How can I track every copy event in Windows?
Suppose user copies from an editor, or from a text field, or some other places, I just want to be notified about it, so that whatever is being copied, I...
I would paste the source also, but, that is not going to make it any simpler, I guess. The source is also a little customized, so needs more explanation. Besides, I think some of the forum members,...
While changing one boost signal from single parameter to taking two parameters, I got this error, I checked my code, since I do not understand the error at all. For me the code seemed okay, now I am...
Mats, I missed your reply.
Why do you need the user to exist, while reading it's post? Do you want Einstein to be alive, so that, we can read his E=mc2 descriptions?
Delete the inactive accounts...
I think you missed the point, only about 3% are active other are gone long back. They may not remember their login - passwords. Try sending emails to all the inactive users. So they can respond and...
Well... I asked one of the mods to delete this thread, they do not wish to do that, anyways, my replies:
- I have seen them locking a thread which was bumped after 30 days or so, why not lock...
I would have done that long back, if I was a mod ;)
Would have deleted the whole thread, in it's infancy :D
Not rules, but that's what I would do myself, if this was a forum created by me. Take them as suggestions/checklist/tips/guidelines.
I will add more to the list.
- 30 day inactivity, and the thread should be locked
- remove casual discussions out of some serious topics
- threads in general discussion will be deleted after, say, they get 6 months old
-...
Riches,
I have no preference regarding std::string* / char* or std::vector, the problem was all the previously coded requests would use, char*, but I was getting std::string*, so, I had to use -s...
Riches, thank you for your help.
I ran the wsdl2h file with -s flag to create non STL code. Actually, when I did not use the flag it created all std::string* in the output. Which was incompatible...
Thank you Mats, for quick reply, when it was a little urgent for me also.
Yeah, I understand now.
Ok. As my initialization is correct. I will use them in my request. You are right this is gSOAP...
Thank you Mats.
Can you tell me other ways? Are there better, simpler, more elegant ways?
Given these pseudo C++ class definitions:
class Request
public:
char* name;
ArrayOf_Property* properties;
class ArrayOf_Property
public:
Thanks CornedBee.
Elks, Do you remember the other situation in different thread?
Array of something is-a something. Similar situation here.
I was just looking for ways to get a cosmic type. I...
That seems strange but magical also, anyway, less work on programmer's part.
That is unclear to me, besides, testing that it links or not, I am unable to explain why it is happening? And what is...
I am confused, this worked fine without adding a virtual ~Derived2():
#include <iostream>
using namespace std;
class Base2 {
public: virtual ~Base2() {
cout << "~Base2()" << endl;
}
};
Do you mean that, if I have, virtual ~Base(), I should (Or, must?) make virtual ~all-otherDerived(), also?
Bad. The first was just the same, as the last.
Anyway, I will use virtual instead of using pure virtual which, requires more work in every derived class.
One more thing:
Which should I put here,
virtual ~Base();
Or virtual ~Base() = 0;
Or virtual ~Base() {}
Finally. To make sure, that, I can assign all kind of derived (from Base) objects to the basePtr, and to make them delete properly, I just needed a virtual destructor in Base. Ok. Clear.
But what...
I read that link, I am getting it, a little, I understand the need for a virtual destructor now.
See this code:
#include <iostream>
using namespace std;
class Base {
public: ~Base() {...
Thank you Mir. But I did not understand his third point, polymorphic, what is wrong with my definitions, with regards to being polymorphic? Do I need polymorphism here?
Thanks Light for so many useful points. Delete is easy, I will handle that later. Making them public , I just can't avoid. I have little idea about polymorphic nature of above definitions.
...
The following code, compiles & runs fine under MSVC .Net 2003, I just want to make sure, if, there is some complication here, like, construction/destruction being improper, or something like that,...