Jump to content

KernelEx -- On building, debugging and related matters...


Drugwash

Recommended Posts

Here's the new build!

KernelEx-dev.7z

Here's the compile log:


Deleting intermediate files and output files for project 'kexcrt - Win32 Release'.
Deleting intermediate files and output files for project 'Core - Win32 Release'.
Deleting intermediate files and output files for project 'Core - Win32 Debug'.
Deleting intermediate files and output files for project 'Core - Win32 Release APIHOOK'.
Deleting intermediate files and output files for project 'prep - Win32 Release'.
Deleting intermediate files and output files for project 'prep - Win32 Debug'.
Deleting intermediate files and output files for project 'KernelEx Base NonShared - Win32 Release'.
Deleting intermediate files and output files for project 'KernelEx Base NonShared - Win32 Debug'.
Deleting intermediate files and output files for project 'KernelEx Base Shared - Win32 Release'.
Deleting intermediate files and output files for project 'KernelEx Base Shared - Win32 Debug'.
Deleting intermediate files and output files for project 'VxD - Win32 Release'.
Deleting intermediate files and output files for project 'VxD - Win32 Debug'.
Deleting intermediate files and output files for project 'Core - Win32 Release'.
Deleting intermediate files and output files for project 'auxiliary - Win32 Release'.
Deleting intermediate files and output files for project 'kexCOM - Win32 Release'.
Deleting intermediate files and output files for project 'kexCOM - Win32 Debug'.
Deleting intermediate files and output files for project 'kexcontrol - Win32 Release'.
Deleting intermediate files and output files for project 'kexcontrol - Win32 Debug'.
Deleting intermediate files and output files for project 'sdbcreate - Win32 Release'.
Deleting intermediate files and output files for project 'sdbcreate - Win32 Debug'.
Deleting intermediate files and output files for project 'sheet - Win32 Release'.
Deleting intermediate files and output files for project 'sheet - Win32 Debug'.
Deleting intermediate files and output files for project 'verify - Win32 Release'.
Deleting intermediate files and output files for project 'verify - Win32 Debug'.
--------------------Configuration: kexcrt - Win32 Release--------------------
Compiling...
_vsnprintf.c
abort.c
argcargv.c
assert.c
atoi.c
atol.c
atoll.c
concrt0.c
ctypes.c
dllcrt0.c
exit.c
init.c
isalnum.c
isalpha.c
isascii.c
isblank.c
iscntrl.c
isdigit.c
isgraph.c
islower.c
Generating Code...
Compiling...
isprint.c
ispunct.c
isspace.c
isupper.c
isxdigit.c
memccpy.c
memchr.c
memcmp.c
memcpy.c
memmem.c
memmove.c
Generating Code...
Compiling...
memory-cpp.cpp
Generating Code...
Compiling...
memory.c
memrchr.c
memset.c
memswap.c
printf.c
purecall.c
snprintf.c
sprintf.c
sscanf.c
strcat.c
strchr.c
strcmp.c
strcmpi.c
strcpy.c
strdup.c
strlen.c
strncat.c
strncmp.c
strncpy.c
strnicmp.c
Generating Code...
Compiling...
strnlen.c
strntoimax.c
strntoumax.c
strpbrk.c
strrchr.c
strsep.c
strstr.c
strtok.c
strtok_r.c
strtol.c
strtoll.c
strtoul.c
strtoull.c
strtoumax.c
strupr.c
strxspn.c
tolower.c
toupper.c
vsnprintf.c
vsprintf.c
Generating Code...
Compiling...
vsscanf.c
wincrt0.c
write.c
Generating Code...
Creating library...

kexcrt.lib - 0 error(s), 0 warning(s)
--------------------Configuration: Core - Win32 Release--------------------
Performing Custom Build Step on .\core.def
k32ord.h
Creating library .\Release\k32ord.lib and object .\Release\k32ord.exp
Compiling resources...
Compiling...
apiconf.cpp
apiconfmgr.cpp
apihook.cpp
apilib.cpp
internals.cpp
kexcoresdk.cpp
main.cpp
ModInit.cpp
pemanip.cpp
ProcessStorage.cpp
resolver.cpp
SettingsDB.cpp
sharedmem.cpp
thunks.cpp
wildcmp.cpp
Linking...
Creating library Release/KernelEx.lib and object Release/KernelEx.exp
1 file(s) copied.

KernelEx.dll - 0 error(s), 0 warning(s)
--------------------Configuration: Core - Win32 Debug--------------------
Performing Custom Build Step on .\core.def
k32ord.h
Creating library .\Debug\k32ord.lib and object .\Debug\k32ord.exp
Compiling resources...
Compiling...
apiconf.cpp
apiconfmgr.cpp
apihook.cpp
apilib.cpp
debug.cpp
debugproto.cpp
internals.cpp
kexcoresdk.cpp
main.cpp
ModInit.cpp
pemanip.cpp
ProcessStorage.cpp
resolver.cpp
SettingsDB.cpp
sharedmem.cpp
thunks.cpp
wildcmp.cpp
Linking...
Creating library Debug/KernelEx.lib and object Debug/KernelEx.exp
1 file(s) copied.

