使用python调用企微会话存档C_SDK,Init时报错?
import faulthandler
import base64
import ctypes
import json
import os
import Crypto
from Crypto.Cipher import PKCS1_v1_5
from Crypto.PublicKey import RSA
import time
faulthandler.enable()
dll = ctypes.cdll.LoadLibrary(r'.\FinanceSdkDemo\WeWorkFinanceSdk.dll')
new_sdk = dll.NewSdk()
result = dll.Init(new_sdk, cls.CORP_ID.encode(), cls.CHAT_SECRET.encode())
报错: Traceback (most recent call last): File "D:\python_work\提取企微消息test2.py", line 32, in <module> init_status = dll.Init(dll.NewSdk(), corpid_buff, key_buff) OSError: exception: access violation reading 0x00000000FC11C2E0