• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Need help getting FTP to work from within Acrobat 6.0 plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Need help getting FTP to work from within Acrobat 6.0 plugin (From: "Wells, Terry C" <email@hidden>)

  • Prev by Date: Need suggestions regarding accessing system in a LAN through Cocoa
  • Next by Date: Async HTTP stream never gets called n 10.2
  • Previous by thread: Re: Need help getting FTP to work from within Acrobat 6.0 plugin
  • Next by thread: Re: Need help getting FTP to work from within Acrobat 6.0 plugin
  • Index(es):
    • Date
    • Thread