Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: stolencoin

Search: Search took 0.01 seconds.

  1. Re: Event is not signaled on non-blocking socket

    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...
  2. Event is not signaled on non-blocking socket

    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...
  3. Replies
    5
    Views
    1,326

    Re: Embed main() into a DLL

    This is a C-only project; the use of C++ is out of question.
    Thanks for the replies, I'm marking this as solved.
  4. Replies
    5
    Views
    1,326

    Re: Embed main() into a DLL

    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...
  5. Replies
    5
    Views
    1,326

    [RESOLVED] Embed main() into a DLL

    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...
  6. Replies
    1
    Views
    3,367

    Creating zip folder programmatically

    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
  7. Replies
    5
    Views
    3,147

    Re: Make select() return

    Thanks hoxsiew, I'll try what you suggested.
  8. Replies
    5
    Views
    3,147

    Re: Make select() return

    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...
  9. Replies
    5
    Views
    3,147

    Make select() return

    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,...
  10. Replies
    2
    Views
    2,331

    Re: #pragma comment (compiler)

    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...
  11. Replies
    2
    Views
    2,331

    [RESOLVED] #pragma comment (compiler)

    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...
  12. Replies
    15
    Views
    2,737

    Re: Mutual exclusion strategy

    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...
  13. Replies
    15
    Views
    2,737

    Re: Mutual exclusion strategy

    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...
  14. Replies
    15
    Views
    2,737

    Re: Mutual exclusion strategy

    *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....
  15. Replies
    15
    Views
    2,737

    Re: Mutual exclusion strategy

    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...
  16. Replies
    15
    Views
    2,737

    Re: Mutual exclusion strategy

    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...
  17. Replies
    15
    Views
    2,737

    Mutual exclusion strategy

    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...
  18. Replies
    3
    Views
    1,906

    Re: Visual Studio 2003 and Intellisense

    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...
  19. Replies
    3
    Views
    1,906

    Re: Visual Studio 2003 and Intellisense

    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...
  20. Replies
    3
    Views
    1,906

    Visual Studio 2003 and Intellisense

    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...
Results 1 to 20 of 20


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center