fragmich
March 7th, 2008, 02:08
I take the ASK - cmd and Olly crash!
Now i found the mistake
In the File "OllyLangCommands.cpp" is this Code:
# # # #
bool OllyLang:: DoASK(string args)
{
string ops[1];
string title;
if(!CreateOperands(args, ops, 1))
return false;
if(GetSTROpValue(ops[0], title))
{
if (wndProg.hw!=NULL)
InvalidateRect(wndProg.hw, NULL, FALSE);
HINSTANCE hi = (HINSTANCE)GetModuleHandle("ODbgScript.dll"
;
# # # # # #
I have renamed my "ODBGScript.dll" to "ODBGScript v1.64.dll".
The Call to "GetModuleHandle("ODbgScript.dll"
" return with eax=FFFFFFFF
and Olly crash...


Now i found the mistake

In the File "OllyLangCommands.cpp" is this Code:
# # # #
bool OllyLang:: DoASK(string args)
{
string ops[1];
string title;
if(!CreateOperands(args, ops, 1))
return false;
if(GetSTROpValue(ops[0], title))
{
if (wndProg.hw!=NULL)
InvalidateRect(wndProg.hw, NULL, FALSE);
HINSTANCE hi = (HINSTANCE)GetModuleHandle("ODbgScript.dll"

# # # # # #
I have renamed my "ODBGScript.dll" to "ODBGScript v1.64.dll".
The Call to "GetModuleHandle("ODbgScript.dll"

and Olly crash...

