View Issue Details

IDProjectCategoryView StatusLast Update
0004060MMW v4Framework: Scripts/Extensionspublic2007-12-02 16:21
Reporterpeke Assigned To 
PriorityimmediateSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Summary0004060: ISDBRegistry and SDBIniFile are not working Correctly
DescriptionVBS Examples from Wiki that work:
ISDBRegistry:
Set Regs = SDB.Registry
If Regs.OpenKey( "Some key", False) Then
  MyValue = Regs.StringValue("Some value")
  Regs.CloseKey
End If

SDBIniFile:
SDB.IniFile.ReadString( "Some Section", "Some ident")

Strange Things Happened if we try to access same value from Delphi:
ISDBRegistry:
SDB := CreateOleObject('SongsDB.SDBApplication');
SDB.ShutdownAfterDisconnect := False;
If SDB.Registry.OpenKey( 'Some key', False) Then
begin
  MyValue := SDB.Registry.StringValue('Some value');
  SDB.Registry.CloseKey
end;

SDBIniFile:
MyValue := SDB.IniFile.ReadString( 'Some Section', 'Some ident');

Note: Only Getting Value do not work, Setting Value Work:
SDBIniFile:
SDB.IniFile.ReadString( 'Some Section', 'Some ident') := MyValue;

Example Debug App Is Sent To FTP.
TagsNo tags attached.
Fixed in build

Relationships

related to 0003844 closedpeke Last.fm plugin Last.FM Native Support 

Activities

jiri

2007-12-02 16:21

administrator   ~0012257

Works fine.