Skip to content
Advertisement

Tag: dll

how to write C++ DLL file for python correctly?

this is my test.cpp file.(I also used makefile to create dll file) when I run following code in python everything is ok and I get this output from python. but when I change my test.cpp in this way(I just uncommented iostream): I get the following error from python. this is also my dependencies enter image description here by the way

Adding RevitAPI.dll into a Visual Studio

When I’m adding a RevitAPI.dll file into Visual Studio this message has appeared (The selected component could not be browsed) anyone could support me? Answer Have you manually navigated to the directory containing Revit.exe and selected the Revit API .NET assembly there? Have you set the correct version of the .NET framework? Revit 2021 requires .NET 4.8. If both answers

How to call Wine dll from python on Linux?

I’m writing a python script in Linux, and need to call some Windows functions available in Wine. Specifically, AllocateAndInitializeSid and LookupAccountSidW, to determine who is logged in to a remote Windows computer. These functions are part of advapi32.dll in Wine (edit: using the answers, I was able to call the function, but LookupAccountSidW only works on the local computer). How

Advertisement