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

Search:

Type: Posts; User: JVene

Search: Search took 0.04 seconds.

  1. Replies
    14
    Views
    13,957

    Re: Using Multithreading to encrypt a file

    I have to admit, I'm a little rusty on win32 API for threads. Long ago, when OS/2 was new and NT didn't yet exist, I developed classes to do all of this, and updated them as the years went by....
  2. Replies
    14
    Views
    13,957

    Re: Using Multithreading to encrypt a file

    When you have some time, I'd like to learn how you got into that situation.

    I think what you're going to learn from this is less about threads and more about the paradox of the quote above.

    I...
  3. Replies
    14
    Views
    13,957

    Re: Using Multithreading to encrypt a file

    You're on the right track.

    In my own work I have a library that supports threaded development (I've written about it now and then around here). One object, called a QueProcessor, creates a thread...
  4. Replies
    14
    Views
    13,957

    Re: Using Multithreading to encrypt a file

    Well, first you have to get the file's size. Let's say it's 1000 bytes for simplicity.

    Now you can determine the max reasonable threads at your option. Let's say you insist on handling at least...
  5. Replies
    14
    Views
    13,957

    Re: Using Multithreading to encrypt a file

    And I think your few hours are up. Because of the above, I don't believe you're going to get it working in time. I believe this is one reason self study is so powerful - you can work a problem until...
  6. Replies
    14
    Views
    13,957

    Re: Using Multithreading to encrypt a file

    Homework?

    Have you looked up CreateThread, beginthread and similar?

    The plan for dividing the job is curious. What is the nature of the data? Text files only I assume? Typical file sizes?
    ...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured