[python-win32] Can not import win32ui module the second time!

2005-06-17 Thread arthur
Hello everyone, I embed python 2.4 in MFC application, and call PyRun_SimpleString function to import win32ui module, but it fails after undergoing a python initialize and cleanup process. The error info is : "System Error: dynamic module not initialized properly".If anyone know the

[python-win32] Problem using MSComm

2005-06-17 Thread Dave Nation
Hello, I hope you can help me. I have a need to use the Microsoft MSComm control, and have written a program to do and it works fine on my PC. However, when I run this program on my target system it fails 'Class not Licensed for Use' when I try to Dispatch('MSCOMMLib.MSComm'). On my PC I

Re: [python-win32] Problem using MSComm

2005-06-17 Thread Michel Claveau
Hi ! I had the same problem. After search : MSComm is not a free componant. You must have a complete licence of VB ou VC++, and use the MS-install procedure. Perhaps, you can use Pyserial, or another Python-library ? @-salutations -- Michel Claveau