Comments (4)
As a quick fix, would it work to #define deprecated(x) deprecated
? That declspec has no bearing on the calling convention or name mangling anyway.
from deviare2.
As a quick fix, would it work to #define deprecated(x) deprecated? That declspec has no bearing on the calling convention or name mangling anyway.
I'll give that a try and report back.
BTW, VS2017 also can not rebuild the DB. The problems are different, and include a number of broken header files in the SDK 10.0. Probably worth waiting on that until 2017 is more complete.
from deviare2.
As a quick fix, would it work to
#define deprecated(x) deprecated
? That declspec has no bearing on the calling convention or name mangling anyway.
Adding that #define to the start of the preprocessed32W.h file does work to remove all of the deprecated errors.
This is using \Windows Kits\8.1 for the header files, instead of the \Windows Kits\10.0
There are still a handful of errors as:
Loading configuration file... OK
----------------------------------------
Compiling header file (c:\Users\bo3b\Documents\Code\Deviare2\Database\HeaderBuilder\Full\output\preprocessed32W.h)...
c:\Users\bo3b\Documents\Code\Deviare2\Database\HeaderBuilder\Full\output\preprocessed32W.h:22959: error: expected initializer before 'void'
c:\Users\bo3b\Documents\Code\Deviare2\Database\HeaderBuilder\Full\output\preprocessed32W.h:218955: error: two or more data types in declaration of 'strtold'
c:\Users\bo3b\Documents\Code\Deviare2\Database\HeaderBuilder\Full\output\preprocessed32W.h:218956: error: two or more data types in declaration of '_strtold_l'
c:\Users\bo3b\Documents\Code\Deviare2\Database\HeaderBuilder\Full\output\preprocessed32W.h:219107: error: two or more data types in declaration of 'wcstold'
c:\Users\bo3b\Documents\Code\Deviare2\Database\HeaderBuilder\Full\output\preprocessed32W.h:219108: error: two or more data types in declaration of '_wcstold_l'
c:\Users\bo3b\Documents\Code\Deviare2\Database\HeaderBuilder\Full\output\preprocessed32W.h:2009356: error: declaration of C function 'HRESULT GetDeviceID(UINT8*, UINT32, unsigned int*, INT32*)' conflicts with
c:\Users\bo3b\Documents\Code\Deviare2\Database\HeaderBuilder\Full\output\preprocessed32W.h:458334: error: previous declaration 'HRESULT GetDeviceID(const GUID*, GUID*)' here
c:\Users\bo3b\Documents\Code\Deviare2\Database\HeaderBuilder\Full\output\preprocessed32W.h:2062672: error: declaration of 'TextEditChangeType UiaTextEditTextChangedEventArgs::TextEditChangeType'
c:\Users\bo3b\Documents\Code\Deviare2\Database\HeaderBuilder\Full\output\preprocessed32W.h:2043235: error: changes meaning of 'TextEditChangeType' from 'enum TextEditChangeType'
Error: Compilation failed
Mostly I'm not worried about missing a few of those calls in the DB, so commenting them out is an OK temporary solution.
from deviare2.
With a bit of manual trickery, setting the Include path for cl, I forced it to use the \Windows Kits\8.0
This is older of course, and not necessarily what people would want. We have to use the 8.0 headers for our 3Dmigoto tool.
Running the build32.bat full, and build64.bat full, and then build_db32.bat, that still fails with a handful of the same errors:
Loading configuration file... OK
----------------------------------------
Compiling header file (c:\Users\bo3b\Documents\Code\Deviare2\Database\HeaderBuilder\Full\output\preprocessed32W.h)...
c:\Users\bo3b\Documents\Code\Deviare2\Database\HeaderBuilder\Full\output\preprocessed32W.h:215809: error: two or more data types in declaration of 'strtold'
c:\Users\bo3b\Documents\Code\Deviare2\Database\HeaderBuilder\Full\output\preprocessed32W.h:215810: error: two or more data types in declaration of '_strtold_l'
c:\Users\bo3b\Documents\Code\Deviare2\Database\HeaderBuilder\Full\output\preprocessed32W.h:215961: error: two or more data types in declaration of 'wcstold'
c:\Users\bo3b\Documents\Code\Deviare2\Database\HeaderBuilder\Full\output\preprocessed32W.h:215962: error: two or more data types in declaration of '_wcstold_l'
Error: Compilation failed
These are actually easy enough to fix, the processing created a function like:
int double __cdecl strtold( const char * _Str, char ** _EndPtr);
Which doesn't make sense of course. If I change that in the preprocessed32W.h file to long double then it works.
Don't know if this is helpful, but thought the extra details might help someone.
from deviare2.
Related Issues (20)
- winword hangs at startup HOT 12
- Missing external. HOT 1
- Placing hooks from .net dll cause hook connection to die
- how to hook fastprox.dll? HOT 7
- Nektra.Deviare2 not found HOT 2
- logging/printing all api calls of a hooked process
- Hooking undocumented functions and adding new functions into nektra's database HOT 21
- NktSpyMgr does not return process HOT 6
- Antivirus blocks hooking HOT 3
- Question about Deviare-InProc HOT 1
- How to Hook a process as soon as it starts and check if the hook is active.
- online documentation gone
- contacts page does not work HOT 1
- Deviare DB rebuilt error HOT 1
- appcrash on "Remove All Hooks" with CSharpConsole HOT 5
- CNktDbModuleImpl::DbFunctions
- sample project of external file access monitor HOT 1
- How to hook `sublime` function? HOT 1
- [Python] how to use CreateHookForAddress? HOT 1
- Compiling 'CRegistryPlugin' for 'x86'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deviare2.