Re: CallBack function in C Libraries.

2014-03-21 Thread fiensproto
Le vendredi 21 mars 2014 16:50:18 UTC, Mark H. Harris a écrit : > > def TheProc(): <== you moved c_int from here ... > > > fpgui.fpgFormWindowTitle(0, 'Boum') > > > return 0 > > CMPFUNC = CFUNCTYPE(c_int) < and placed it here ... > > > ... it wa

Re: CallBack function in C Libraries.

2014-03-21 Thread fiensproto
> I'm afraid it doesn't help that GoogleGroups has badly mangled the > > formatting of your code. I'm not quite sure what to suggest since it > > isn't one of the usual problems, but you might find reading > > https://wiki.python.org/moin/GoogleGroupsPython helpful. It will > > certai

Re: CallBack function in C Libraries.

2014-03-20 Thread fiensproto
> Give the function call its required argument and the error will go > > away... well, at least that one. Yep, many thanks for the answer. But... im totally beginner with Python. I develop in Pascal and C and want to understand the basics of Python. In concrete, what must i change in the code ?

CallBack function in C Libraries.

2014-03-20 Thread fiensproto
Hello. I want to use a c library. It is a complete graphic widget set. Here code working. But i have problem with the callback function. The callback is executed while ClikOnForm is executed but i get a error message (see after code ) _