KernelEx.dll - 0 error(s), 0 warning(s)
--------------------Configuration: Core - Win32 Release APIHOOK--------------------
Performing Custom Build Step on .\core.def
k32ord.h
Creating library .\Release_APIHOOK\k32ord.lib and object .\Release_APIHOOK\k32ord.exp
Compiling resources...
Compiling...
apiconf.cpp
apiconfmgr.cpp
apihook.cpp
apilib.cpp
internals.cpp
kexcoresdk.cpp
main.cpp
ModInit.cpp
pemanip.cpp
ProcessStorage.cpp
resolver.cpp
SettingsDB.cpp
sharedmem.cpp
thunks.cpp
wildcmp.cpp
Linking...
Creating library Release_APIHOOK/KernelEx.lib and object Release_APIHOOK/KernelEx.exp
1 file(s) copied.

KernelEx.dll - 0 error(s), 0 warning(s)
--------------------Configuration: prep - Win32 Release--------------------
Compiling...
prep.cpp
Linking...

prep.exe - 0 error(s), 0 warning(s)
--------------------Configuration: prep - Win32 Debug--------------------
Compiling...
prep.cpp
Linking...

prep.exe - 0 error(s), 0 warning(s)
--------------------Configuration: KernelEx Base NonShared - Win32 Release--------------------
Performing Custom Build Step on .\dirlist
KernelEx source preparser by Xeno86
Processing project at: .
Processing directory: 'kernel32\'
Directory is up to date
Processing directory: 'user32\'
Directory is up to date
Processing directory: 'gdi32\'
Directory is up to date
Processing directory: 'advapi32\'
Directory is up to date
Processing directory: 'comdlg32\'
Directory is up to date
Processing directory: 'shell32\'
Directory is up to date
Processing directory: 'rpcrt4\'
Directory is up to date
Processing directory: 'winspool\'
Directory is up to date
Processing directory: 'shfolder\'
Directory is up to date
Processing directory: 'winmm\'
Directory is up to date
Processing directory: 'ws2_32\'
Directory is up to date
Processing directory: 'ole32\'
Directory is up to date
Processing directory: 'cryptui\'
Directory is up to date
Processing directory: 'ntdll\'
Directory is up to date
Processing directory: 'netapi32\'
Directory is up to date
Performing Custom Build Step on .\kexbasen.def
k32ord.h
Creating library .\Release\k32ord.lib and object .\Release\k32ord.exp
Compiling resources...
Compiling...
_kernel32_apilist.c
allocator.c
C:\Documents and Settings\John\Desktop\KernelEx-master\apilibs\kexbasen\kernel32\jemalloc/jemalloc.c(239) : warning C4163: '_BitScanForward' : not available as an intrinsic function
DelayLoadFailureHook.c
ThreadPool.c
TlsExt.c
unikernel32.c
_user32_apilist.c
uniuser32.c
_gdi32_apilist.c
ScriptCache.cpp
UberGDI.c
unigdi32.c
_advapi32_apilist.c
uniadvapi32.c
_comdlg32_apilist.c
openfilename_fix.c
opensavefile.c
unicomdlg32.c
_shell32_apilist.c
SHBindToParent.c
SHCreateDirectoryEx.c
SHGetFolderLocation.c
SHGetFolderPath.c
SHGetSpecialFolder.c
SHParseDisplayName.c
unishell32.c
_rpcrt4_apilist.c
NdrDllGetClassObject.c
unirpcrt4.c
_winspool_apilist.c
_winspool_stubs.c
DefaultPrinter.c
uniwinspool.c
_shfolder_apilist.c
shfolder.c
_winmm_apilist.c
uniwinmm.c
_ws2_32_apilist.c
addinfo.c
select_fix.c
_ole32_apilist.c
CoWaitForMultipleHandles.c
_cryptui_apilist.c
CryptUIDlgViewContext.c
_ntdll_apilist.c
_ntdll_stubs.c
ntruntime.c
_netapi32_apilist.c
netalert.c
netbuffer.c
netget.c
netshare.c
common.c
main.c
shlord.c
unifwd.c
Linking...
Creating library Release/kexbasen.lib and object Release/kexbasen.exp

