by konisi » 2008年7月21日(月) 20:40
読み込むだけなら、GetPrivateProfileString関数でいけます。
定義
コード: 全て選択
Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (lpAppName As *Byte,lpKeyName As *Byte,lpDefault As *Byte,lpReturnedString As *Byte,nSize As DWord,lpFileName As *Byte) As DWord
詳しい使い方はWebで調べてみてください。
読み込むだけなら、GetPrivateProfileString関数でいけます。
定義[code]Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (lpAppName As *Byte,lpKeyName As *Byte,lpDefault As *Byte,lpReturnedString As *Byte,nSize As DWord,lpFileName As *Byte) As DWord[/code]
詳しい使い方はWebで調べてみてください。