#79757 - 2003-08-05 09:36 PM
Bug in version 4.21
|
ida-intl
Fresh Scripter
Registered: 2003-06-16
Posts: 12
|
[moderator lonkero moved to beta from suggestions due to lack of suggestion in topic]
I was piloting version 4.21 on a WIN2K Pro test machine and found that the "USE */ DELETE" command forces a @ERROR 87.
I am currently using version 4.02 in production and the command works fine.
I found a MSKB article 173009 which states that the RegEnumValue() API could cause this if referenced improperly.
see below...
The declaration of RegEnumValue as it currently exists in the API Text Viewer is: Declare Function RegEnumValue Lib "advapi32.dll" Alias "RegEnumValueA" _ (ByVal hKey As Long, ByVal dwIndex As Long, ByVal lpValueName As _ String, lpcbValueName As Long, lpReserved As Long, lpType As Long, _ lpData As Any, lpcbData As Long) As Long
The fifth parameter, lpReserved, should be defined as ByVal. The correct declaration is: Declare Function RegEnumValue Lib "advapi32.dll" Alias "RegEnumValueA" _ (ByVal hKey As Long, ByVal dwIndex As Long, ByVal lpValueName As _ String, lpcbValueName As Long, ByVal lpReserved As Long, lpType As _ Long, lpData As Any, lpcbData As Long) As Long
Anyone else experiencing this issue?
Tom [ 08. August 2003, 00:46: Message edited by: Lonkero ]
|
|
Top
|
|
|
|
#79760 - 2003-08-05 10:44 PM
Re: Bug in version 4.21
|
ida-intl
Fresh Scripter
Registered: 2003-06-16
Posts: 12
|
I do have the syntax correct in my script. I just typed it incorrectly in this message.
It doesn't work in 4.21 on win2k pro.
|
|
Top
|
|
|
|
#79762 - 2003-08-06 08:44 PM
Re: Bug in version 4.21
|
ida-intl
Fresh Scripter
Registered: 2003-06-16
Posts: 12
|
Thanks...that did it.
The Kixtart manual shows the command in the REMARKS section with the quotes, but the EXAMPLES section shows it without the quotes. I guess that were I got confused.
Thanks again.
|
|
Top
|
|
|
|
Moderator: ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 657 anonymous users online.
|
|
|