untrusted dynamic module: win32api

Enoch enoch at setim.org
Sat Sep 7 11:17:08 EDT 2002


Hi,

I'm a Softimage|XSI user, a 3D graphic software that support ActiveX
Scripting on win32 platforms.

This software integrate a 'NetView', an integrated internet explorer.

To be able to communicate between the NetView and XSI I have to create the
XSI.Application object.

Works fine with VBScript and JScript, however I'm running into a problem
trying to make it work with Python.

Basicaly I have to include in my html page the following code:

<SCRIPT Language="Python">
import win32com.client
w = win32com.client.Dispatch("XSI.Application")
</SCRIPT>

But when I load this page into the NetView ( or even in an external
brother ) I have this error message:

'ImportError: untrusted dynamic module: win32api'

Is there any way to 'force' the import ?

Sorry if this has been discussed earlier, I'm relatively new to Python.

Tia.


Guy.


3d animator / td
grabiller at 3dvf.net
http://grabiller.3dvf.net






More information about the Python-list mailing list