I found the source code on MSDN about how to enable / disable privileges in C ++
According to the source code, the linker should contain cmcfg32.lib , but it cannot be found ...
I tried to compile without including this library, it compiles without any error, but when I run my program, it crashes with a fatal error.
So please, if you know which SDK contains cmcfg32.lib let me know;)
Thanks!
It looks (to me) as a minor error in the code. Delete the line:
#pragma comment(lib, "cmcfg32.lib")
Of, if you want the correct library to be linked automatically, change it to:
#pragma comment(lib, "advapi32.lib")
This code connects me seamlessly using version 6.0a of the SDK. "cmcfg" googles as the configuration of the connection manager, I donβt know what it is or why it is needed here.
Just uninstall #pragma.
Source: https://habr.com/ru/post/1305209/More articles:Updating data source on multiple pivot tables in Excel - excelDebugging Native Code - debuggingCreating a stored procedure with a different WHERE clause according to different search criteria without putting everything in a long string - sqlHow to mention real image instead of dummy image in ffmpeg api-example.c - imageHow to generate Objective-C class files from an XML schema? - objective-cMacro does not work in function - macrosBest Practice for Assigning A / B Test Variation Based on IP Address - grailsCreating a web application project using MSBuild from the command line on 64-bit: file with missing targets - web-applicationsHow to configure MySQL connection properties using Spring, Hibernate 3.3 and c3p0? - javahttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1305214/blogs-to-follow-for-programmers-working-on-telecom-domain-mobilesmart-phones-especially&usg=ALkJrhh_Doa1hA56F4pSLdI-Ly6O70nHfgAll Articles