kexbasen.dll - 0 error(s), 1 warning(s)
--------------------Configuration: KernelEx Base NonShared - Win32 Debug--------------------
Performing Custom Build Step on .\dirlist
KernelEx source preparser by Xeno86
Processing project at: .
Processing directory: 'kernel32\'
Directory is up to date
Processing directory: 'user32\'
Directory is up to date
Processing directory: 'gdi32\'
Directory is up to date
Processing directory: 'advapi32\'
Directory is up to date
Processing directory: 'comdlg32\'
Directory is up to date
Processing directory: 'shell32\'
Directory is up to date
Processing directory: 'rpcrt4\'
Directory is up to date
Processing directory: 'winspool\'
Directory is up to date
Processing directory: 'shfolder\'
Directory is up to date
Processing directory: 'winmm\'
Directory is up to date
Processing directory: 'ws2_32\'
Directory is up to date
Processing directory: 'ole32\'
Directory is up to date
Processing directory: 'cryptui\'
Directory is up to date
Processing directory: 'ntdll\'
Directory is up to date
Processing directory: 'netapi32\'
Directory is up to date
Performing Custom Build Step on .\kexbasen.def
k32ord.h
Creating library .\Debug\k32ord.lib and object .\Debug\k32ord.exp
Compiling resources...
Compiling...
_kernel32_apilist.c
allocator.c
C:\Documents and Settings\John\Desktop\KernelEx-master\apilibs\kexbasen\kernel32\jemalloc/jemalloc.c(239) : warning C4163: '_BitScanForward' : not available as an intrinsic function
DelayLoadFailureHook.c
ThreadPool.c
TlsExt.c
unikernel32.c
_user32_apilist.c
uniuser32.c
_gdi32_apilist.c
ScriptCache.cpp
UberGDI.c
unigdi32.c
_advapi32_apilist.c
uniadvapi32.c
_comdlg32_apilist.c
openfilename_fix.c
opensavefile.c
unicomdlg32.c
_shell32_apilist.c
SHBindToParent.c
SHCreateDirectoryEx.c
SHGetFolderLocation.c
SHGetFolderPath.c
SHGetSpecialFolder.c
SHParseDisplayName.c
unishell32.c
_rpcrt4_apilist.c
NdrDllGetClassObject.c
unirpcrt4.c
_winspool_apilist.c
_winspool_stubs.c
DefaultPrinter.c
uniwinspool.c
_shfolder_apilist.c
shfolder.c
_winmm_apilist.c
uniwinmm.c
_ws2_32_apilist.c
addinfo.c
select_fix.c
_ole32_apilist.c
CoWaitForMultipleHandles.c
_cryptui_apilist.c
CryptUIDlgViewContext.c
_ntdll_apilist.c
_ntdll_stubs.c
ntruntime.c
_netapi32_apilist.c
netalert.c
netbuffer.c
netget.c
netshare.c
common.c
main.c
shlord.c
unifwd.c
Linking...
Creating library Debug/kexbasen.lib and object Debug/kexbasen.exp

kexbasen.dll - 0 error(s), 1 warning(s)
--------------------Configuration: KernelEx Base Shared - Win32 Release--------------------
Performing Custom Build Step on .\dirlist
KernelEx source preparser by Xeno86
Processing project at: .
Processing directory: 'kernel32\'
Directory is up to date
Processing directory: 'user32\'
Directory is up to date
Processing directory: 'gdi32\'
Directory is up to date
Processing directory: 'advapi32\'
Directory is up to date
Processing directory: 'comdlg32\'
Directory is up to date
Processing directory: 'shell32\'
Directory is up to date
Processing directory: 'version\'
Directory is up to date
Processing directory: 'comctl32\'
Directory is up to date
Processing directory: 'ntdll\'
Directory is up to date
Performing Custom Build Step on .\kexbases.def
k32ord.h
Creating library .\Release\k32ord.lib and object .\Release\k32ord.exp
Compiling resources...
Compiling...
_kernel32_apilist.c
_kernel32_stubs.c
console.c
critsect.c
directory.c
file.c
handle.c
inter.c
IsProcessorFeaturePresent.c
jobs.c
KEXVersion.c
locale.c
locale_casemap.c
locale_collation.c
locale_fold.c
locale_sortkey.c
locale_wctype.c
mem.c
module.c
pointer.c
port.c
process.c
RtlCaptureContext.c
session.c
thread.c
time.c
uilang.c
unikernel32.c
version.c
volume.c
widecharconv.c
_user32_apilist.c
_user32_stubs.c
desktop.c
dialog.c
display.c
exit.c
hung.c
input.c
lstr.c
menu.c
message.c
SystemParametersInfo_fix.c
thuni_conv.c
thuni_layer.c
thuni_proc.c
thuni_stuff.c
thuni_thunk.c
uniuser32.c
window.c
winsta.c
_gdi32_apilist.c
_gdi32_stubs.c
EnumFont.c
FontResourceEx.c
GdiObjects.c
GetGlyphOutlineA_fix.c
GetTextExtentPoint32_fix.c
MaskBlt.c
Orhpans.cpp
TextOut.c
unigdi32.c
_advapi32_apilist.c
_advapi32_stubs.c
lsa.c
OpenSCManager_stub.c
reg.c
RtlGenRandom.c
security.c
TraceMessage.c
uniadvapi32.c
_comdlg32_apilist.c
print.c
_version_apilist.c
universion.c
_shell32_apilist.c
_shell32_stubs.c
CommandLineToArgvW.c
IsUserAnAdmin.c
shexec.c
shexit.c
shmain.c
_comctl32_apilist.c
newclassreg.c
syslink.c
_ntdll_apilist.c
_ntdll_stubs.c
error.c
ldr.c
ntfile.c
nthandle.c
ntmem.c
ntprocess.c
ntthread.c
rtl.c
sys.c
token.c
common.c
main.c
Linking...
Creating library Release/kexbases.lib and object Release/kexbases.exp
LINK : warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF

