Hi all please in this env settings

This is a discussion on Hi all please in this env settings within the C Programming forums, part of the General Programming Boards category; Code: if ( (LCOFileName = getenv("LCO_FILE")) == NULL) { sprintf(sMessage,"The environment variable LCO_FILE is not set\n"); WriteLogFile(UA_DEB_ERROR,sMessage); return RET_ERR; when ...

  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    26

    Hi all please in this env settings

    Code:
    if ( (LCOFileName =
                getenv("LCO_FILE")) == NULL)
            {
                    sprintf(sMessage,"The environment variable LCO_FILE is not set\n");
                    WriteLogFile(UA_DEB_ERROR,sMessage);
                    return RET_ERR;
    when i am debugging the code:
    The environment variable LCO_FILE is not set
    Error in opening Files.

    Tahnks & regards
    Vijay

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    So, what ARE your setting for the LCO_FILE environment variable.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Application fails to load settings only at windows startup
    By DanFraser in forum C# Programming
    Replies: 3
    Last Post: 09-27-2009, 12:15 PM
  2. A question about pointers in C
    By Kilua in forum C Programming
    Replies: 3
    Last Post: 06-05-2009, 03:33 AM
  3. sorting the matrix question..
    By transgalactic2 in forum C Programming
    Replies: 47
    Last Post: 12-22-2008, 03:17 PM
  4. (Visual C++) MFC Tree Control to do a settings page
    By guitarist809 in forum Windows Programming
    Replies: 6
    Last Post: 08-31-2008, 12:31 AM
  5. Citrix regional settings
    By nvoigt in forum Tech Board
    Replies: 0
    Last Post: 10-26-2005, 08:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21