Private Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByValAs Long, ByVal lpFileName As String) As Long
Private Declare Function WritePrivateProfileString Lib "kernel32
不幸的是,除了KERNEL32::ReadFile之外,一切都可以正常工作。我读到很多人对这个API有一些问题,而我找不到解决方案。下面是我的代码:System::Call 'Kernel32::CreateFile(t, i, i, i, i, i, i) i (r2, 0x80000000, 0, 0, 4, 0x80, 0) .r3'
System::Call 'kernel32::GetFileSize(pr3, p0)i.r7' ; Call A