|
Yes, the wait functions normally do just that - they wait. But you can call it at periodic intervals if your application needs to continue to do something. For example, you can set up a timer (SetTimer(...) ) and when it fires, you can call WaitForSingleObject(...) with an immediate timeout to see if the handle has been signaled.
You could also do it with a background thread...
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
Maddack wrote: running = 0; //this will stop while(running)
what is that? How does setting "running" to Zero stop the external application?
led mike
|
|
|
|
|
led mike wrote: How does setting "running" to Zero stop the external application?
You didn't know that would work? Where ya been, Mike?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
maybe he is stoping a thread by doing this, but definitely not an external process
|
|
|
|
|
Yes this whole code is in a while loop, and setting running to zero will make me exit the loop, duh!
|
|
|
|
|
Yeah, duh Mike
|
|
|
|
|
I guess it's going to be a Fish Filet for lunch today!
led mike
|
|
|
|
|
I am attempting to create a web service that will send and received XML messages via SOAP. I am not certain which way to go on creating my client app. Ultimately , i have an application written in C++ that will have to ultimately receive the message, but is using C++ as a client much more difficult to code than using C#? Any advice or direction is appreciated.
Thanks,
|
|
|
|
|
LCI wrote: Any advice or direction is appreciated.
If possible use the .NET platform and a C++/CLI project.
led mike
|
|
|
|
|
WHat is a CLI project? So you are saying i can use C++ instead of C sharp as the client? Looking for the easiest ramp time, cause i had never created a web service before, i know C++ pretty decent and no C#.
Also, having problems setting all this up.
I installed IIS 5.0 that came with Win 2000. And when i try to create an ASP web service, it tells me that i have to install ASP.NET 1.1...
|
|
|
|
|
LCI wrote: WHat is a CLI project?
http://www.google.com/search?hl=en&q=MSDN+%22C%2B%2B%2FCLI%22&btnG=Google+Search[^]
LCI wrote: So you are saying i can use C++ instead of C sharp as the client?
And the Service. In Visual Studio Professional under C++/CLR project types there is a "ASP.NET Web Service" project template. It doesn't get any simpler than that. Also on the MSDN web site you will find samples and examples by searching. I would use Google and start every search with "MSDN".
LCI wrote: And when i try to create an ASP web service, it tells me that i have to install ASP.NET 1.1
Yes to run a ASP.NET web service you have to have the .NET framework installed on the server and registered with IIS.
led mike
|
|
|
|
|
LCI wrote: I am attempting to create a web service that will send and received XML messages via SOAP.[...]but is using C++ as a client much more difficult to code than using C#?
Not necessarily.
You can use gSOAP[^] and its WSDL-compiler to get about the same comfort as with C#.
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
jhwurmbach wrote: You can use gSOAP[^] and its WSDL-compiler to get about the same comfort as with C#.
Another option would be Axis C++[^]
|
|
|
|
|
Hi,
I just wondering can I build my appluication for Vista on my XP machine?
Thanks.
|
|
|
|
|
yes. There is very little difference between Vista and XP api wise. But take note of the system variables and Security zones on vista. Try not to hard code everything but instead query the system.
|
|
|
|
|
Could you tell me what needs to be installed?
Generally I want to utilize the new WER API (WerReportCreate, ...) which declared in Werapi.h .
Thanks.
|
|
|
|
|
The latest platform SDK. Inceidently, I tried downloading it yesterday ( more than 1GB ) but it would only allow me to download 26mb
|
|
|
|
|
I am considering installing Vista soon,
However, I have mislayed my MSDN DVD for Visual Studio 6 (I had the July 2001 disk).
Is this available to download from Microsoft?
I believe the October 2001 version is the last to be compatible with VS6...
(I know that the May 2006 Edition was made free to download according to some websites, although I have been unable to find a link to it so far).
Thanks...
|
|
|
|
|
Wouldn't it be better to upgrade your 10 year old compiler?
|
|
|
|
|
Yes, and preferable...
Unfortunatly, purchasing VS2005 is not an option at the moment.
|
|
|
|
|
If you still have an MSDN sub, the Oct 2001 is still available for download from the subscriber area.
|
|
|
|
|
|
hi,
my Problem is, that i need some Sourcecode to Hide my IP and other Informationens that are provided from my PC to the Internet. For example there are lots of websites which can show my Internet IP Adress, Operating System, referer, language and so on.
How can i broadcast customized information to stay anonmyos!
I need some Sourcecode to change my Internet IP-Address to a public Proxy-Address that i choosed.
So how does Programs like "Hide my IP" and so on Work!!
THX
|
|
|
|
|
i have found the following things but how can i debug it. let me know so i can go through the heap and stack and find the solution.
The message::
debug asserion failed !
program :\... x.exe
file:dbgdel.cpp
line:52
expressionBLOCK_TYPE_SIVALID(phead->nBlockUse)
when i close it the control goes the following file.
file:dbgdel.cpp
i have note the following things from their.
dbgheap.c
/*
* Go through the heap regions and see if the pointer lies within one
* of the regions of the local heap.
*
* Pointers from non-local heaps cannot be handled. For example, a
* non-local pointer may come from a DLL that has the CRT linked-in.
*
*/
what does it mean????
Amit
|
|
|
|
|
It means that you are trying to free an invalid pointer (i.e. an attempt to double-free something, or trying to free a garbage pointer), or that you have overwritten memory at some point by walking off the valid range of memory a particular pointer points to.
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|