This forum is deprecated.
Hello everyone,we have to port an old windows driver from 32Bit to 64Bit.This requieres the use of the CfgMgr32.dll.There once was a delphi-implementation of the CfgMgr32.h, but in the current version RAD 10.3 I can't find it.So is the CfgMgr32.dll somehow still supported in RAD 10.3 or later?If so, how can I use it?Kind regards,Marcel.
I dont use CBuilder only Delphi (RAD Studio 10.3.3 Rio), but i have this file in:
Well partly.I wanted to implement the driver in Delphi and I wanted to know if there is a delphi Port of that Header-File you suggested.Sure I can write a little dll in c, that wraps the calls to the CfgMgr32.dll but that would be unecesary overcomplicated if delphi would support it out of the box.You actually can find an old version of CfgMgr32.pas on GitHub, but I don't want to use an inofficial version of a Windows-Kernel dll interface.https://github.com/project-jedi/jvcl/blob/master/jvcl/run/CfgMgr32.pas
try install a trial edition from Embarcadero RAD 10.3.3 Arch or Enterprise and see in "sources" folder files or in ...include\windows\sdk folder
I use the Version "Embarcadero® Delphi 10.3 Version 26.0.36039.7899" and there is no CfgMgr32.pas anywhere. (I even did a search for it on the whole C-Drive) Only the CfgMgr32.h files are found.
There is a SO post about using the CfgMgr32.pas file from the Project-JEDI.
Probably should stick to that unless you just want to roll your own. In the end, it think you'd end up with the same outcome or similar to what has already been done in the JEDI version.
There's also a blog post about using C++ from Delphi:
Hope this helps.