freakin out over C++ module in python

nephish at xit.net nephish at xit.net
Mon Apr 17 21:49:38 EDT 2006


lo there all !

i have a huge delima, i have to be able to connect to a data server and
recieve info from it. The servers software guys release some visual C++
modules that one can incorporate into a visual C++ project. Which is
great, but i am developing in linux, and only am very familliar with
python. i have tried to use swig to make a python module out of it, and
it wouldn't work. Tried to just compile them with gcc and that would
not work either. So, i have to go thru and try to re-create them in
python. So here is the trick, i don't know anything about C++, but this
has got to work.


and so, i guess the main question i have is.... is there a module or
program that will parse these classes and duplicate them for a python
module ? Some kind of code translator ? Or is that just way out there?

i would go thru it line by line, but i just dont know enough about C++,
how it pulls off a socket connection, etc.. and some of the things i
dont know how to do in python. like how to make an unsigned long init.

whew. so, i guess i could google each line... but if someone has an
easier alternative, i am all ears.. its about 400 lines total.

thanks.
sk




More information about the Python-list mailing list