This appears to be due to way rpcrt4.dll is loaded by ctypes.  If a 
side-by-side assembly has already loaded a version that’s not
compatible with the activation context of Python itself, ctypes will attempt to 
use it anyway.

     Roger

"Blair Hall" <blairdh...@gmail.com> wrote in message 
news:CAJeTVArsN8Vp_e6cnF3yUf6cUC4uHUJ6ggmsKUeDCzcKA_=u...@mail.gmail.com...
I have a small python COM server that worked fine with Excel until I decided to 
import the standard Python 'uuid' module.

Now I get the Windows Runtime error R6034 "An application has made an attempt 
to load the C runtime library incorrectly"


I there anything that I can do to fix this?



--------------------------------------------------------------------------------
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to