Category : window

I am using this example: https://docs.microsoft.com/en-us/windows/win32/wmisdk/example–getting-wmi-data-from-the-local-computer To get WMI Queries working. It works fine as part of a console app but when I move the code into a function and call it from DLLMain the ConnectServer function never returns. I have tried running the function in another thread. Seems this is an issue that others ..

Read more

I am trying to find a way to create a c++ program (for live forensic analysis purposes), that can read Windows registry file(s) (e.g. SAM, Software, Amcache.hve etc.) from running system. Example of the filepath – C:WindowsSystem32configSoftware. I have already tried several options (ifstream, filesystem, CFile, File System Redirector, also with administrator privileges), but nothing ..

Read more

Currently I am trying to create a function to implement modularization in the code like below. [Code 1] float CBitmapWaterMark::DrawPrintInfoText(HDC hDC) { StringFormat* stringFormat = new StringFormat(); // I’m trying to pass a stringFormat object to a member function of a class(CBitmapWaterMark). stringFormat->SetAlignment(StringAlignmentNear); stringFormat->SetLineAlignment(StringAlignmentNear); TestFunction(stringFormat) //help point 1 } VOID CBitmapWaterMark::TestFunction(StringFormat* stringFormat) // help point ..

Read more

When my PyCharm was in version 2021.1, the tool window bars had titles like this: https://i.stack.imgur.com/KreJ4.jpg But when it got updated to 2021.2.3, the tool window bars only show the icons but not titles: https://i.stack.imgur.com/Afqjp.png Also the Quick Access button has disappeared. How can I get back the default layout of tool window bars with ..

Read more