Search:
Type: Posts; User: stolencoin
Search:
Search took 0.03 seconds.
-
November 4th, 2011, 09:20 AM
Mike thanks for the reply. I don't call WSAEventSelect() once for all events because I don't want to be notified non-stop that the socket is ready for writing. I only need to send four messages to...
-
October 24th, 2011, 04:07 AM
Hi All
I have a non-blocking socket and I'm working with event objects. I'm on the client side. I'm implementing a hand-shake protocol. It's fairly straightforward, I connect to the server, I send...
-
August 31st, 2010, 11:36 AM
This is a C-only project; the use of C++ is out of question.
Thanks for the replies, I'm marking this as solved.
-
August 31st, 2010, 06:57 AM
Thanks to both of you. Igor, altough Arjay hit the mark I must admit that your post is insightful :)
In this case 1) is there a way for my DLL to invoke a function implemented in the user...
-
August 30th, 2010, 09:10 PM
Hi All
Is it possible to embed the main() function into a DLL?
I have searched the forums here, but none of 28 threads seem to have a relevant information. Note that I'm not talking about...
-
Hi all
Is there a way (win32 api, shell command to imitate selecting files and sending it to a zip folder, whatever) to create a zip folder and adding files to it, programmatically?
Thanks
-
March 29th, 2010, 11:16 AM
Thanks hoxsiew, I'll try what you suggested.
-
March 28th, 2010, 10:03 PM
What is it you are attempting to do?
Nothing very fancy, I'm afraid. I want to do something like WSAWaitForMultipleEvents() (with infinite timeout) Win32 API call sort of trick with select(). I want...
-
March 28th, 2010, 02:03 PM
Hi All
I want to use select() socket function with NULL timeout so that it will wait indefinitely. In such case, is there a way to make select() return? Can I add two file descriptors to select,...
-
February 5th, 2010, 10:37 AM
Thanks ovidiucucu (could not login for two days!). _MSC_VER is the way to go. Not really important but what's the point of this pragma compiler directive anyway...
-
February 2nd, 2010, 06:20 PM
Hi
The documentation says that
#pragma comment (compiler)places the name and version number of the compiler in object file. Is there a way to retrieve this information programmatically from my...
-
January 21st, 2010, 03:59 PM
1) I'm not asking how to block if the buffer is full. I'm saying that I can think of two ways to communicate with the producer thread. a) If Producer_fn returns buffer-full, then the producer thread...
-
January 21st, 2010, 10:51 AM
Thanks for all the input. I've already stated that I was in favor of using events instead of polling, no argument there. But please consider the following code:
CONSUMER_FN()
{
Loop...
-
January 20th, 2010, 09:11 PM
*sigh* I wish people showed this much interest to my intellisense thread ;)
I'm not trying to prevent the same thread entering the critical section recursively. I know it was designed that way....
-
January 20th, 2010, 08:34 PM
Thanks Codeplug, I guess you want to tell me that I should look closer or deeper inside my code to get to the bottom of this, and you are probably right. Maybe I'm not polling frequent enough to see...
-
January 20th, 2010, 07:44 PM
Thanks Arjay, your idea might have worked but rereading my own post I've seen that I might have mislead you, or any other members who have read my post. My apologies.
The function I export is not...
-
January 20th, 2010, 04:47 PM
Hi all
For practical purposes I can say that my program has a producer thread and a consumer thread. The producer thread writes data to a circular buffer, and the consumer thread reads data from...
-
January 18th, 2010, 03:43 PM
Come on guys, is this so difficult? Or easy? I'm ready to take the blow, if I do something extremely unintelligent or the answer is easy to the point of silliness, please feel free to say it in your...
-
January 17th, 2010, 01:57 PM
Intellisense woks for Win32 API, CRT functions, and my own functions within the project. I cannot get it work for functions I export from a DLL of mine. I can write wrapper functions for my DLL...
-
January 17th, 2010, 01:44 AM
Hi all
I am using Visual Studio 2003, and coding in plain C. Upgrading to another version of Visual Studio, or changing the programming language is not an option for the moment. Sorry if this has...
|
Click Here to Expand Forum to Full Width
|