Mapped DataTypes of Python to .NET
9 Jun
2021
9 Jun
'21
3:13 p.m.
I have a 32 bit .NET DLL - so I made use of PythonNet Module <http://pythonnet.github.io/> and msl.loadlib.server32 module <https://msl-loadlib.readthedocs.io/en/latest/_api/msl.loadlib.server32.html> as I am using Python 64 bit version. I am a just a beginner in this domain - and below is my query. Thru ILSpy I can see the below signature: [DllImport("DISCOM.DLL", CharSet = CharSet.Unicode)] public static extern uint CancelRequests(IntPtr data); I tried opening DISCOM.DLL via ILSpy and Pythonnet but could not do so - how can we call the above API and create a Python datatype of IntPtr. Please let me know how to Convert Python data types to .NET format and vice versa Regards, Prakash
1260
Age (days ago)
1260
Last active (days ago)
0 comments
1 participants
participants (1)
-
Satya Prasad