Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

TLMDIniCtrl exception error (LMD-Tools 2020)

example:----
Property:
RegRoot : rpCurrentUser
RegPeth : Software\Microsoft\Internet Explorer\Main\FeatureControl
Target : itRegistry
--
Exception error occurred 
Occurs on the following line
iVal := LMDIniCtrl.ReadInteger('FEATURE_BROWSER_EMULATION', 'ABCD.exe', 0);  //Exception error
iVal := LMDIniCtrl.ReadInteger('FEATURE_BROWSER_EMULATION', 'ABCD', 0);  //no error

It seems to occur when there is a period in the 'Value name'

best regards,
Hiroshi Shibata

Comments

  • 2 Comments sorted by Votes Date Added
  • Our component is supposed to read data, which was initially written with the same component. In my test "invalid data type" exception is raised, which is, however, the exception raised by strandard Delphi's TRegIniFile class, which is used by our component internally. 

    So, it seems that some other class, like standard TRegistry, should be used in your case.
  • I understand.

    Hiroshi Shibata
Sign In or Register to comment.