我不知道如何用ini文件读取偏移(& H123等)。这是我的功能:
<DllImport("kernel32", EntryPoint:="GetPrivateProfileString")>
Private Shared Function ReadINI(
ByVal Sektion As String, ByVal Key As String, ByVal StandartVal As String,
ByVal Result As StringBuilder, ByVal Size As Int32, ByVal Dateiname As String) As Int32
End Function
Public Function read(Sektion As String, Parameter As String)
Dim sb As StringBuilder = New StringBuilder(1024)
ReadINI(Sektion, Parameter, "", sb, sb.Capacity, ConfigPath)
Return sb.ToString
End Function