Calling shm_open from a CFM app.
Calling shm_open from a CFM app.
- Subject: Calling shm_open from a CFM app.
- From: "Corey O'Connor" <email@hidden>
- Date: Fri, 10 Sep 2004 10:01:53 -0700
I'm having trouble calling shm_open from a CFM app. I've successfully
called other MachO functions from this application by using
CFBundleGetFunctionPointerForName. When I call shm_open, however, it
seems to be stomping on memory. So the call fails and shortly
afterwards my app crashes.
I suspect it may have to do with shm_open being variadic. Is there any
special magic I need to perform to call a variadic function? Or do I
have to write a wrapper framework to call this function?
I have tested the same call outside of the CFM application with success.
Thanks!
--
-Corey O'Connor
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.