I come back only when I have questions ... Actually I got laid off last October, and then started my new job by the end of last year. Programming the audio stuffs is completely new to me. I've been quite busy getting myself familiar with everything of this job these days.
I need to show one small "Please Wait.." image screen whenewer some back end processing is in progress.
For e.g. whenever user changing his ip adress and port, before going checking and establishing the connection, I want to show a "Please wait ..." image.But while going for connection browser gets hangs because of connection and after connection checking is completed. It goes for next page.
I am using IWebBrowser2 interface through which, I am getting pointer of browser.Then I am using IHTMLELement through which I am getting pointer of current html content.After that I am using IHTMLImageElement to add one img tag inside current html page for please wait screen.
Please give me some suggestions.
Waiting for the positive reply
and when im using the SHFILEOPSTRUCTA it is deleting.... can u plesase tell me what"s the difference in these two ....(SHFILEOPSTRUCTW and SHFILEOPSTRUCTW)...and i have to use unicode only.....
both are same.
Well, Why do you choose unicode or Ansi version by yourself? just use SHFILEOPSTRUCT + SHFileOperation() and enclose strings in _T() macro. So that the unicode or ansi version will be selected automatically. For instance,
Address of a buffer to specify one or more source file names. These names must be fully qualified paths. Standard DOS wild cards, such as "*", are permitted in the file-name position. Although this member is declared as a null-terminated string, it is used as a buffer to hold multiple file names. Each file name must be terminated by a single NULL character. An additional NULL character must be appended to the end of the final name to indicate the end of pFrom.
You don't give an additional NULL, so the shell operation carries on looking for the next string... which will be gobbledegook at best. I think the compiler is adding padding, which is why the next character stands a better chance of being NULL in the ansi version then the unicode version. This theory is very handwavy and untested, but you are not following the manual either way.
sh.pFrom = T("C:\\Documents and Settings\\Myid\\Local Settings\\Temp\\Tester\0"); // Give it an extra NULL.
Less importantly, I'd write
sh.hNameMappings = NULL;
...Treat hNameMappings as a pointer to a structure...
It's the same thing really, but it will help you in a years time and you come back to read the code...
Hope that helped,
In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!
If I'm not mistaken, didn't *you* write the code that you're now asking me about?
Shouldn't you be telling *me* what it means?
It's all well and good cutting and pasting code from other places, but you need to read the documentation first. I can forgive missing the extra NULL at the end of the string - it's a bit subtle, but I can't forgive not bothering to read the manual for a function you're having trouble using.
No you don't create something known as multithreading or neither call it. It's a concept where you instantiate multiple threads, allow them to run, synchronize them and blah blah....
You will find some excellent articles on multithreading on Code Project. Just use the search window
If you are calling the same function on the same thread than it is not multi threading.
You can use a while loop inside the thread function and call the required function as many times as you need.
You need to google first, if you have "It's urgent please" mentioned in your question. _AnShUmAn_