Hi ,
 
i heard of py2exe only recently.
i have an application that uses ctypes to load a DLL.
this application imports several files. Its main file is "App.py".
 
i tried doing in py2exe but getting some errors.
My setup.py is :

from distutils.core import setup
import py2exe

setup(name='App',
      version='1.0',
      description='My Application',
      windows=['App.py'],
     )

But iam getting the followong errors...
 
 
Traceback (most recent call last):
  File "App.py", line 31, in ?
  File "SampleApp.pyc", line 43, in ?--------------------------------------------------------->this file is imported in App.py. It is in this file that the dll is called and the operations are done.
  File "ctypes\_loader.pyc", line 200, in __getattr__
  File "ctypes\_loader.pyc", line 170, in load_version
  File "ctypes\_loader.pyc", line 121, in _plat_load_version
  File "ctypes\_loader.pyc", line 112, in load
  File "ctypes\_loader.pyc", line 124, in _load
  File "ctypes\__init__.pyc", line 300, in __init__
WindowsError: [Errno 126] The specified module could not be found
 
i really don't understand what is teh problem. Is it because of the i'm calling the dll .
I am calling it as   " var= cdll.MyDll ". It is a working format. Any suggetsions? This is the line number 43 in SampleApp.py.
If this is the problem can anyone tell a suitable solution for this.

--
Regards,

Shine Anne