kexbases.dll - 0 error(s), 1 warning(s)
--------------------Configuration: KernelEx Base Shared - Win32 Debug--------------------
Performing Custom Build Step on .\dirlist
KernelEx source preparser by Xeno86
Processing project at: .
Processing directory: 'kernel32\'
Directory is up to date
Processing directory: 'user32\'
Directory is up to date
Processing directory: 'gdi32\'
Directory is up to date
Processing directory: 'advapi32\'
Directory is up to date
Processing directory: 'comdlg32\'
Directory is up to date
Processing directory: 'shell32\'
Directory is up to date
Processing directory: 'version\'
Directory is up to date
Processing directory: 'comctl32\'
Directory is up to date
Processing directory: 'ntdll\'
Directory is up to date
Performing Custom Build Step on .\kexbases.def
k32ord.h
Creating library .\Debug\k32ord.lib and object .\Debug\k32ord.exp
Compiling resources...
Compiling...
_kernel32_apilist.c
_kernel32_stubs.c
console.c
critsect.c
directory.c
file.c
handle.c
inter.c
IsProcessorFeaturePresent.c
jobs.c
KEXVersion.c
locale.c
locale_casemap.c
locale_collation.c
locale_fold.c
locale_sortkey.c
locale_wctype.c
mem.c
module.c
pointer.c
port.c
process.c
RtlCaptureContext.c
session.c
thread.c
time.c
uilang.c
unikernel32.c
version.c
volume.c
widecharconv.c
_user32_apilist.c
_user32_stubs.c
desktop.c
dialog.c
display.c
exit.c
hung.c
input.c
lstr.c
menu.c
message.c
SystemParametersInfo_fix.c
thuni_conv.c
thuni_layer.c
thuni_proc.c
thuni_stuff.c
thuni_thunk.c
uniuser32.c
window.c
winsta.c
_gdi32_apilist.c
_gdi32_stubs.c
EnumFont.c
FontResourceEx.c
GdiObjects.c
GetGlyphOutlineA_fix.c
GetTextExtentPoint32_fix.c
MaskBlt.c
Orhpans.cpp
TextOut.c
unigdi32.c
_advapi32_apilist.c
_advapi32_stubs.c
lsa.c
OpenSCManager_stub.c
reg.c
RtlGenRandom.c
security.c
TraceMessage.c
uniadvapi32.c
_comdlg32_apilist.c
print.c
_version_apilist.c
universion.c
_shell32_apilist.c
_shell32_stubs.c
CommandLineToArgvW.c
IsUserAnAdmin.c
shexec.c
shexit.c
shmain.c
_comctl32_apilist.c
newclassreg.c
syslink.c
_ntdll_apilist.c
_ntdll_stubs.c
error.c
ldr.c
ntfile.c
nthandle.c
ntmem.c
ntprocess.c
ntthread.c
rtl.c
sys.c
token.c
common.c
main.c
Linking...
Creating library Debug/kexbases.lib and object Debug/kexbases.exp

kexbases.dll - 0 error(s), 0 warning(s)
--------------------Configuration: VxD - Win32 Release--------------------
Compiling...
patch.cpp
patch_ifsmgr.cpp
patch_kernel32.cpp
pemanip.cpp
Generating Code...
Compiling...
util.c
Generating Code...
Compiling...
vxdmain.cpp
Generating Code...
Linking...

VKrnlEx.vxd - 0 error(s), 0 warning(s)
--------------------Configuration: VxD - Win32 Debug--------------------
Compiling...
debug.cpp
patch.cpp
patch_ifsmgr.cpp
patch_kernel32.cpp
pemanip.cpp
Generating Code...
Compiling...
util.c
Generating Code...
Compiling...
vxdmain.cpp
Generating Code...
Linking...

