Giter VIP home page Giter VIP logo

Comments (9)

mxmauro avatar mxmauro commented on June 28, 2024 1

DbGenerator.exe and DbGenerator64.exe should be there. If they aren't, recompile all subprojects in Deviare solution going to Build Menu -> Batch Build and selecting all release items.

from deviare2.

mxmauro avatar mxmauro commented on June 28, 2024 1

Sorry, I miss to say something. When you start from scratch or from the minimal header sample, you must use it like if it were the preprocessed header.

Use: build_db32.bat C:\path\your-header.h directly from DbBuilder folder.

from deviare2.

mxmauro avatar mxmauro commented on June 28, 2024

When generating a custom DB we recommend to create a custom header from scratch and add only the headers and/or definitions of APIs you want to hook.

from deviare2.

pbst7 avatar pbst7 commented on June 28, 2024

I'm trying to create my custom db, I've generated the files preprocessed32W.h and preprocessed32A.h, but without using the bin\HeaderFix.exe because I can't find it anywhere. Then when using DbGenerator I got a long list of errors even if I was using the default headers without modifying anything. Can you please explain me the correct way to generate a db just to hook ncrypt.dll and bcrypt.dll (adding the missing headers)? Thanks for the help

from deviare2.

pbst7 avatar pbst7 commented on June 28, 2024

Thanks, but now without modifying the headers (just testing the db generation), if I execute BUILD32 Full in HeaderBuilder, then build_db32.bat in DbBuilder, I get Error: Compilation failed with the attached log. Am I doing something wrong? I'm using VisualStudio2015 on Windows 8.1 and these errors are always the same indipendently from input headers (base one included).
DbGenerator32.txt

from deviare2.

mxmauro avatar mxmauro commented on June 28, 2024

Depending on which WDK you have installed and the modifications you did, the errors you will have. If you see the original header, you can notice #include are not in alphabetical order and there are some definitions in the middle to avoid these kind of issues.

It is a trial and error like if you were compiling your own application.

And this is the major reason I recommend to start from an empty header (or use the provided minimal header sample) and add only the headers you need.

At last, NCryptprotect.h may depend on another header. You must check this too.

from deviare2.

pbst7 avatar pbst7 commented on June 28, 2024

Thanks Mauro for your help, the problem is that I get those errors even with the empty header. You can see the zip file (It's just the empty header and results). Do you think I have to change WDK to avoid that list of errors?
MinimalDbGen.zip

from deviare2.

pbst7 avatar pbst7 commented on June 28, 2024

Thanks @mxmauro, now everything works fine. I was building the header in the wrong way, not like you have just written because I haven't read that anywhere. I hope these posts can be useful for other developers.

from deviare2.

mxmauro avatar mxmauro commented on June 28, 2024

You are welcome.

from deviare2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.