Thread: Hi all please in this env settings

  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, 11:15 AM
  2. A question about pointers in C
    By Kilua in forum C Programming
    Replies: 3
    Last Post: 06-05-2009, 02: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-30-2008, 11:31 PM
  5. Citrix regional settings
    By nvoigt in forum Tech Board
    Replies: 0
    Last Post: 10-26-2005, 07:57 AM