VKrnlEx.vxd - 0 error(s), 0 warning(s)
--------------------Configuration: Core - Win32 Release--------------------
Performing Custom Build Step on .\core.def
k32ord.h
Creating library .\Release\k32ord.lib and object .\Release\k32ord.exp
Compiling resources...
Compiling...
apiconf.cpp
apiconfmgr.cpp
apihook.cpp
apilib.cpp
internals.cpp
kexcoresdk.cpp
main.cpp
ModInit.cpp
pemanip.cpp
ProcessStorage.cpp
resolver.cpp
SettingsDB.cpp
sharedmem.cpp
thunks.cpp
wildcmp.cpp
Linking...
Creating library Release/KernelEx.lib and object Release/KernelEx.exp
1 file(s) copied.
--------------------Configuration: auxiliary - Win32 Release--------------------
cd msimg32
cl /nologo /W3 /O2 /Oi /FD /c /Fomsimg32.obj msimg32.c
msimg32.c
rc /r msimgme
link /nologo /DLL /OPT:NOWIN98 /ENTRY:DllMain@12 /DEF:msimg32.def /OUT:..\..\output-i386\Release\msimg32.dll -nodefaultlib kernel32.lib gdi32.lib ../../kexcrt/kexcrt.lib msimg32.obj msimgme.res
Creating library ..\..\output-i386\Release\msimg32.lib and object ..\..\output-i386\Release\msimg32.exp
cd ..
cd pdh
link /LIB /NOLOGO /MACHINE:IX86 /DEF:kord.def /OUT:kord.lib
Creating library kord.lib and object kord.exp
cl /nologo /W3 /O2 /Oi /FD /c /Fopdh.obj pdh.c
pdh.c
link /nologo /DLL /OPT:NOWIN98 /ENTRY:DllMain@12 /DEF:pdh.def /OUT:..\..\output-i386\Release\pdh.dll -nodefaultlib kernel32.lib gdi32.lib kord.lib pdh.obj
Creating library ..\..\output-i386\Release\pdh.lib and object ..\..\output-i386\Release\pdh.exp
cd ..
cd winsta
link /LIB /NOLOGO /MACHINE:IX86 /DEF:winsta.def /OUT:winsta.lib
Creating library winsta.lib and object winsta.exp
cl /nologo /W3 /O2 /Oi /FD /c /Fowinsta.obj winsta.c
winsta.c
link /nologo /DLL /OPT:NOWIN98 /ENTRY:DllMain@12 /DEF:winsta.def /OUT:..\..\output-i386\Release\winsta.dll -nodefaultlib kernel32.lib gdi32.lib user32.lib ../../kexcrt/kexcrt.lib ../../common/KernelEx.lib winsta.lib winsta.obj
Creating library ..\..\output-i386\Release\winsta.lib and object ..\..\output-i386\Release\winsta.exp
cd ..
cd wtsapi32
cl /nologo /W3 /O2 /Oi /FD /c /Fowtsapi32.obj wtsapi32.c
wtsapi32.c
link /nologo /DLL /OPT:NOWIN98 /ENTRY:DllMain@12 /DEF:wtsapi32.def /OUT:..\..\output-i386\Release\wtsapi32.dll -nodefaultlib kernel32.lib gdi32.lib user32.lib ../../kexcrt/kexcrt.lib ../winsta/winsta.lib ../../common/KernelEx.lib wtsapi32.obj
Creating library ..\..\output-i386\Release\wtsapi32.lib and object ..\..\output-i386\Release\wtsapi32.exp
cd ..
cd uxtheme
link /LIB /NOLOGO /MACHINE:IX86 /DEF:kord.def /OUT:kord.lib
Creating library kord.lib and object kord.exp
cl /nologo /W3 /O2 /Oi /FD /c /Fouxtheme.obj uxtheme.c
uxtheme.c
cl /nologo /W3 /O2 /Oi /FD /c /Fometric.obj metric.c
metric.c
link /nologo /DLL /OPT:NOWIN98 /ENTRY:DllMain@12 /DEF:uxtheme.def /OUT:..\..\output-i386\Release\uxtheme.dll -nodefaultlib kernel32.lib gdi32.lib user32.lib kord.lib uxtheme.obj metric.obj
Creating library ..\..\output-i386\Release\uxtheme.lib and object ..\..\output-i386\Release\uxtheme.exp
cd ..
cd psapi
cl /nologo /W3 /O2 /Oi /FD /I../../common /c /Fopsapi.obj psapi.c
psapi.c
link /nologo /DLL /OPT:NOWIN98 /ENTRY:DllMain@12 /LIBPATH:../../common KernelEx.lib /DEF:psapi.def /OUT:..\..\output-i386\Release\psapi.dll -nodefaultlib kernel32.lib psapi.obj
Creating library ..\..\output-i386\Release\psapi.lib and object ..\..\output-i386\Release\psapi.exp
cd ..
cd userenv
cl /nologo /W3 /O2 /Oi /FD /c /Fouserenv.obj userenv.c
userenv.c
link /nologo /DLL /OPT:NOWIN98 /ENTRY:DllMain@12 /DEF:userenv.def /OUT:..\..\output-i386\Release\userenv.dll -nodefaultlib kernel32.lib gdi32.lib shell32.lib shlwapi.lib userenv.obj
Creating library ..\..\output-i386\Release\userenv.lib and object ..\..\output-i386\Release\userenv.exp
cd ..
cd msimg32
cd ..
cd pdh
cd ..
cd winsta
cd ..
cd wtsapi32
cd ..
cd uxtheme
cd ..
cd psapi
cd ..
cd userenv
cd ..

auxiliary - 0 error(s), 0 warning(s)
--------------------Configuration: kexCOM - Win32 Release--------------------
Compiling...
factory.cpp
server.cpp
shelllink.cpp
Linking...
Creating library Release/kexCOM.lib and object Release/kexCOM.exp

