sounds like you have not init'ed your object so you have a garbage
object.
ie you have done
myConnection = [MCPConnect alloc];
instead of
myConnection = [[MCPConnect alloc] init:...];
in the first case you have simply allocated space for the object, in
the second case you have allocated space AND initialised (instantiated)
it.
I'm guessing, but post the relevant bit of your code if you are having
trouble still.
JOhn
On Wednesday, September 24, 2003, at 08:15 PM, Ezat Hashim wrote:
> Thanks for the previous message. Could anyone tell me how to reply to
> a list posting? I am not familiar with the system...
>
>
> The compile seems to work fine but when I launch my app it crashes
> when I try to instantiate MCPConnect. Using the debugger I see on the
> thread:
>
> #0 0x08807f60 in mysql_character_set_name
>
> and the debugger states that "Program recieved signal: "EXC_BAD_ACCESS"
>
>
>
> Any ideas on what I could be doing wrong?
>
> Ezat
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Mysql-cocoa-users mailing list
> Mys...@li...
> https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users
>
|