hard iphone question

Previous topic - Next topic

djtoon

hi!
im adding some cusome lib to my game and i need to add a pice of code after this line:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

where is it or..
how can i call it with glbasic ?

10x

djtoon

i need to call a function on external "C" as soon as the app launches
is there a way?

10x

Moebius

#2
IMPORT command:
Code (glbasic) Select
IMPORT "C" void MyFunction()
IMPORT "C" int MyFunction2(int)

Search the forums and look in help for more examples.

Edit:  NVM if you need to call it before GLBasic has started up....
Endless Loop: n., see Loop, Endless.
Loop, Endless: n., see Endless Loop.
- Random Shack Data Processing Dictionary

Kitty Hello

There's no way to do that. Send me a PM about the details.