kexCOM.dll - 0 error(s), 0 warning(s)
--------------------Configuration: kexCOM - Win32 Debug--------------------
Compiling...
factory.cpp
server.cpp
shelllink.cpp
Linking...
Creating library Debug/kexCOM.lib and object Debug/kexCOM.exp

kexCOM.dll - 0 error(s), 0 warning(s)
--------------------Configuration: kexcontrol - Win32 Release--------------------
Compiling...
kexcontrol.cpp
Linking...

kexcontrol.exe - 0 error(s), 0 warning(s)
--------------------Configuration: kexcontrol - Win32 Debug--------------------
Compiling...
kexcontrol.cpp
Linking...

kexcontrol.exe - 0 error(s), 0 warning(s)
--------------------Configuration: sdbcreate - Win32 Release--------------------
Performing Custom Build Step on .\sdbapi.h
sdbapi.h
Creating library .\Release\sdbapi.lib and object .\Release\sdbapi.exp
Compiling...
sdbcreate.cpp
Linking...
'\Documents' is not recognized as an internal or external command,
operable program or batch file.
Error executing c:\windows\system32\cmd.exe.

sdbcreate.exe - 1 error(s), 0 warning(s)
--------------------Configuration: sdbcreate - Win32 Debug--------------------
Performing Custom Build Step on .\sdbapi.h
sdbapi.h
Creating library .\Debug\sdbapi.lib and object .\Debug\sdbapi.exp
Compiling...
sdbcreate.cpp
Linking...
'\Documents' is not recognized as an internal or external command,
operable program or batch file.
Error executing c:\windows\system32\cmd.exe.

sdbcreate.exe - 1 error(s), 0 warning(s)
--------------------Configuration: sheet - Win32 Release--------------------
Compiling resources...
Compiling...
factory.cpp
KexLinkage.cpp
server.cpp
sheet.cpp
Linking...
Creating library Release/sheet.lib and object Release/sheet.exp

sheet.dll - 0 error(s), 0 warning(s)
--------------------Configuration: sheet - Win32 Debug--------------------
Compiling resources...
Compiling...
factory.cpp
KexLinkage.cpp
server.cpp
sheet.cpp
Linking...
Creating library Debug/sheet.lib and object Debug/sheet.exp

sheet.dll - 0 error(s), 0 warning(s)
--------------------Configuration: verify - Win32 Release--------------------
Compiling resources...
Compiling...
main.c
Linking...

verify.exe - 0 error(s), 0 warning(s)
--------------------Configuration: verify - Win32 Debug--------------------
Compiling resources...
Compiling...
main.c
Linking...

verify.exe - 0 error(s), 0 warning(s)

@Drugwash It doesn't seem like there's anything wrong. I checked the compile log and it looks fine.

Edited by coolman
Link to comment
Share on other sites


