• 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
Beginner question:a static library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Beginner question:a static library


  • Subject: Beginner question:a static library
  • From: Norio Ota <email@hidden>
  • Date: Tue, 5 Oct 2004 10:54:24 +0900

Hi,

I'm trying to re-make the static library using Xcode which has been once made by CodeWarrior.

The definition is the following:

#pragma export on
class MyClass
{
public:
  MyClass();
  virtual ~MyClass();

  inline void DoJob();
};

inline void MyClass:DoJob()
{
...
}
#pragma export off


I could build the library, however, while I built an application using the library an error like it can't recognize the class came out. It's likely that I set the proper header file path for the class's definition file.


I'd like to know at first whether the definition above is correct for Xcode?
Second is it okay to set the Header Search Paths to the definition file's location?
Third should I add the definition file to the application project?


Thank you,
Norio Ota

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: using std templates with xCode
  • Next by Date: Beginner question: Build tab of Info dialog
  • Previous by thread: Re: using std templates with xCode
  • Next by thread: Beginner question: Build tab of Info dialog
  • Index(es):
    • Date
    • Thread