Jump to content

Creating a Full-Blown Compatibility Layer.


Dibya

Recommended Posts

@Dibya Local Security Authority Subsystem Service; it verifies credentials; basically it's the service which prompt you to the login screen and then to the desktop. The weird thing is that it runs fine in the virtual machine, but it doesn't on your machine... 

What your machine has compared to the virtual machine is:

A) CPU Instructions 

B) more RAM

So... since I don't actually think that instructions affect the kernel in this case, I would say that the PAE mode activated with the custom ntdll included in your kernel doesn't work as it should.

Did you actually try to disable it, trying to run XP with your modded kernel but using the normal mode? If it's already disabled, then I don't actually really know... :|

@TuMaGoNx... I've downloaded it, but I didn't have time to test it. I'm gonna try it later this afternoon.

In the meantime, I'm working on backporting ffms2 and Filezilla. I already solved many things and I'll release them as soon as I can. :)

Edited by FranceBB
Link to comment
Share on other sites


hi friends got vb script and jscript of ie11 .

Bad news friends , I am facing currently severe problem with digestive system. Getting lot of PAIN. . I will release as soon as possible. please dont mind. everything is ready only need to repacked.

 Good BYe my friends . This i donot know why i am getting lot of health issue. i hope next will be good for me.

Edited by Dibya
Link to comment
Share on other sites

