FROM : Stefan Johansson
DATE : Mon Jan 27 03:19:02 2003
Hi,
I'm not so familiar with Core Foundation, and I got a little confused with
the CF functions.
Basically, I have the following:
runPtr = (void*)CFBundleGetFunctionPointerForName(myBundle, CFSTR("run"));
Here I want to replace the CFSTR("run") with the contents of a NSString
(converted to a CFString of course). The NSString may hold something like
"run".
It seems very simple and I looked at the CFStringCreateWithCString call, but
got a bit confused about the parameters and return type.
A quick help would be appreciated :)
Thanks,
Stefan
DATE : Mon Jan 27 03:19:02 2003
Hi,
I'm not so familiar with Core Foundation, and I got a little confused with
the CF functions.
Basically, I have the following:
runPtr = (void*)CFBundleGetFunctionPointerForName(myBundle, CFSTR("run"));
Here I want to replace the CFSTR("run") with the contents of a NSString
(converted to a CFString of course). The NSString may hold something like
"run".
It seems very simple and I looked at the CFStringCreateWithCString call, but
got a bit confused about the parameters and return type.
A quick help would be appreciated :)
Thanks,
Stefan
| Related mails | Author | Date |
|---|---|---|
| Stefan Johansson | Jan 27, 03:19 | |
| Ronald Oussoren | Jan 27, 03:38 |






Cocoa mail archive

