Rhino Python Eidtor Load dll problem

I want to load C:\Sense_LC.dll
So I made as shown below.

from ctypes import *
LC = WinDLL(“C:\Sense_LC.dll”)

Sense_LC.zip (12.4 KB)

Rhino Python Eidtor
Load DLL is not executed

Python 2.79

Load DLL is executed.

I can load ‘Sense_LC.dll’ at Python2.79 IDLE
Why can not I load ‘Sense_LC.dll’ at Python Editor

Help please

Have you tried this in the 32 bit version of Rhino?

I tried this in the 64bit version of Rhino3d.

My guess is that Sense_LC.dll is 32 bit DLL. You may have better luck if you try this in the 32 bit version of Rhino.

You’re right.

Thank you~~ Thank you~~