Page 1 of 1

Error: Bad parameter type

Posted: Thu May 26, 2016 9:40 am
by gerd
Hello everybody,

I do have a problem with the following line:
g_signal_connect_data_(*Widget, @Signal.s, Function, user_data.i, 0, 0)

Since PureBasic 5.4.0 I get an error on this line. The error says: Bad parameter type: a string is expected.

I do not even know which part causes the error.
With older versions of PureBasic I don't get this error when using the exactly same code.

Any help is appreciated.

Thank you

Re: Error: Bad parameter type

Posted: Thu May 26, 2016 10:06 am
by ts-soft
Without testing, but the errormessage is really clear! Change @Signal.s to Signal.s!