General question on compiling COM with PY2EXE

M

Marc

Hello,

In trying to figure this out, I managed to confuse myself a bit more.
This is my first experience with COM, and I've only learned enough of
it to control an excel spreadsheet. So I don't really know that much
about it.

But could someone answer this question for me. In using PY2EXE to
compile, can I compile it in the normal way as you would anything
else, or do I have to write special wrappers and classes to get it to
work.

I've looked at the examples with PY2EXE. Some of them require special
types of compiles to establish it as a server of different sorts. But
I don't know if simply manipulating an excel spreadsheet falls into a
special category.

I do know that different versions of WIN32ALL and PY2 may be
incompatible, and I am working to resolve those differences. But even
before I get to that point I need to know if I'm going about this the
correct way.

If anyone has ever got this to work I would really appreciate hearing
from them.

Thanks ahead of time,
Marc
 
B

Brad Clements

You should be able to take just about any working script, and py2exe will
make it into an executable.

I'm not sure what you mean by special compiles.. You didn't indicate if you
are a COM client or server. Either will work with py2exe and should be ok
without any change to your base code.
 
T

Thomas Heller

Brad Clements said:
You should be able to take just about any working script, and py2exe will
make it into an executable.

I'm not sure what you mean by special compiles.. You didn't indicate if you
are a COM client or server. Either will work with py2exe and should be ok
without any change to your base code.

While I hope this is true, I assume you get problems when you use
early bound com (with makepy generated modules).

Thomas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,269
Messages
2,571,338
Members
48,028
Latest member
chasetony

Latest Threads

Top