• 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
Initialization Routine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Initialization Routine


  • Subject: Initialization Routine
  • From: Randy Croucher <email@hidden>
  • Date: Wed, 25 Feb 2004 09:21:07 -0800

Hello,

I am building a dynamic library and want to have a function called when the library is first loaded. If I set the "Initialization Routine" to something, like FooInit, I get a link error (undefined FooInit) even though I have defined the function (void FooInit()).

What is the prototype for this function? Or is there a different way to do this?

Randy
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Initialization Routine
      • From: Andrew Kimpton <email@hidden>
  • Prev by Date: Re: Hiding a warning?
  • Next by Date: Re: Initialization Routine
  • Previous by thread: Handy tip for separate build location
  • Next by thread: Re: Initialization Routine
  • Index(es):
    • Date
    • Thread