|
Madhu_Rani wrote: thanks
That's what I see here now, but what I received in the email notification was entirely different! You've changed it immediately after posting to appear innocent.
If you don't have the nerve to make a comment publicly, you might as well hide under that same hole where you were. You want to know what I think? I think that you are a complete idiot. You are clearly in no position to assess anybody's contributions here.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
YES- We wrote these lines and then we deleted that if you have not courtesy/moral values then at least we should show and there is no need of hiding. Basically we two persons are working over this project. The other person does not bear user account with this portal and was using mine.
and once again you proved from your language that where you morally stand. I am not intrested to know what are your contributions. Only cheap like you requires praise.
|
|
|
|
|
You post one thing, and then edit it later to look innocent (just change it to "thanks" - wow! ). And I'm cheap because why? Was there anything vulgar or abusive in my reply? I insist that you read the guidelines and that makes me morally low?
You said there was no 'content' in my reply, but besides asking OP to read the guidelines, I also provided inputs that should have helped. You have no comments about that, but you insist on judging me otherwise?
Ignorance must be bliss!
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Not to prove myself innocent but during the process We realized that we should not behave like you. You are using word like idiot and still thinks that it is not vulgar. YES you rightly said ignorance is a blessing and you are reaping the fruits of it truely.
|
|
|
|
|
In my first post, I only asked to read the guidelines! You then wanted to prove your idiocy by behaving like a criminal. As you can see, we are not hiding behind anything, are not anonymous and are here for a purpose. Unfortunately, shameful people like you refuse to follow the guidelines and keep posting elementary stuff.
You will be ignored.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Strange!!! people like you are talking about shame... just analyze your language then you come to know who is shameless....
Idiot, Criminal, Shameful, Coward.
ALL of these words are used by you , not by me and I have no doubt that you deserve all these titles. I used the words idiot only when you used it for me as a response and still I am excusing you. Indeed you are a totaly technology nut having no content (innerself) and you should be proud over.
|
|
|
|
|
See it for yourself:
1. You don't comply with the guidelines
2. I ask you to read the guidelines (along with an answer - links to open source implementations of the stuff you asked for).
3. You send me a stupid reply and then modify it so that it won't be visible publicly (changed it to "thanks"). You are a tosser.
4. Now, you think I cannot call you an idiot? And you are not a shameful person? Actually, YOU ARE.
5. And you think that I am ignorant.
Actually, you are the ignorant one.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
|
Ignore this tool. He won't accomplish any of his tasks, the best he can hope for is to download some source and be utterly baffled at it's complexity, he won't accomplish his tasks plain and simple.
Stop wasting your breath and these broken English comebacks. And be more direct. A fucking idiot is a fucking idiot.
|
|
|
|
|
EliottA wrote: A f***ing idiot is a f***ing idiot.
Well said
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Thanks!
I must agree with you. I usually don't get into such arguments, but I really wish people stop behaving like children when they're left anonymous over the internet. But then I'll ignore such ones now.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
More often then not people aren't truly anonymous over the internet. Especially on places like CP. Whatever he will is trying to do, take solace in the fact he will fail.
|
|
|
|
|
So you're two: the coward and the idiot.
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]
|
|
|
|
|
Dont be upset . Now you are too TWO and an idiot find another idiot for help:
modified on Tuesday, July 28, 2009 1:54 AM
|
|
|
|
|
Madhu_Rani wrote: modified on Tuesday, July 28, 2009 1:54 AM
Yet again you go about posting one thing and modifying it to look innocent. You're a tosser.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
and you know it very well that this time I did not delete a single word rather I added more words in your praise. So this time this silly excuse of modification would not work.
|
|
|
|
|
Madhu_Rani wrote: an idiot find another idiot for help
I do not know about your IQ, but commenting like this on two MVPs is utterly foolish.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Rajesh R Subramanian wrote: I think that you are a complete idiot.
Yes He is!!!
He probably does not have access to Yahoo and that is why trying to pass time here.
You should just ignore him as you can never win if you arguing with an idiot.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
I should have realised. I'll ignore 'em from now.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Hi, I'm rather new to using COM. I was to trying to connect to WMI and plan to create two separate threads that will connect to WMI parallelly. Both the threads will be watching for some WMI events. My question is, do I need to use two separate proxies for each of the threads. Can I use the same IWbemServices pointer (say declared globally ,or passed by reference to the thread) in my second thread as well. This other thread would be looking for some other event but using the same WMI namespace. Would that work?
Also can the same WMI locator (obtained from CoCreateInstance) be used to connect to other WMI namespaces as well?
I'm very new to COM and don't understand the concepts too well. Please help
[Edit]
Someone please guide me a little here! I'm totally lost in COM ocean..
modified on Thursday, July 16, 2009 11:37 AM
|
|
|
|
|
I think it depends how you initialise COM. COM can be run as single[^]- or multi[^]-threaded. I think the multi-threaded version would allow you to share interface pointers.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Well I've initialized it as COINIT_MULTITHREADED in CoInitializeEx() but it doesn't work as hoped. I use the same IWbemServices pointer (all initializations done just the first time) to run an ExecNotificationQuery with different WMI queries. However my ExecNotificationQuery fails. The two queries work fine if done individually but I can't seem to be able register for two separate WMI events separately.
If I do the whole initialization again for my 2nd query then I get an error in COM security initialization.
Code Snippet:
HANDLE hres;
hres = CoInitializeEx(0, COINIT_MULTITHREADED);
if (FAILED(hres))
{output something}
hres = CoInitializeSecurity(NULL,1,NULL,NULL, RPC_C_AUTHN_LEVEL_DEFAULT, RPC_C_IMP_LEVEL_IMPERSONATE,NULL, EOAC_NONE,NULL);
hres = CoCreateInstance(
CLSID_WbemLocator,
0,
CLSCTX_INPROC_SERVER,
IID_IWbemLocator, (LPVOID *) &pLoc);
hres = pLoc->ConnectServer(
_bstr_t(L"ROOT\\WMI"), // Object path of WMI namespace
NULL, // User name. NULL = current user
NULL, // User password. NULL = current
0, // Locale. NULL indicates current
NULL, // Security flags.
0, // Authority (e.g. Kerberos)
0, // Context object
&pSvc // pointer to IWbemServices proxy
);
hres = CoSetProxyBlanket(
pSvc, // Indicates the proxy to set
RPC_C_AUTHN_WINNT, // RPC_C_AUTHN_xxx
RPC_C_AUTHZ_NONE, // RPC_C_AUTHZ_xxx
NULL, // Server principal name
RPC_C_AUTHN_LEVEL_CALL, // RPC_C_AUTHN_LEVEL_xxx
RPC_C_IMP_LEVEL_IMPERSONATE, // RPC_C_IMP_LEVEL_xxx
NULL, // client identity
EOAC_NONE // proxy capabilities
);
IEnumWbemClassObject* pEnumerator = NULL;
hres = pSvc->ExecNotificationQuery(
bstr_t("WQL"),
bstr_t("SELECT * FROM ..."),
WBEM_FLAG_FORWARD_ONLY | WBEM_FLAG_RETURN_IMMEDIATELY,
NULL,
&pEnumerator);
Then I use pEnumerator->Next within a loop and cleanup.
I run this function twice in separate threads.Ideas?
|
|
|
|
|
Hi all,
Is it possible to get client IP from the socket handle to which it is connected.
If possible please let me know.
Regards,
Sunil Kumar
|
|
|
|
|
getpeername [^] looks promising.
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]
|
|
|
|
|
Hello I have the following code but it isn't working as expected, can't figure out what the problem is.
Basically, I'm executing a process (a .NET process) and passing it command line arguments, it is executed successfully by CreateProcess() but CreateProcess() isn't passing the command line arguments
What am I doing wrong here??
int main(int argc, char* argv[])
{
PROCESS_INFORMATION ProcessInfo;
STARTUPINFO StartupInfo;
ZeroMemory(&StartupInfo, sizeof(StartupInfo));
StartupInfo.cb = sizeof StartupInfo ;
LPTSTR cmdArgs = "name@example.com";
if(CreateProcess("D:\\email\\smtp.exe", cmdArgs,
NULL,NULL,FALSE,0,NULL,
NULL,&StartupInfo,&ProcessInfo))
{
WaitForSingleObject(ProcessInfo.hProcess,INFINITE);
CloseHandle(ProcessInfo.hThread);
CloseHandle(ProcessInfo.hProcess);
printf("Yohoo!");
}
else
{
printf("The process could not be started...");
}
return 0;
}
Hey one more thing, if I pass my cmdArgs like this:
LPTSTR cmdArgs = " manzoor10@gmail.com";
I get the error:
Object reference not set to an instance of an object
then CreateProcess returns TRUE but my target process isn't executed.
|
|
|
|