I have a freenect.pyd
file compiled from c programs however when I import the function and call dir(freenect)
its output is just ['__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__']
there are no functions in there to call. I have checked on a dependency walker and the functions I was expecting to be there are in the module imports and the only export is PyInit_freenect which I think is what is to be expected. So to sum up I am just confused on why the functions I want to call are in there on the dependency walker but I cannot access them.
My directory structure is as follows
site-packages
|-freenect
|-freenect.pyd
|-libfreenect.dll
|-libfreenect_sync.dll
I have the .dll files in there as they are dependencies that showed in the dependency walker. So is it that it is an issue with the .pyd file is corrupted or something or is there an extra initialisation step that I missed.
Cython generated a file called freenect3.c which was then compiled into freenect.dll and then I just renamed the extension to .dll (which I think you can do it seems to me that .dll and .pyd are pretty much the same).
I will provide a screenshot of my dependency walker if that helps at all.
Again any help would be greatly appreciated.