virtual int Get(LPWSTR lpBuffer, int size) = 0;
virtual int Get(LPWSTR lpBuffer, int size, __int64 &rTime) = 0;
virtual int Get(LPWSTR lpBuffer, int size, BYTE &rAttribute) = 0;
virtual int Get(LPWSTR lpBuffer, int size, __int64 &rTime, BYTE &rAttribute) = 0;
For Each p As Process In ps
If String.Compare(p.ProcessName, "pol", True) = 0 Then
pol = p
For i As Integer = 0 To p.Modules.Count - 1
If p.Modules.Item(i).ModuleName = "FFXiMain.dll" Then
BaseAddr = p.Modules.Item(i).BaseAddress.ToInt32
Exit For
End If
Next
Exit For
End If
Next
'FFXIMain.dllのベースアドレスを取得
For Each p As Process In ps
'大文字・小文字を区別しないで比較
If String.Compare(p.ProcessName, "pol", True) = 0 Then
pol = p
For i As Integer = 0 To p.Modules.Count - 1
If p.Modules.Item(i).ModuleName = "FFXiMain.dll" Then
BaseAddr = p.Modules.Item(i).BaseAddress.ToInt32
Exit For
End If
Next
Exit For
End If
Next
Public Class Hooks
Public Declare Auto Function FFXiHookLog_Interface Lib "ffxihook_log.dll" () As Hooks.IFFXiHooks
'↓意味が分かって書いているわけではない
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Ansi)> _
Public Class IFFXiHooks
'ここのコメント部分のようにやっても同じエラー
' <DllImport("FFXihook_log.dll", _
' EntryPoint:="Open", _
' ExactSpelling:=True)> _
' Public Shared Function Open() As Integer
' End Function
Public Declare Auto Function Open Lib "ffxihook_log.dll" Alias "Open" () As Integer
End Class
小道具を起動するとエラーが出て起動しません
エラー内容は'0'のInvalidAegument=Valueは'SelectedIndex'に対して有効ではありませんと出ます
SSはup0101.zipにうpしました
NET FrameworkはMicrosoft .NET Framework Version 3.5を入れてます
どこを直せば動くのでしょうか?
Microsoft .NET Framework Version 1.1 再頒布可能パッケージ
ttp://www.microsoft.com/downloads/details.aspx?FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&DisplayLang=ja
ffxihooks.reg
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\ffxihook_cmd]
"bin"=hex:81,EC,04,04,00,00,8B,8C,24,08,04,00,00,55,57,8D,84,24,0C,02,00,00,68,00,02,00,00,50,33,ED,51,8B
"mask"=hex:00,00,00,00,00,00,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF
[-HKEY_CURRENT_USER\Software\ffxihook_log]