可以通过修改以下代码就可以修复:
添加PtrSafe属性,将:
Private Declare Function WinHelp Lib "USER32.DLL" Alias "WinHelpA" (ByVal hWnd As Integer, ByVal lpHelpFile _
As String, ByVal wCmd As Integer, ByVal dwData As String) As Integer
Private Declare Function GetActiveWindow Lib "USER32.DLL" () As Integer
改为:
Private Declare PtrSafe Function WinHelp Lib "USER32.DLL" Alias "WinHelpA" (ByVal hWnd As Integer, ByVal lpHelpFile _
As String, ByVal wCmd As Integer, ByVal dwData As String) As Integer
Private Declare PtrSafe Function GetActiveWindow Lib "USER32.DLL" () As Integer
添加PtrSafe属性,将:
Private Declare Function WinHelp Lib "USER32.DLL" Alias "WinHelpA" (ByVal hWnd As Integer, ByVal lpHelpFile _
As String, ByVal wCmd As Integer, ByVal dwData As String) As Integer
Private Declare Function GetActiveWindow Lib "USER32.DLL" () As Integer
改为:
Private Declare PtrSafe Function WinHelp Lib "USER32.DLL" Alias "WinHelpA" (ByVal hWnd As Integer, ByVal lpHelpFile _
As String, ByVal wCmd As Integer, ByVal dwData As String) As Integer
Private Declare PtrSafe Function GetActiveWindow Lib "USER32.DLL" () As Integer
论坛
% see also
% contact me matlabsky@gmail.com
% 2009-8-5 14:47:53
%
这个好像没有听说,估计7.0不行,因为7.0的时候office2007没有出来,现在Matlab7.8是一定可以的,你不妨试试吗
下图是2007和Matlab7.8的效果