Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / January 2006



Tip: Looking for answers? Try searching our database.

My bundle can't locate it's resources???

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Denis @ TheOffice - 23 Jan 2006 20:56 GMT
I am having most difficulties to make my bundle works with it resources.
For some reason when I issue a

      Bundle_Id        = CFSTR("com.MyModule.ds");
      Bundle_Ref     = CFBundleGetBundleWithIdentifier( Bundle_Id );
      if(Bundle_Ref){
         UseResRefNum = CFBundleOpenBundleResourceMap ( Bundle_Ref );
      }
The Bundle_Ref  is always null for some reason.

Please help!
Thanks.
Alwyn - 24 Jan 2006 14:57 GMT
> I am having most difficulties to make my bundle works with it resources.
> For some reason when I issue a
[quoted text clipped - 5 lines]
>        }
>  The Bundle_Ref  is always null for some reason.

Is your bundle listed in the information property-list file (Info.plist)?

Alwyn
Denis @ TheOffice - 24 Jan 2006 17:13 GMT
Thanks,

Yes, But I just realized that it was case sensitive though.

Regards,
Denis

> > I am having most difficulties to make my bundle works with it resources.
> > For some reason when I issue a
[quoted text clipped - 9 lines]
>
> Alwyn
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.