It doesn't seem like there's anything wrong. I checked the compile log and it looks fine.
Hence my frustration. :(

I grabbed kexbases.dll from your package above, installed my own package built under 98SE, rebooted in Safe Mode, replaced my kexbases with yours and rebooted normally. Everything went fine, verification reported KernelEx installed succesfully. I also noticed there's an addition to the PATH variable in AUTOEXEC.BAT - this is the first time it happens.

But then I ran GOM Player. One click on playlist window and it vanished. Another click on main window and that one vanished too. Tray icon was of no use, no context menu, no window show. I had to kill the process using Codestuff Starter; while there, the SizeNS cursor wouldn't show up when resizing the bottom ListView.

Then I ran Miranda IM 0.10.11.0 ANSI, built by myself yesterday. Resizing contact list was also funny, no size cursors. At one point, the actual list popped out of the main window and couldn't put it back, mouse wouldn't listen. Then, mouse buttons got reversed: left-click was showing context menu, while right-click was performing single left-click. Couldn't get rid of this behavior even after closing Miranda IM, so I wanted to reboot. Machine wouldn't. I tried from the Start menu, tried from the shortcuts in QuickLaunch (RUNDLL.EXE shell32.dll,SHExitWindowsEx 2 for reboot or 1 for shut down). Error related to RUNDLL32.EXE not being able to run because windows station was shutting down. Finally I managed to reboot by repeatedly performing the three finger salute.

After reboot, I disabled KernelEx for GOM Player and Miranda IM and they both behaved correctly afterwards (limited testing for both, though).

Oh and the error you get in sdbcreate seems to be caused by your sources being located in 'Documents and Settings' - a path containing spaces which VC6 doesn't quite like. Try moving the sources to a simple path like C:\KernelEx-master or on another partition, anything without spaces or funny characters in the path.

Question remains: how come I can't build a working kexbases on two different systems using similar environment?:(

Link to comment
Share on other sites

[...] mouse buttons got reversed [...]
This was fixed [...]

I found the shut down problem [...] Fixed it and logoff/shutdown is working properly.

Thank you!
Can you explain more on why you can't build kexbases ?
I can build it. I can build all parts of the KernelEx project. I always could, albeit with slight changes to project files, at first; now, there's no need for any changes, it builds right away.

So I unzip the sources to a new folder, I launch the main .dsw project, I choose Batch build and in a few minutes all subprojects are compiled. I launch the NSIS script twice from context menu (remember I added the Debug item to the registry so I'm making a few slight changes to the .nsi file prior to launching) and the Debug/Release installers are ready.

But no matter what, the kexbases.dll built on either of my two machines (Pentium III Win98SE and Pentium4 WinXP-SP3) hangs the boot procedure in the 98SE test machine (AMD Duron 800MHz, 512MB RAM, Amptron/PCChips M810LR motherboard with SiS730 chipset). The error is always the same: Failed to open window station WinSta0 (kexbases\User32\desktop.c:296).

As I said in my previous reply, if upon first reboot I replace the kexbases built by me with one built by you or coolman, the rest of my build completes installation and appears to work correctly. So the problem has to be somewhere in the kexbases code and it has to be related to my own developing environment, since you and coolman can build working versions of kexbases. But none of you told me your exact setup so I could check if I'm missing something or need to replace something, such as the 98DDK with the 2000 DDK.

The test machine has uSP 3.19 installed, since it initially was prepared for uSP testing. I have no problems building KernelEx 4.5.2, installing and running it on the test machine - the few installed applications behave correctly with it.

Link to comment
Share on other sites

Better yet - here's a package with both Debug and Release installers: download

EDIT:

After building latest code and replacing kexbases with the one in Leyok's package, I noticed Total Commander 7 loses the drag'n'drop ability between panels. Disabling KernelEx for its executable, fixes the issue.

Edited by Drugwash
Link to comment
Share on other sites

@Drugwash : I'll see later with your build.

Fixed every "memory error" and most apps that hang because of the new GetWindow (which is temporarily removed because of many bugs).

I didn't tried Total Commander 7, but it should be fine.

I didn't forget about the Firefox installation bug, I will try to find a solution.

New build:

Thanks Leyok! The Firefox installer actually goes faster in this one, but it still doesn't complete the installation.

Link to comment
Share on other sites

Up until now I was able to access the test machine through local network even when it was stuck at boot time; after later commits (zip package downloaded on April 5th at about 1:40 UTC) I can no longer access the machine, although it appears in the Network Neighborhood list. And yes, it still hangs at boot, but I cannot get the log directly anymore. :(

Link to comment
Share on other sites

It's 595 lines - none more, none less.

I always delete the whole existing folder and then unpack the one from the zip (can't remember how many times I said that already). I never use Explorer and I know how to manipulate files and folders.

Files are always deployed by the installer i build. A few posts up there's a package with both installers, you said you'd check them out. All files are deployed correctly - simply replacing kexbases.dll makes everything work.

Virtual machine is too complicated - I have spare hardware to test with, why waste HDD space? I can get the log in Safe Mode, but it's useless, it always says the same thing, over and over again. Just the line number is changed, it's 298 now, not 296 as it was previously.

Maybe the code needs rebased, maybe you have some particular settings in Visual Studio or in the project, that don't get propagated in the GitHub. I don't know, but fact is everything I build works, except for KernelEx. I've just built Miranda IM 0.10.12.0 this morning, both ANSI and Unicode, on my 98SE machine and the Unicode version works without problems on the XP machine while the ANSI is working on the test machine. That's pretty much code there, if there was something wrong with my setup I'd get errors, crashes, whatever.

Link to comment
Share on other sites

It's 595 lines - none more, none less.

I always delete the whole existing folder and then unpack the one from the zip (can't remember how many times I said that already). I never use Explorer and I know how to manipulate files and folders.

Files are always deployed by the installer i build. A few posts up there's a package with both installers, you said you'd check them out. All files are deployed correctly - simply replacing kexbases.dll makes everything work.

Virtual machine is too complicated - I have spare hardware to test with, why waste HDD space? I can get the log in Safe Mode, but it's useless, it always says the same thing, over and over again. Just the line number is changed, it's 298 now, not 296 as it was previously.

Maybe the code needs rebased, maybe you have some particular settings in Visual Studio or in the project, that don't get propagated in the GitHub. I don't know, but fact is everything I build works, except for KernelEx. I've just built Miranda IM 0.10.12.0 this morning, both ANSI and Unicode, on my 98SE machine and the Unicode version works without problems on the XP machine while the ANSI is working on the test machine. That's pretty much code there, if there was something wrong with my setup I'd get errors, crashes, whatever.

This isn't happening to me at all.. I can't seem to figure out what's going on with your builds. Try to upload your most current build with the newest GitHub repository and I'll see if I have the same problem as you are having.

Edited by coolman
Link to comment
Share on other sites

I've just made the new build, and on shutdown, it just gives me this after clearing the screen:

OgdWZ6H.png

But then it shuts down normally. I thought it might just be a one time thing. But now it's happening every time I shutdown. I can't seem to find the registry key that is causing this.

Anyway, new build:

Download

You're welcome.

Edited by coolman
Link to comment
Share on other sites

Here's a package with both builds, from code pulled right after this commit:

Download

With this build, upon first reboot after installation, I was again able to access the test machine through network, even though it was hung as always showing only the wallpaper and mouse cursor. This time Revolutions Pack 9.7.2 was installed, as I wanted to test if there's any change in behavior (I also have a video issue with 32bit transparency that I wanted to check). Here's the KernelEx log for the Debug build linked above:

resolver_init() 
Stub found @ 0xbffd009c
Loading api configurations
Processing api configuration #0: DCFG1
Loading api library: KEXBASES...
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:199) GDI resources: 88%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:200) System resources: 88%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:201) USER resources: 93%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:209) InputDesktop is NULL, don't allocate desktop handles yet
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\thuni_stuff.c:53) ThunkLayer initialized: gSharedInfo = 0x82471000, hUser16 = 0xBFF8902F, g_hUser32 = 0x16C6
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\input.c:96) InitInputSegment
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:1181) About to switch desktop
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:1248) Switching to desktop object 0x833E4250
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:1302) Switching to desktop 0x24 successful
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:454) Created ppi 0x833e4644 for Process 0x81c073d0 because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:465) Created pti 0x833e4670 for Thread 0x81c075ac because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:575) Input desktop has changed, redrawing screen... successful
loaded @ 0xbfa40000...
ok
Loading api library: KEXBASEN...
loaded @ 0x7d000000...
ok
Parsing named api overrides
Processing api configuration #1: WIN95
Parsing named api overrides
Processing api configuration #2: WIN98
Parsing named api overrides
Processing api configuration #3: WINME
Parsing named api overrides
Processing api configuration #4: NT40
Parsing named api overrides
Processing api configuration #5: NT2K
Parsing named api overrides
Processing api configuration #6: WINXP
Parsing named api overrides
Processing api configuration #7: WIN2K3
Parsing named api overrides
Processing api configuration #8: VISTA
Parsing named api overrides
Processing api configuration #9: WIN2K8
Parsing named api overrides
Processing api configuration #10: NOHEAP
Parsing named api overrides
No more api configurations
Default api configuration is: DCFG1
API extensions are by default: enabled
resolver_hook()
Initialized successfully
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:454) Created ppi 0x833928e0 for Process 0x81c0f658 because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:465) Created pti 0x8339290c for Thread 0x81c0f854 because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:454) Created ppi 0x83392984 for Process 0x81c17c6c because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:465) Created pti 0x833929b0 for Thread 0x81c186c4 because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:454) Created ppi 0x833929ec for Process 0x81c12f4c because it was NULL
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:465) Created pti 0x83392a18 for Thread 0x81c13170 because it was NULL
Loading non-shared apilib: KEXBASEN req. by: MSVCRT.DLL [PID=fffe87d1]
Post-Initializing KEXBASEN.DLL [PID=fffe87d1]
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x0063f728,Ěńc,-1079706368,0x000004e2,1)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x00000000,(null),0,0x00000000,0)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x0063f728,¬ńc,-1079706368,0x000004e2,1)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x00000000,(null),0,0x00000000,0)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:199) GDI resources: 87%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:200) System resources: 87%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:201) USER resources: 89%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:298) Failed to open window station WinSta0
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\_user32_apilist.c:474) Trying to free some desktops
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\_user32_apilist.c:446) Dereferencing thread's desktop
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\_user32_apilist.c:474) Trying to free some desktops
Loading non-shared apilib: KEXBASEN req. by: MSVCRT.DLL [PID=fffefca5]
Post-Initializing KEXBASEN.DLL [PID=fffefca5]
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x0059f728,ĚńY,-1079706368,0x000004e2,1)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x00000000,(null),0,0x00000000,0)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x0059f728,¬ńY,-1079706368,0x000004e2,1)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\Kernel32\locale.c:222) (0x0418,0x00000000,(null),0,0x00000000,0)
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:199) GDI resources: 87%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:200) System resources: 87%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\main.c:201) USER resources: 89%
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\desktop.c:298) Failed to open window station WinSta0
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\_user32_apilist.c:474) Trying to free some desktops
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\_user32_apilist.c:446) Dereferencing thread's desktop
(D:\free\KernelEx-master_20130407\apilibs\kexbases\User32\_user32_apilist.c:474) Trying to free some desktops

Link to comment
Share on other sites

Hi, I tried to install the latest version of Kernelex posted by Leyok on a clean installation of Windows 98 and the installation is successful!

I then tried to use the MPC (Media Player Classic v6.4.0.1 build 114, version no longer supported for Win98 and it works only with kernelex) but it crashes with an error in the DLL unicows.dll!

In the other configuration I use I installed the kernelex 4.5.1 and does not give me any problems using MPC (which I use for several years now).

For the test I used a clean version of Win98 with installed direct x 9.0c (used by MPC) and the file unicows.dll (directly from Microsoft).

What should I do?

Thank you for the work you are carrying out!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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