Search:

Type: Posts; User: cppnewbie81

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    3,742

    Because i want to read a configuration file,...

    Because i want to read a configuration file, which is the same path as in the .exe ..
  2. Replies
    15
    Views
    3,742

    Ok for now let's forget about the Linux part...

    Ok for now let's forget about the Linux part (Linux is for future consideration) ..
    Im using Microsoft Visual Studio .Net ... If there's no standard function for me to get the application directory...
  3. Replies
    15
    Views
    3,742

    Hi, sorry if it's been unclear ,, what i mean...

    Hi, sorry if it's been unclear ,,
    what i mean is is there any function for me to Get the current .exe directory path ? For example if my .exe store in C:\Program Files\MyProgram, call this function...
  4. Replies
    15
    Views
    3,742

    Get Application Directory

    Does anyone here know how to get the Application Directory (regardless windows / linux environment) ?
  5. Replies
    10
    Views
    2,382

    Mind to elaborate ?

    Mind to elaborate ?
  6. Replies
    10
    Views
    2,382

    Thread vs Process

    Can anyone tell me what's the difference between Thread and Process ? IN what circumstance i should use Thread ? and in what circumstance i should use Thread ?
  7. Replies
    7
    Views
    1,914

    Yep. That's exactly what i want. See, I have a...

    Yep. That's exactly what i want.
    See, I have a console application which is running perfectly before, therefore I put in what is already running inside "ServiceMain" function. And it seems to me...
  8. Replies
    7
    Views
    1,914

    Hi, according to the article : ...

    Hi, according to the article :



    bRunning = true;
    while (bRunning)
    {
    // Put what you want the service to process here
    }
  9. Replies
    7
    Views
    1,914

    Hi, Thanks for your suggestion. I comment...

    Hi,

    Thanks for your suggestion.
    I comment out the code so it looks something like this :



    while (bRunning)
    {
    // The problem occur here, if i comment out all the...
  10. Replies
    7
    Views
    1,914

    Win32 Service doesn't work arghhh

    I create a win32 service according to the instruction as in following URL:
    http://www.codeproject.com/system/windows_nt_service.asp

    I am able to install and start the service perfectly without...
Results 1 to 10 of 10