Skip to content

Commit

Permalink
Start of migration to Unicode and ODBG2 API
Browse files Browse the repository at this point in the history
Current status :
- API fixed for VC++ 2008 (VC9) and VC6 + DEF/LIB files
- Table Windows created, but bug on create/show
- Language: only some test commands
- Manual commands and Key shortcuts

Signed-off-by: Tanguy Pruvot <[email protected]>
  • Loading branch information
tpruvot committed Aug 7, 2011
1 parent eeb61b9 commit 40ace60
Show file tree
Hide file tree
Showing 41 changed files with 14,621 additions and 4,647 deletions.
45 changes: 45 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
Debug/BuildLog.htm
Debug/HelperFunctions.obj
Debug/HelperFunctions.sbr
Debug/IniReader.obj
Debug/IniReader.sbr
Debug/ODbgScript.bsc
Debug/ODbgScript.dll
Debug/ODbgScript.dll.intermediate.manifest
Debug/ODbgScript.exp
Debug/ODbgScript.lib
Debug/ODbgScript.obj
Debug/ODbgScript.pdb
Debug/ODbgScript.res
Debug/ODbgScript.sbr
Debug/OllyLang.obj
Debug/OllyLang.sbr
Debug/guicon.obj
Debug/guicon.sbr
Debug/mt.dep
Debug/vc90.idb
Debug/vc90.pdb
Release/BuildLog.htm
Release/HelperFunctions.obj
Release/IniReader.obj
Release/ODbgScript.dll
Release/ODbgScript.dll.intermediate.manifest
Release/ODbgScript.exp
Release/ODbgScript.lib
Release/ODbgScript.obj
Release/ODbgScript.res
Release/OllyLang.obj
Release/mt.dep
Release/vc90.idb
ODbgScript.VC6.suo
ODbgScript.VC9.ncb
ODbgScript.VC9.suo
ODbgScript.vcproj.EPSYLON.Admin.user
ollydbg201.exp
doc/ODBGScript.chw
Debug/vc60.idb
Debug/vc60.pdb
ODbgScript.opt
ODbgScript.plg
ODbgScript.ncb
ollydbg201.lib
6 changes: 3 additions & 3 deletions Dialogs.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

INT_PTR CALLBACK InputDialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
char* buffer;
wchar_t* buffer;

switch(uMsg)
{
case WM_INITDIALOG:
SetDlgItemText(hwndDlg, IDC_TITLE, (LPCSTR) lParam);
SetDlgItemTextW(hwndDlg, IDC_TITLE, (LPCWSTR) lParam);
SetWindowPos(hwndDlg,HWND_TOPMOST,0,0,0,0,SWP_NOMOVE|SWP_NOSIZE);
ollylang->hwndinput=hwndDlg;
return TRUE;
Expand All @@ -17,7 +17,7 @@ INT_PTR CALLBACK InputDialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM
switch (LOWORD(wParam))
{
case IDOK:
buffer=new char[256];
buffer=new wchar_t[256];
if(GetDlgItemText(hwndDlg, IDC_INPUT, buffer, 256))
{
ollylang->hwndinput=0;
Expand Down
Loading

0 comments on commit 40ace60

Please sign in to comment.