discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HELP] Why dose the Client cannot run?


From: Ma Xiaoming
Subject: Re: [HELP] Why dose the Client cannot run?
Date: Mon, 9 Apr 2012 17:00:56 +0800

Hi,

Sorry, I have already handle the error. In the source code of Client.m, we 
just need to change the code like the following, and the Client could run:

-------------------------------------------------
int main(int argc, char *argv[])
{
    char *personName = argv[1];
    char *returnedNumber;
    id<TelephoneDirectory> proxyForDirectory;

    CREATE_AUTORELEASE_POOL(pool);

    proxyForDirectory = (id<TelephoneDirectory>)[NSConnection
                         rootProxyForConnectionWithRegisteredName: 
@"DirectoryServer"
                         host: @""]; // added this parameter

    ....
}

----------------------------------------

Cheers,

Xiaoming 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]