Re: [PyQt] Simple C++ example has undefined symbol

2012-01-25 Thread Gary Fisher
Hi Jens, I want to thank you very much for all your help and especially your patience. Everything is working perfectly now. I apologize for the mixed up code...far too much C and not enough C++ in combination with the old adage "Haste makes waste" !!! Happy New Year Jens. Gary ---

Re: [PyQt] Simple C++ example has undefined symbol

2012-01-22 Thread Jens Thoms Toerring
Hi Gary, On Sun, Jan 22, 2012 at 11:57:44AM -0500, Gary Fisher wrote: > >>> What does "return (static char *)Null" mean? > > My mistake...I meant "return (const char *)Null" ... not staticand yes > I do believe NULL is used in C++. At least the compiler didn't witch at me > for it.

Re: [PyQt] Simple C++ example has undefined symbol

2012-01-22 Thread Gary Fisher
Hi Jens, Thank you for getting back to me, much appreciated. My source code "word.cpp" is attached. OK, just to make sure we're all on the same page here, this is the page containing the recipe I'm following. :-) >>> What d

Re: [PyQt] Simple C++ example has undefined symbol

2012-01-21 Thread Jens Thoms Toerring
Hi Gary, On Sat, Jan 21, 2012 at 08:47:21AM -0500, Gary Fisher wrote: > So, I wrote a little C++ class called word and provided a method > called reverse which does nothing but "return (static char *)Null". What does "return (static char *)Null" mean? There's no 'Null' in C++ and casting to 'stat

[PyQt] Simple C++ example has undefined symbol

2012-01-21 Thread Gary Fisher
Hi, Running Ubuntu 10.4 and Python 2.6.5. Been putzing around with Python for 3-4 years now. Quite comfortable with the language and I'm just branching out to untried areas...like SIP. So, I wrote a little C++ class called word and provided a method called reverse which does nothing but "return