Add OpenFeint failed. (resolve)

Hi all

Today I try to add OpenFeint(IOS) to cocos2d-x. But failed.

The EAGLView can not receive the touch event after OpenFeint init.
And the OpenFeint view cannot be displayed.
But I try it in Cocos2d, and it is ok.
So I think it is something wrong in cocos2d-x.

I add a few codes to init OpenFeint in AppDelegate. There are only 3 lines. I never change another codes.

My codes:

bool AppDelegate::applicationDidFinishLaunching()
{
    // initialize director
    CCDirector *pDirector = CCDirector::sharedDirector();
    pDirector->setOpenGLView(&CCEGLView::sharedOpenGLView());

    // enable High Resource Mode(2x, such as iphone4) and maintains low resource on other devices.
    // pDirector->enableRetinaDisplay(true);

    // sets landscape mode
    // pDirector->setDeviceOrientation(kCCDeviceOrientationLandscapeLeft);

    // turn on display FPS
    pDirector->setDisplayFPS(true);

    // set FPS. the default value is 1.0/60 if you don't call this
    pDirector->setAnimationInterval(1.0 / 60);

    // create a scene. it's an autorelease object
    CCScene *pScene = GameScene::scene();

    // run
    pDirector->runWithScene(pScene);

    [[OpenFeintManager sharedManager] initProductKey:@"FK5Zpku5TDCzXgSscNA"                                    
                                           andSecret:@"BHu95JrNn2nHuadxu5mYP29rbE9a7fsdQBn0WbNEPoI"
                                      andDisplayName:@"LinkLink2"];



    return true;
}

I have upload my project to my website.
http://www.linkgogame.com/temp/testBox.zip

Look forward to your reply.
Thanks

I have resolved the problem.

Sorry. I have forgot to add resource of Openfeint into my project.:stuck_out_tongue:

Oops… a careless guy…