C# is a great language and .NET is a great platform. I'd give it a try and see how you like it. You can still access with Win32\64 API through C# and use pointers and do things you wouldn't expect from a managed language. I wrote software in C and C++ when I used DOS as my development platform but when I started writing for Windows I found that it was tedious and less enjoyable to program in C or C++. C/C++ is perfect for system programming, but I'd give C# a try just for fun.
█▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██
Apparently he works with noisy smokers... Most of us try to be more discrete about it; no snorting, rolling on the floor gagging, no pointing and laughing at the silly non-smokers in the clean-room.
"...a photo album is like Life, but flat and stuck to pages." - Shog9
The original thread creates the event. The second thread OPENS the event, and can signal it just fine. Otherwise, the secondary thread can receive the handle to the event too, if you wanted. It should have no problem signaling the event, whether or not it has a message queue.
Any sufficiently gross incompetence is nearly indistinguishable from malice.
code-frog wrote:
Of course for the truly elite there is SurfULater by our very own Neville Franks.:-D:rose:
An excellent point! :)
---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums
Search CP for synchronization-type projects. Google is also a good source.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
Dear toxcct first, printf("%d", 0x07); prints 7 on stdio second, I tried printf("%d", 0x07); again, it plays beep on both speakers, iam working with VC++7,console mode Win32 app, WindowsXP
I don't think you can count on the connection remaining open for that long a period if the app is on a different machine than the database. what I did in one of my apps was to check for that specific error that indicates the connection is not open, then try to re-open the connection without sending the user any indication. if the re-open fails, then I let the error message continue as usual My articles www.stillwaterexpress.com BlackDice