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

Search:

Type: Posts; User: backeyes

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    5,955

    sorry i just found the declaration problem, it's...

    sorry i just found the declaration problem, it's ok now.
  2. Replies
    2
    Views
    5,955

    socket returning INVALID_SOCKET

    I can't find why my call to socket() is always returning INVALID_SOCKET. This call is made in a threadfunc, here is the function :


    DWORD WINAPI startscan( LPVOID lpParam ){

    THREAD_PARAMS*...
  3. Replies
    16
    Views
    3,382

    code seems ok... First try cutting HMODULE...

    code seems ok...
    First try cutting HMODULE hMod=LoadLibrary("mylib.dll"); line into :

    HMODULE hMod;
    hMod=LoadLibrary("mylib.dll");

    And see if the problem comes from LoadLibrary or from...
  4. Replies
    0
    Views
    474

    firewall and network driver

    Hello,

    I searched the forum for vc++ firewall sources and stuffs for win32 and found some interested links, especially that netdefender from which i learned a lot.

    Anyway i got a little...
  5. Replies
    0
    Views
    540

    looking for sources

    Hello,

    i'm looking for some network vulnerability scanner or something that deals with a high number of threads and doing socket stuff into them. I can't find that, for win32 at least...
    in fact...
  6. Replies
    3
    Views
    1,035

    You again ! :) Perfect, you rock man. And yes...

    You again ! :)

    Perfect, you rock man. And yes i can affirm limit is 64 - 1 then.
    Thanks again
  7. Replies
    3
    Views
    1,035

    about MsgWaitForMultipleObjects...

    Here is my code :



    HANDLE ThreadHandles[1500];
    DWORD threadsactives;

    // cutted the while statement that launch several threads
    // thread's function is just sleeping because i'm doing a...
  8. Replies
    12
    Views
    1,468

    Yep the better ways for you should be that run...

    Yep the better ways for you should be that run registry key or the shortcut in startup folder (both are doing the same thing)

    Service could be a good idea aswell, but services were implemented...
  9. Thread: Problem in NT

    by backeyes
    Replies
    1
    Views
    537

    And what about a NT service ? regards backeyes

    And what about a NT service ?

    regards
    backeyes
  10. Replies
    3
    Views
    485

    Using synchronization objects (mutexes in your...

    Using synchronization objects (mutexes in your case but it could be semaphore, critical section...) to avoid threads to write in same variable at the same time, and so on, is making a thread safe...
  11. Replies
    19
    Views
    2,740

    It was so stupid to forget that 'm_bAutoDelete' ...

    It was so stupid to forget that 'm_bAutoDelete'

    Anyway many thanks because i think i'm done with this now :)
    I deleted all threads manually one by one when they are signaled with setting...
  12. Replies
    19
    Views
    2,740

    Yes sorry...and thanks to be so fast :) ...

    Yes sorry...and thanks to be so fast :)




    CWinThread* tempthread;
    HANDLE ThreadHandles[2000];

    /********LAUNCH THREADS**********/
    while (!ip_range_end) {
  13. Replies
    19
    Views
    2,740

    To mholm and jase jennings : I'm doing a...

    To mholm and jase jennings :
    I'm doing a multithreaded network security scanner (each thread must scan an ip adress)

    To Andreas Masur :
    Thanks again, i already tried something like that, but...
  14. Replies
    19
    Views
    2,740

    Sorry for the long time, i had a deeper look and...

    Sorry for the long time, i had a deeper look and it seems that MsgWaitForMultipleObjects() was a good idea but it puts messages in the queue, and it doesn't process them, so that this function...
  15. Replies
    19
    Views
    2,740

    Yep that's why i wrote "others messages" I...

    Yep that's why i wrote "others messages"

    I meant others than these message to know when a thread ends his job.
  16. Replies
    19
    Views
    2,740

    Thanks to all for your replys. I will think...

    Thanks to all for your replys.

    I will think and try more about what you said to find which one does the job better regarding what i need ;)

    And yes...i just want to know when they are done, to...
  17. Replies
    19
    Views
    2,740

    In fact, i begin my threads in the main dialog's...

    In fact, i begin my threads in the main dialog's thread, and these launched threads do some jobs that add strings into a main dialog's list control.
    This part works great, but we can see strings...
  18. Replies
    19
    Views
    2,740

    worker threads with gui

    Hello,

    I created a gui app (mfc) that launch about a hundred of worker threads. I used AfxBeginThread to begin all threads, and threads seem to perfectly do their jobs, but i have a problem...
  19. Replies
    21
    Views
    2,241

    yes sorry my bad, it works better now...

    yes sorry my bad, it works better now...
  20. Replies
    21
    Views
    2,241

    Hmm...but as far as i know you can't specify such...

    Hmm...but as far as i know you can't specify such things when prompted with createprocess function.
    Isn't it your problem ? (cleaner.exe not doing its job because prompting for an id but you can't...
  21. Replies
    21
    Views
    2,241

    Re: Command line arguments

    I grabbed it, created a cleaner.txt with 001 in it and a bin/INRAY001 file, then execute :
    cleaner < cleaner.txt

    And it prompts me for :
    Identification suffix (default value-->001):

    I can't...
  22. Replies
    21
    Views
    2,241

    First it's better not using first createprocess...

    First it's better not using first createprocess parameter, this should always work :

    CreateProcess(NULL, // Application name
    "C:\cleaner.exe < cleaner.txt", // Application arguments
    .......
    ...
Results 1 to 22 of 22





Click Here to Expand Forum to Full Width

Featured