Search:

Type: Posts; User: phal

Search: Search took 0.00 seconds.

  1. Replies
    12
    Views
    5,739

    I will post if I find anything. Thanks.

    I will post if I find anything. Thanks.
  2. Replies
    12
    Views
    5,739

    Fixed it. I was using malloc() to initialize a...

    Fixed it. I was using malloc() to initialize a few strings, in some other parts of the program. Like this:

    char * string = (char *) malloc(1024);

    Apparently this was poisoning the stack. I...
  3. Replies
    12
    Views
    5,739

    Ok, I corrected it, thanks. The main problem...

    Ok, I corrected it, thanks.

    The main problem is not related to this, anyway. Just before the fprintf() called, I can see that the file pointer, the char 'c' and the format string are all correct....
  4. Replies
    12
    Views
    5,739

    I corrected that & after I posted the message, I...

    I corrected that & after I posted the message, I know it shouldn't be there. BTW, what's wrong with feof()?

    PS. I don't wan't to use CopyFile() here, so please don't suggest it.
  5. Replies
    12
    Views
    5,739

    Access violation when reading [00000000]?

    Hi,

    It's a code for copying a file. It had been working fine but now something goes wrong and it causes the main process to crash, even without an error message.

    I can't figure out what's...
  6. Thread: Resource editing

    by phal
    Replies
    2
    Views
    1,445

    You can use Resource Hacker. ...

    You can use Resource Hacker.

    http://www.angusj.com/resourcehacker/
  7. Replies
    15
    Views
    4,454

    Well, I can install it within itself, but the...

    Well, I can install it within itself, but the thing is, it can't start itself from it's own process.
  8. Replies
    15
    Views
    4,454

    OK, thank you again. That didn't seem easily...

    OK, thank you again. That didn't seem easily possible to me, too.
  9. Replies
    15
    Views
    4,454

    Thank you BobS0327. But I didn't understand how...

    Thank you BobS0327. But I didn't understand how i can start the service from it's own PE file. This code is for starting a service that has another executable, isn't it? Correct me if I got it wrong.
  10. Replies
    15
    Views
    4,454

    I got it working today....

    I got it working today. SERVICE_INTERACTIVE_PROCESS was used with SERVICE_WIN32_OWN_PROCESS while installing the service with CreateService(). I could even create a visible window this way. :)

    Now...
  11. Replies
    15
    Views
    4,454

    Well, I made some progress today and set...

    Well, I made some progress today and set program's WinMain as the service's main function. I was able to start the service and it was working OK, but now I made some changes and...
  12. Replies
    15
    Views
    4,454

    It already has no visible windows. It runs...

    It already has no visible windows. It runs completely in the background. I use it for HTTP tunneling and it needs to be running all the time. So I thought setting it up as a service would be a good...
  13. Replies
    15
    Views
    4,454

    Changing a program into a Win Service

    Hi,

    I've finished coding a program a few days before. It has a WinMain function, a window procedure function and a couple of more. Now the problem is I have decided to run it as a service. But...
  14. Replies
    3
    Views
    1,403

    Thank you, i got it working now. But this doesn't...

    Thank you, i got it working now. But this doesn't happen it Windows, does it? I've never came accross this...
  15. Replies
    3
    Views
    1,403

    Problem in a socket program

    Hi,

    With the program below, i am trying to connect to a web host. But there is a problem; the line that prints "abcd" shows up when i enter a correct IP address, otherwise it doesn't. Shouldn't it...
  16. Replies
    22
    Views
    5,905

    Compiling in console can help you understand...

    Compiling in console can help you understand what's going on, i agree with that, but what about using a command line text editor? What's the point in using them for programming?
  17. Replies
    22
    Views
    5,905

    I'm new at Linux, too. And after using Windows...

    I'm new at Linux, too. And after using Windows for a long time, it comes a bit strange to do things in terminal. It's like using DOS command prompt in XP, which i don't like very much and find...
Results 1 to 17 of 17