python ctypes windowserror exception access violation reading -


from ctypes import *; import os; import sys;  def callappplugin(url):     pid = os.getpid();     h=windll('somes.dll')     nrst = h.register("18132163","lgsg");     nrst1 = h.init(pid);     nrst2 = h.parse_site(url);     str = string_at(nrst2);     return str; 

i use python 2.7 call dll(some.dll), , functions in dll,like register, init...

the py file run on computer(win10) ok.but cannot run on server(win server 2008), when process init function, throws exception:

windowserror: exception: access violation reading 0xfffffff8 

why? help~


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -