Search found 55 matches

by _NN_
Wed Mar 13, 2019 7:42 am
Forum: madCodeHook
Topic: [4.1.2 Problem][RuntimeBroker.exe Process]Injection Failed
Replies: 6
Views: 5979

Re: [4.1.2 Problem][RuntimeBroker.exe Process]Injection Fail

I mean this RuntimeBroker.exe which runs MicrosoftEdgeSH.exe
Untitled.png
Untitled.png (12.54 KiB) Viewed 5759 times
by _NN_
Tue Mar 12, 2019 6:07 pm
Forum: madCodeHook
Topic: [4.1.2 Problem][RuntimeBroker.exe Process]Injection Failed
Replies: 6
Views: 5979

Re: [4.1.2 Problem][RuntimeBroker.exe Process]Injection Fail

FYI RuntimeBroker.exe process which is started from MicrosoftEdge is not eligible to be injected since it is started with Microsoft Only Dll policy.
by _NN_
Mon Oct 22, 2018 10:52 am
Forum: madCodeHook
Topic: Linker warnings in Debug x64 build /MT
Replies: 20
Views: 14245

Re: Linker warnings in Debug x64 build /MT

I see warning with both.
by _NN_
Mon Oct 22, 2018 10:22 am
Forum: madCodeHook
Topic: Linker warnings in Debug x64 build /MT
Replies: 20
Views: 14245

Re: Linker warnings in Debug x64 build /MT

I still see the same warning.
I have it also with madCHook32mt.lib

Good part that now I am able to build dll with SafeSEH without any problem :redBalloon:
by _NN_
Tue Oct 16, 2018 4:29 pm
Forum: madCodeHook
Topic: Linker warnings in Debug x64 build /MT
Replies: 20
Views: 14245

Re: Linker warnings in Debug x64 build /MT

Thanks.
I will try.
by _NN_
Tue Sep 25, 2018 2:52 pm
Forum: madCodeHook
Topic: Linker warnings in Debug x64 build /MT
Replies: 20
Views: 14245

Re: Linker warnings in Debug x64 build /MT

Oh, then it comes from VC itself.
I am not sure what is the reason.
Maybe debug-release.
Can you create a project and add library in debug build ?
by _NN_
Tue Sep 25, 2018 2:45 pm
Forum: madCodeHook
Topic: Linker warnings in Debug x64 build /MT
Replies: 20
Views: 14245

Re: Linker warnings in Debug x64 build /MT

Check the initializers.cpp file. Perhaps something weird there.
Check with VS2017, the warning reproduces easily.
by _NN_
Tue Sep 25, 2018 11:39 am
Forum: madCodeHook
Topic: Linker warnings in Debug x64 build /MT
Replies: 20
Views: 14245

Re: Linker warnings in Debug x64 build /MT

The warning says that one or more of your files are compiled with a different flag.
For instance all files use /MT but one uses /MD.
Is it true ?
by _NN_
Tue Sep 25, 2018 10:41 am
Forum: madCodeHook
Topic: Linker warnings in Debug x64 build /MT
Replies: 20
Views: 14245

Re: Linker warnings in Debug x64 build /MT

There are only few little issues which are not hard to solve.
As well there are workarounds for all of them except this one.
Perhaps you should add documentation page with all workarounds to not search the forum each time.
by _NN_
Tue Sep 25, 2018 10:27 am
Forum: madCodeHook
Topic: Linker warnings in Debug x64 build /MT
Replies: 20
Views: 14245

Re: Linker warnings in Debug x64 build /MT

Demo projects don't have Debug build configuration.
by _NN_
Thu Sep 20, 2018 10:21 am
Forum: madCodeHook
Topic: Image Has Safe Exception Handlers is no supported
Replies: 13
Views: 13090

Re: Image Has Safe Exception Handlers is no supported

Thanks.
C++ library compiles with SafeSEH.
by _NN_
Thu Sep 20, 2018 9:11 am
Forum: madCodeHook
Topic: Linker warnings in Debug x64 build /MT
Replies: 20
Views: 14245

Re: Linker warnings in Debug x64 build /MT

Hello, I tried the new libs and get a about 32 warnings in 32-bit build: Such as: madCHook32mt.lib : warning LNK4099: PDB 'vc80.pdb' was not found with 'madCHook32mt.lib(AtomicMove.obj)' or at 'bin\vc80.pdb'; linking object as if no debug info Workaround advanced setting for linker: /ignore:4099 The...
by _NN_
Mon Sep 17, 2018 8:46 am
Forum: madCodeHook
Topic: def file is outdated
Replies: 6
Views: 5335

Re: def file is outdated

Thank you for clarification.
What is the purpose of def file then ? Shoudn't it be removed from the package ?
by _NN_
Tue Jul 31, 2018 7:51 am
Forum: madCodeHook
Topic: const correctness
Replies: 12
Views: 8605

Re: const correctness

Thank you. I am working enough time with C++ to know what const does and what it doesn't. The main issue that const solves here is code smell cast. string s("ABC"); SendIpcMessage("IPC", const_cast<char*>(s.c_str()), s.size()); Whenever there is const_cast which removes const, th...
by _NN_
Mon Jul 30, 2018 12:57 pm
Forum: madCodeHook
Topic: const correctness
Replies: 12
Views: 8605

Re: const correctness

I say that SAL is not replacement for const and vice versa.
It is better to have both.

const is understood by all compilers since long time ago.
We are talking about compilers consuming MadCHook API , which means mostly compilers for Windows and they all support 'const' keyword.