Executing RegEdit from Delphi exe

前端 未结 3 1060
日久生厌
日久生厌 2021-01-07 17:16

I am having Delphi XE2 Project to write some values in Windows Registry. I am trying to run RegEdit in Delphi Environment. I have tried the following codes :



        
3条回答
  •  清歌不尽
    2021-01-07 18:13

    You don't use a valid string. When doing a line break in a string, you need to close it and concatinate it with the + sign.

    e.g.:

    AFunction(..., 
    'text1' +
    'text2' +
    'text3', ...);
    

    or write the whole string parameter in one line.

提交回复
热议问题