windows - GetKnownFolderPath return empty string -


I am using this code (Delphi 7) to get users' cookies folder under win7.

  function MyCookieDir: string; Start the result: = ''; If Win32MajorVersion & gt; = 6 Then result: = GetKnownFolderPath (FOLDERID_Cookies, 0, 0); End;   

On some pc the function returns an empty string. Why?

Many thanks

By solving this issue: <<

  • Check for price instead
  • If incorrectly returned, CRIID serial

    Remy and David Thanks for

  • Comments

    Popular posts from this blog

    Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

    java - How not to audit a join table and related entities using Hibernate Envers? -

    mongodb - CakePHP paginator ignoring order, but only for certain values -