Re: Need help getting FTP to work from within Acrobat 6.0 plugin
Re: Need help getting FTP to work from within Acrobat 6.0 plugin
- Subject: Re: Need help getting FTP to work from within Acrobat 6.0 plugin
- From: Quinn <email@hidden>
- Date: Wed, 16 Feb 2005 11:02:40 +0000
Title: Re: Need help getting FTP to work from within
Acrobat 6.0
At 15:38 -0800 15/2/05, Wells, Terry C wrote:
- I've tried using
CFBundle to import the CFNetwork functions to do FTP. I used the
Apple example: CFFTPSample.c as a starting point, simply renamed
main() to CFFTP_main() and tried calling it with a constructed argv.
Everything seems to work fine up to the point of calling
CFRunLoopRun(). At this time, the program crashes with a
BAD_INSTRUCTION fault. It appears that about 10 layers down into
CoreFoundation and CFNetwork, an invalid function pointer gets called
and jumps into oblivion.
Have you wrapped your callback pointer in Mach-O to CFM glue?
If not, that's probably the cause of your crash. You can see
examples of how to do this in the following two samples.
<http://developer.apple.com/samplecode/CFM_MachO_CFM/CFM_MachO_CFM.html>
<http://developer.apple.com/samplecode/CFMRendezvousSample/CFMRendezvousSample.html>
S+E
--
Quinn "The
Eskimo!"
<http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications,
Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden