Re: TInifile.ReadSection does not read values



This API has a parameter called FFilename filled
with 'jaeger2koptor.ini'. This wasn't enough: I had to specify the entire
path to make sure that GetPrivateProfileString() would return 'true'.

That's what MSDN says ...

"lpFileName
[in] Pointer to a null-terminated string that specifies the name of the
initialization file. If this parameter does not contain a full path to
the file, the system searches for the file in the Windows directory."

Alan Lloyd

.



Relevant Pages

  • Re: How do I get Registry key permissions for a specific user or group via WMI? - Update with co
    ... my boss found something buried deep inside MSDN but I was able to use it ... ' - specify a Registry path ... > ' Create constants for access rights and registry hive ... > Wscript.Echo "Has Query Value Access Rights on ...
    (microsoft.public.windowsxp.wmi)
  • Re: IStream.Read()
    ... > normally) it *does* specify it. ... I mean both, the on-line MSDN Library, this one holds the latest ... Return values are never part of the contract, a COM interface is carved in stone, right, that means you cannot change the return type nor the argument types and number of arguments, but the value returned is not part of the contract ... The documentation specifies the "standard" return values, like S_OK, E_FAIL etc.., but the implementor of an interface method is free to return what he sees fit. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Why does this produce an access violation?
    ... MSDN says the fof_FilesOnly flag causes the function to "perform the ... You didn't specify a wildcard file name, so that's now two things I've ... fix those usage errors and try again? ...
    (comp.lang.pascal.delphi.misc)
  • Reg Win32 Classes
    ... The MSDN suggests that you have to specify the source ... I have a problem in setting the object path using C++ as I did not get ... Link to copy directory function in msdn: ...
    (microsoft.public.win32.programmer.wmi)
  • Re: How to make MSHFlexgrid display at last row
    ... following fruit: ... in MSDN. ... Otherwise just specify the index for each new row to be 0 ... Jan Hyde ...
    (microsoft.public.vb.general.discussion)