New submission from twinkim2 <twink...@hanmail.net>:

I just try to import ./so created by c language.
However , if some c function library is added in c souce code such as "fopen" 
and "sscanf" related with stdio , runtime error is happend like as below.
==================================================================
Traceback (most recent call last):  File "D:\python_test\c_library_test.py", 
line 8, in <module>
    adder = CDLL('./_adder.so')
  File 
"C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\ctypes\__init__.py", 
line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] can't fine Module.
===================================================================
Please give your guide to fix this issue.

----------
components: ctypes
messages: 311398
nosy: twinkim2
priority: normal
severity: normal
status: open
title: CDLL : Can't fine module
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32738>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to