Still no luck with FileZilla on my side... :( I solved a few errors, but there are still 13 errors.

Quote

-------------- Build: Debug Win32 in engine (compiler: GNU GCC Compiler)---------------

[  3.1%] mingw32-g++.exe -DWIN32 -D_DEBUG -D_LIB -DENGINE -m32 -I. -I..\include\ -c "C:\Documents and Settings\l\Desktop\filezilla\filezilla-3.22.1\src\engine\backend.cpp" -o .objs\engine\backend.o
In file included from ..\include/libfilezilla_engine.h:12:0,
                 from ./filezilla.h:1,
                 from C:\Documents and Settings\l\Desktop\filezilla\filezilla-3.22.1\src\engine\backend.cpp:1:
./defs.h:240:38: error: #elif with no expression
     #elif wxCHECK_VISUALC_VERSION(11)
                                      ^
./defs.h:357:58: error: operator '||' has no right operand
 #if __cplusplus >= 201103L || wxCHECK_VISUALC_VERSION(10)
                                                          ^
./defs.h:428:60: error: operator '!' has no right operand
     #if (defined(__MINGW32__) && !wxCHECK_GCC_VERSION(4, 0)) || \
                                                            ^
In file included from ..\include/libfilezilla_engine.h:12:0,
                 from ./filezilla.h:1,
                 from C:\Documents and Settings\l\Desktop\filezilla\filezilla-3.22.1\src\engine\backend.cpp:1:
./defs.h:561:32: error: #elif with no expression
 #elif wxCHECK_GCC_VERSION(4, 5)
                                ^
./defs.h:563:33: error: #elif with no expression
 #elif wxCHECK_VISUALC_VERSION(8)
                                 ^
./defs.h:576:52: error: operator '!' has no right operand
 #if defined(__GNUC__) && !wxCHECK_GCC_VERSION(3, 4)
                                                    ^
./defs.h:619:52: error: operator '||' has no right operand
 #if defined(__clang__) || wxCHECK_GCC_VERSION(4, 6)
                                                    ^
In file included from ..\include/wx/platform.h:126:0,
                 from ..\include/wx/chartype.h:17,
                 from ..\include/wx/wxcrtbase.h:21,
                 from ..\include/wx/string.h:36,
                 from ..\include/libfilezilla_engine.h:28,
                 from ./filezilla.h:1,
                 from C:\Documents and Settings\l\Desktop\filezilla\filezilla-3.22.1\src\engine\backend.cpp:1:
..\include/wx/compiler.h:85:0: warning: "wxCHECK_GCC_VERSION" redefined
     #define wxCHECK_GCC_VERSION( major, minor ) \
 ^
In file included from ./defs.h:20:0,
                 from ..\include/libfilezilla_engine.h:12,
                 from ./filezilla.h:1,
                 from C:\Documents and Settings\l\Desktop\filezilla\filezilla-3.22.1\src\engine\backend.cpp:1:
..\include/platform.h:16:0: note: this is the location of the previous definition
 #define wxCHECK_GCC_VERSION( major, minor )
 ^
In file included from ..\include/wx/platform.h:126:0,
                 from ..\include/wx/chartype.h:17,
                 from ..\include/wx/wxcrtbase.h:21,
                 from ..\include/wx/string.h:36,
                 from ..\include/libfilezilla_engine.h:28,
                 from ./filezilla.h:1,
                 from C:\Documents and Settings\l\Desktop\filezilla\filezilla-3.22.1\src\engine\backend.cpp:1:
..\include/wx/compiler.h:97:0: warning: "wxCHECK_VISUALC_VERSION" redefined
 #   define wxCHECK_VISUALC_VERSION(major) 0
 ^
In file included from ./defs.h:20:0,
                 from ..\include/libfilezilla_engine.h:12,
                 from ./filezilla.h:1,
                 from C:\Documents and Settings\l\Desktop\filezilla\filezilla-3.22.1\src\engine\backend.cpp:1:
..\include/platform.h:30:0: note: this is the location of the previous definition
 #define wxCHECK_VISUALC_VERSION( major )
 ^
In file included from ..\include/wx/platform.h:126:0,
                 from ..\include/wx/chartype.h:17,
                 from ..\include/wx/wxcrtbase.h:21,
                 from ..\include/wx/string.h:36,
                 from ..\include/libfilezilla_engine.h:28,
                 from ./filezilla.h:1,
                 from C:\Documents and Settings\l\Desktop\filezilla\filezilla-3.22.1\src\engine\backend.cpp:1:
..\include/wx/compiler.h:118:0: warning: "wxCHECK_SUNCC_VERSION" redefined
     #define wxCHECK_SUNCC_VERSION(maj, min) (0)
 ^
In file included from ./defs.h:20:0,
                 from ..\include/libfilezilla_engine.h:12,
                 from ./filezilla.h:1,
                 from C:\Documents and Settings\l\Desktop\filezilla\filezilla-3.22.1\src\engine\backend.cpp:1:
..\include/platform.h:23:0: note: this is the location of the previous definition
 #define wxCHECK_SUNCC_VERSION( major, minor )
 ^
In file included from ..\include/wx/platform.h:136:0,
                 from ..\include/wx/chartype.h:17,
                 from ..\include/wx/wxcrtbase.h:21,
                 from ..\include/wx/string.h:36,
                 from ..\include/libfilezilla_engine.h:28,
                 from ./filezilla.h:1,
                 from C:\Documents and Settings\l\Desktop\filezilla\filezilla-3.22.1\src\engine\backend.cpp:1:
..\include/wx/setup.h:12:6: error: #error "This file should only be included when using Microsoft Visual C++"
     #error "This file should only be included when using Microsoft Visual C++"
      ^
In file included from ..\include/wx/setup.h:19:0,
                 from ..\include/wx/platform.h:136,
                 from ..\include/wx/chartype.h:17,
                 from ..\include/wx/wxcrtbase.h:21,
                 from ..\include/wx/string.h:36,
                 from ..\include/libfilezilla_engine.h:28,
                 from ./filezilla.h:1,
                 from C:\Documents and Settings\l\Desktop\filezilla\filezilla-3.22.1\src\engine\backend.cpp:1:
..\include/wx/version.h:76:0: warning: "wxCHECK_VERSION" redefined
 #define wxCHECK_VERSION(major,minor,release) \
 ^
In file included from ./defs.h:169:0,
                 from ..\include/libfilezilla_engine.h:12,
                 from ./filezilla.h:1,
                 from C:\Documents and Settings\l\Desktop\filezilla\filezilla-3.22.1\src\engine\backend.cpp:1:
..\include/version.h:29:0: note: this is the location of the previous definition
 #define wxCHECK_VERSION( major, minor, release )
 ^
In file included from ..\include/wx/setup.h:19:0,
                 from ..\include/wx/platform.h:136,
                 from ..\include/wx/chartype.h:17,
                 from ..\include/wx/wxcrtbase.h:21,
                 from ..\include/wx/string.h:36,
                 from ..\include/libfilezilla_engine.h:28,
                 from ./filezilla.h:1,
                 from C:\Documents and Settings\l\Desktop\filezilla\filezilla-3.22.1\src\engine\backend.cpp:1:
..\include/wx/version.h:82:0: warning: "wxCHECK_VERSION_FULL" redefined
 #define wxCHECK_VERSION_FULL(major,minor,release,subrel) \
 ^
In file included from ./defs.h:169:0,
                 from ..\include/libfilezilla_engine.h:12,
                 from ./filezilla.h:1,
                 from C:\Documents and Settings\l\Desktop\filezilla\filezilla-3.22.1\src\engine\backend.cpp:1:
..\include/version.h:36:0: note: this is the location of the previous definition
 #define wxCHECK_VERSION_FULL( major, minor, release, subrel )
 ^
In file included from ..\include/wx/version.h:16:0,
                 from ..\include/wx/setup.h:19,
                 from ..\include/wx/platform.h:136,
                 from ..\include/wx/chartype.h:17,
                 from ..\include/wx/wxcrtbase.h:21,
                 from ..\include/wx/string.h:36,
                 from ..\include/libfilezilla_engine.h:28,
                 from ./filezilla.h:1,
                 from C:\Documents and Settings\l\Desktop\filezilla\filezilla-3.22.1\src\engine\backend.cpp:1:
..\include/wx/setup.h:113:31: error: pasting "/" and "vc_lib" does not give a valid preprocessing token
         wxCONCAT6(../../../lib/, wxLIB_SUBDIR, /, wxTOOLKIT_PREFIX, wxSUFFIX, /wx/setup.h)
                               ^
..\include/wx/cpp.h:18:37: note: in definition of macro 'wxCONCAT_HELPER'
 #define wxCONCAT_HELPER(text, line) text ## line
                                     ^
..\include/wx/cpp.h:23:14: note: in expansion of macro 'wxCONCAT'
     wxCONCAT(wxCONCAT(x1, x2), x3)
              ^
..\include/wx/cpp.h:25:14: note: in expansion of macro 'wxCONCAT3'
     wxCONCAT(wxCONCAT3(x1, x2, x3), x4)
              ^
..\include/wx/cpp.h:27:14: note: in expansion of macro 'wxCONCAT4'
     wxCONCAT(wxCONCAT4(x1, x2, x3, x4), x5)
              ^
..\include/wx/cpp.h:29:14: note: in expansion of macro 'wxCONCAT5'
     wxCONCAT(wxCONCAT5(x1, x2, x3, x4, x5), x6)
              ^
..\include/wx/setup.h:113:9: note: in expansion of macro 'wxCONCAT6'
         wxCONCAT6(../../../lib/, wxLIB_SUBDIR, /, wxTOOLKIT_PREFIX, wxSUFFIX, /wx/setup.h)
         ^
..\include/wx/setup.h:119:39: note: in expansion of macro 'wxSETUPH_PATH'
 #define wxSETUPH_PATH_STR wxSTRINGIZE(wxSETUPH_PATH)
                                       ^
..\include/wx/setup.h:121:10: note: in expansion of macro 'wxSETUPH_PATH_STR'
 #include wxSETUPH_PATH_STR
          ^
..\include/wx/setup.h:72:31: error: pasting "vc_lib" and "/" does not give a valid preprocessing token
     #define wxCOMPILER_PREFIX vc
                               ^
..\include/wx/cpp.h:18:37: note: in definition of macro 'wxCONCAT_HELPER'
 #define wxCONCAT_HELPER(text, line) text ## line
                                     ^
..\include/wx/cpp.h:23:5: note: in expansion of macro 'wxCONCAT'
     wxCONCAT(wxCONCAT(x1, x2), x3)
     ^
..\include/wx/cpp.h:21:5: note: in expansion of macro 'wxCONCAT_HELPER'
     wxCONCAT_HELPER(x1, x2)
     ^
..\include/wx/cpp.h:23:14: note: in expansion of macro 'wxCONCAT'
     wxCONCAT(wxCONCAT(x1, x2), x3)
              ^
..\include/wx/cpp.h:25:14: note: in expansion of macro 'wxCONCAT3'
     wxCONCAT(wxCONCAT3(x1, x2, x3), x4)
              ^
..\include/wx/cpp.h:27:14: note: in expansion of macro 'wxCONCAT4'
     wxCONCAT(wxCONCAT4(x1, x2, x3, x4), x5)
              ^
..\include/wx/cpp.h:29:14: note: in expansion of macro 'wxCONCAT5'
     wxCONCAT(wxCONCAT5(x1, x2, x3, x4, x5), x6)
              ^
..\include/wx/setup.h:113:9: note: in expansion of macro 'wxCONCAT6'
         wxCONCAT6(../../../lib/, wxLIB_SUBDIR, /, wxTOOLKIT_PREFIX, wxSUFFIX, /wx/setup.h)
         ^
..\include/wx/cpp.h:21:5: note: in expansion of macro 'wxCONCAT_HELPER'
     wxCONCAT_HELPER(x1, x2)
     ^
..\include/wx/cpp.h:25:5: note: in expansion of macro 'wxCONCAT'
     wxCONCAT(wxCONCAT3(x1, x2, x3), x4)
     ^
..\include/wx/cpp.h:21:5: note: in expansion of macro 'wxCONCAT_HELPER'
     wxCONCAT_HELPER(x1, x2)
     ^
..\include/wx/cpp.h:23:5: note: in expansion of macro 'wxCONCAT'
     wxCONCAT(wxCONCAT(x1, x2), x3)
     ^
..\include/wx/cpp.h:21:5: note: in expansion of macro 'wxCONCAT_HELPER'
     wxCONCAT_HELPER(x1, x2)
     ^
..\include/wx/cpp.h:23:14: note: in expansion of macro 'wxCONCAT'
     wxCONCAT(wxCONCAT(x1, x2), x3)
              ^
..\include/wx/cpp.h:25:14: note: in expansion of macro 'wxCONCAT3'
     wxCONCAT(wxCONCAT3(x1, x2, x3), x4)
              ^
..\include/wx/setup.h:96:9: note: in expansion of macro 'wxCONCAT4'
         wxCONCAT4(wxCOMPILER_PREFIX, wxARCH_SUFFIX, _lib, wxCFG)
         ^
..\include/wx/setup.h:96:19: note: in expansion of macro 'wxCOMPILER_PREFIX'
         wxCONCAT4(wxCOMPILER_PREFIX, wxARCH_SUFFIX, _lib, wxCFG)
                   ^
..\include/wx/setup.h:113:34: note: in expansion of macro 'wxLIB_SUBDIR'
         wxCONCAT6(../../../lib/, wxLIB_SUBDIR, /, wxTOOLKIT_PREFIX, wxSUFFIX, /wx/setup.h)
                                  ^
..\include/wx/setup.h:119:39: note: in expansion of macro 'wxSETUPH_PATH'
 #define wxSETUPH_PATH_STR wxSTRINGIZE(wxSETUPH_PATH)
                                       ^
..\include/wx/setup.h:121:10: note: in expansion of macro 'wxSETUPH_PATH_STR'
 #include wxSETUPH_PATH_STR
          ^
..\include/wx/setup.h:113:48: error: pasting "/" and "msw" does not give a valid preprocessing token
         wxCONCAT6(../../../lib/, wxLIB_SUBDIR, /, wxTOOLKIT_PREFIX, wxSUFFIX, /wx/setup.h)
                                                ^
..\include/wx/cpp.h:18:37: note: in definition of macro 'wxCONCAT_HELPER'
 #define wxCONCAT_HELPER(text, line) text ## line
                                     ^
..\include/wx/cpp.h:25:5: note: in expansion of macro 'wxCONCAT'
     wxCONCAT(wxCONCAT3(x1, x2, x3), x4)
     ^
..\include/wx/cpp.h:21:5: note: in expansion of macro 'wxCONCAT_HELPER'
     wxCONCAT_HELPER(x1, x2)
     ^
..\include/wx/cpp.h:23:5: note: in expansion of macro 'wxCONCAT'
     wxCONCAT(wxCONCAT(x1, x2), x3)
     ^
..\include/wx/cpp.h:25:14: note: in expansion of macro 'wxCONCAT3'
     wxCONCAT(wxCONCAT3(x1, x2, x3), x4)
              ^
..\include/wx/cpp.h:27:14: note: in expansion of macro 'wxCONCAT4'
     wxCONCAT(wxCONCAT4(x1, x2, x3, x4), x5)
              ^
..\include/wx/cpp.h:29:14: note: in expansion of macro 'wxCONCAT5'
     wxCONCAT(wxCONCAT5(x1, x2, x3, x4, x5), x6)
              ^
..\include/wx/setup.h:113:9: note: in expansion of macro 'wxCONCAT6'
         wxCONCAT6(../../../lib/, wxLIB_SUBDIR, /, wxTOOLKIT_PREFIX, wxSUFFIX, /wx/setup.h)
         ^
..\include/wx/setup.h:119:39: note: in expansion of macro 'wxSETUPH_PATH'
 #define wxSETUPH_PATH_STR wxSTRINGIZE(wxSETUPH_PATH)
                                       ^
..\include/wx/setup.h:121:10: note: in expansion of macro 'wxSETUPH_PATH_STR'
 #include wxSETUPH_PATH_STR
          ^
..\include/wx/setup.h:105:34: error: pasting "mswd" and "/" does not give a valid preprocessing token
         #define wxTOOLKIT_PREFIX msw
                                  ^
..\include/wx/cpp.h:18:37: note: in definition of macro 'wxCONCAT_HELPER'
 #define wxCONCAT_HELPER(text, line) text ## line
                                     ^
..\include/wx/cpp.h:29:5: note: in expansion of macro 'wxCONCAT'
     wxCONCAT(wxCONCAT5(x1, x2, x3, x4, x5), x6)
     ^
..\include/wx/cpp.h:21:5: note: in expansion of macro 'wxCONCAT_HELPER'
     wxCONCAT_HELPER(x1, x2)
     ^
..\include/wx/cpp.h:27:5: note: in expansion of macro 'wxCONCAT'
     wxCONCAT(wxCONCAT4(x1, x2, x3, x4), x5)
     ^
..\include/wx/cpp.h:21:5: note: in expansion of macro 'wxCONCAT_HELPER'
     wxCONCAT_HELPER(x1, x2)
     ^
..\include/wx/cpp.h:25:5: note: in expansion of macro 'wxCONCAT'
     wxCONCAT(wxCONCAT3(x1, x2, x3), x4)
     ^
..\include/wx/cpp.h:27:14: note: in expansion of macro 'wxCONCAT4'
     wxCONCAT(wxCONCAT4(x1, x2, x3, x4), x5)
              ^
..\include/wx/cpp.h:29:14: note: in expansion of macro 'wxCONCAT5'
     wxCONCAT(wxCONCAT5(x1, x2, x3, x4, x5), x6)
              ^
..\include/wx/setup.h:113:9: note: in expansion of macro 'wxCONCAT6'
         wxCONCAT6(../../../lib/, wxLIB_SUBDIR, /, wxTOOLKIT_PREFIX, wxSUFFIX, /wx/setup.h)
         ^
..\include/wx/setup.h:113:51: note: in expansion of macro 'wxTOOLKIT_PREFIX'
         wxCONCAT6(../../../lib/, wxLIB_SUBDIR, /, wxTOOLKIT_PREFIX, wxSUFFIX, /wx/setup.h)
                                                   ^
..\include/wx/setup.h:119:39: note: in expansion of macro 'wxSETUPH_PATH'
 #define wxSETUPH_PATH_STR wxSTRINGIZE(wxSETUPH_PATH)
                                       ^
..\include/wx/setup.h:121:10: note: in expansion of macro 'wxSETUPH_PATH_STR'
 #include wxSETUPH_PATH_STR
          ^
In file included from ..\include/wx/platform.h:136:0,
                 from ..\include/wx/chartype.h:17,
                 from ..\include/wx/wxcrtbase.h:21,
                 from ..\include/wx/string.h:36,
                 from ..\include/libfilezilla_engine.h:28,
                 from ./filezilla.h:1,
                 from C:\Documents and Settings\l\Desktop\filezilla\filezilla-3.22.1\src\engine\backend.cpp:1:
..\include/wx/setup.h:121:27: fatal error: ../../../lib/vc_lib /mswd /wx/setup.h: No such file or directory
 #include wxSETUPH_PATH_STR
                           ^
compilation terminated.
Process terminated with status 1 (0 minute(s), 3 second(s))
13 error(s), 5 warning(s) (0 minute(s), 3 second(s))

Link to comment
Share on other sites

19 hours ago, Dibya said:

any of you know any tool for calculating offset to RVA ?

CFF explorer->address converter

1 hour ago, Dibya said:

PSAPI.EnumProcessModulesEx
PSAPI.GetWsChangesEx
PSAPI.QueryWorkingSetEx

these functions Buried inside kernel... by kernel I mean win32k.sys, if I recall correctly..

Sorry for not replying to your pm, I have been playing with knowndlls hooking for few weeks, (also got several health related issues), but then I dropped it altogether, because it's causing too much hassle... sometimes it got succeed sometimes it doesn't... 
it might be possible if I go through 'drivers path' (writing kernel module for hooking) I don't know, haven't got time yet..

@TuMaGoNx
I have been wondering about the keyed_event variable inside wine, in wine it might be get filled with wine's Ntxxx function, but what about the real xp's Ntxxx function? is it Ok to leave it empty?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...