   C++,  C++Builder, API Windows________________901

 getenv  putenv     . -
       
  name=string\0.  getenv     
 name.    getenv    , 
   ,    . ,


Labell->Caption = getenv("PATH");

   Label 1    PATH.

  DOS  OS/2     . -
      ,     .

      ,  
NULL.    getenv   name   getenv <iname=, 
 name    . , 

getenv("=") ;

  PATH.

 putenv   .  name -
   name=string. :

putenv("=:\\temp") ;

 ShortCut, ShortCutToText  TextToShortCut   -
  ShortCut  ,   
   .  ShortCut   
Key,    ,   Shift, 
    Shift, Ctrl  Alt   TShort-
Cut (.   15).  TextToShortCut    
 .  ShortCut  ,    Text-
ToShortCut    ,    -
      .

 ShortCutToText     
ShortCut  TShortCut.       -
       ,   -
    .

     . 

MOpen->ShortCut = Shortcut('', TShiftState()  ssCtrl) ;

        Ctrl-0. 

MOpen->ShortCut = ShortCut (''', TShiftState () <<ssCtrlssAlt) ;

     Ctrl-Alt-0.

  .      -
      ,   -
 Open.     ShortCutToText   -
    ,    .  -
     TextToShortCut    
.   , ,  Ctrl-0  
^λ,   Ctrl+O.

void _fastcall TFormI::ButtonlClick(TObject *Sender)
{

Editl->Text = ShortCutToText (MOpen->ShortCut);

}

//

void _fastcall TFormI::Button2Click(TObject *Sender)
{

MOpen->ShortCut = TextToShortCut(Editl->Text);