Search:

Type: Posts; User: rkooij

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,738

    In the end I found an easier and nicer solution...

    In the end I found an easier and nicer solution in C# so I've decided to go with that :)
  2. Replies
    7
    Views
    1,738

    Thanks for the answers guys, much appreciated. I...

    Thanks for the answers guys, much appreciated. I see this needs some investigation, I'll report back if there's any problems/solutions :)

    René
  3. Replies
    7
    Views
    1,738

    Thanks for your answer! ^ That's exactly what I...

    Thanks for your answer! ^ That's exactly what I had in mind yeah :)
    My question is about step 4... I can't find anywhere how I can make the program to minimize to the system tray... Could someone...
  4. Replies
    7
    Views
    1,738

    Run a program in the background

    Hi guys, I'm calling for a little help again :)

    I'm currently planning to make a little application to monitor a certain (public) directory on our company server to check for new internal orders...
  5. Replies
    18
    Views
    3,348

    Yeah, I'm using closedir on every readdir already...

    Yeah, I'm using closedir on every readdir already :)
    And thanks for the return value tip, it says it's 1 or 2 everytime so I suppose I'm still overlooking something. I will have a closer look at...
  6. Replies
    18
    Views
    3,348

    Oh my god..... that's it indeed and it works!!...

    Oh my god..... that's it indeed and it works!! Thanks so much!!!

    But... what does this mean? Was there still some fopen left unclosed? Or is there another function that occupies a "file-open-slot"...
  7. Replies
    18
    Views
    3,348

    Hmmm... so I've been looking everywhere on the...

    Hmmm... so I've been looking everywhere on the internet to find a solution for the "Too many open files" problem, but there doesn't really seem to be a solution for this.

    I've tried changing the...
  8. Replies
    18
    Views
    3,348

    perror ftw! THANKS MacGyver, always been a fan of...

    perror ftw! THANKS MacGyver, always been a fan of your tv series :p

    OK, this sounds quite logical to me... "Too many open files".

    But what I don't understand is, as you can see from the code...
  9. Replies
    18
    Views
    3,348

    Hey I didn't know that one, thanks :) Using...

    Hey I didn't know that one, thanks :)

    Using "fpout = fopen(id_out, "wb");" I get:

    So it fails (what a surprise :p)... now why does it fail? What reasons are there for fopen() in write mode to...
  10. Replies
    18
    Views
    3,348

    Thanks for your help! But seriously, I don't...

    Thanks for your help!

    But seriously, I don't have a clue of what I'm doing wrong. As far as I can see from your example I'm doing exactly what you're telling me to :p

    Also, how do you explain...
  11. Replies
    18
    Views
    3,348

    I hope that is the solution ulillillia, but could...

    I hope that is the solution ulillillia, but could you please elaborate? I don't understand what you mean, sorry.
    I'm probably too deep into this to think clearly... :confused:
  12. Replies
    18
    Views
    3,348

    Thanks for your reply KONI :) 1. I don't...

    Thanks for your reply KONI :)

    1. I don't indeed, but my guess is, the return is indeed NULL... so question is, why is it NULL?

    EDIT: Tested and confirmed... fpout is NULL after trying to open....
  13. Replies
    18
    Views
    3,348

    To outrule "id_out" being the problem I tried: ...

    To outrule "id_out" being the problem I tried:


    fpout = fopen("C:\\test1.temp", "wb");
    fprintf(fpout,"testttttt\n");

    Same result: BOOM. :(
  14. Replies
    18
    Views
    3,348

    What the... nested fpout doesnt work?

    Why oh whyyyyy (pulling my hair out) does my application hang at the final line shown here?


    int Get_idlist(long key, char listdir[256])
    {
    FILE *fpin, *fpout;
    char id_out[256];

    ...
  15. Replies
    7
    Views
    1,906

    EDIT3 Arghhh...! sometimes I can make it much...

    EDIT3 Arghhh...! sometimes I can make it much more difficult than it actually is....!! Nevermind the stuff below... strcat ftw.:D

    Hmm I just came up with another idea that needs a slight change of...
  16. Replies
    7
    Views
    1,906

    Wow, didn't expect my temp-file-solution would be...

    Wow, didn't expect my temp-file-solution would be the one to go for... Thanks for the help guys!
    And Salem, thanks very much for your example; learned another couple of new terms, functions and...
  17. Replies
    7
    Views
    1,906

    I'll just keep on trying until someone stops me...

    I'll just keep on trying until someone stops me :p

    This doesn't work either:



    if((fpin = fopen(signals,"r+"))!=NULL)
    {
    while((ih=fgetc(fpin))!=EOF)
    {
  18. Replies
    7
    Views
    1,906

    Just to add, I have a solution for this, which...

    Just to add, I have a solution for this, which involves:


    although it works, it seems a bit too far fetched to me...

    And if I could somehow get the idea from the first post working, I'm sure I...
  19. Replies
    7
    Views
    1,906

    Change character in file?

    Hi, been searching but can't find anything... no idea what search parameters to use, so excuse me if this has already been discussed somewhere!

    I've got the following problem: I have a file that...
  20. Replies
    13
    Views
    3,580

    Alrighttt I've found the problem! Thanks a lot...

    Alrighttt I've found the problem! Thanks a lot for helping me everyone... your suggestions have pointed me in the right direction.
    It was a combination of problems that lead to the crash on the...
  21. Replies
    13
    Views
    3,580

    Hmm I didn't actually, good point! :) I've...

    Hmm I didn't actually, good point! :) I've corrected that now, but it doesnt solve the problem. Thanks though!
  22. Replies
    13
    Views
    3,580

    I don't think you want to go through all its 677...

    I don't think you want to go through all its 677 lines :P




    Hmm, if I understand you correctly then I think you misunderstand the reason for the "\0" in the function call.
    I'm passing "\0"...
  23. Replies
    13
    Views
    3,580

    Sorry, I don't think I understand you. "Writing...

    Sorry, I don't think I understand you. "Writing before the bounds of the summary array" ?
  24. Replies
    13
    Views
    3,580

    I see... GoLive(br_cnt, "\0", -1); Would...

    I see...


    GoLive(br_cnt, "\0", -1);

    Would the underlined part be passing in an incorrect parameter?


    Function declaration is:
  25. Replies
    13
    Views
    3,580

    Nope, GoLive is of type integer: int...

    Nope, GoLive is of type integer:

    int GoLive(int bdrate, char summary[256], int filter);

    What part of the code would you need?
Results 1 to 25 of 154
Page 1 of 7 1 2 3 4