Re: Mac development for Notes API
Re: Mac development for Notes API
- Subject: Re: Mac development for Notes API
- From: "Chuck Connell" <email@hidden>
- Date: Fri, 28 Apr 2006 08:46:09 -0400
- Organization: CHC-3
Thanks for your ideas Steve. (I hope you don't mind me copying the list in
reply. This discussion might be useful to all.)
- I am using my own main() routine, not NotesMain. I am doing a Carbon
project in Xcode.
- The error is immediately on the link phase in Xcode. It fails because the
linker does not recognize the format of the file "NotesLib" that I am
attempting to link with. I believe I am emitting Mach-O format but NotesLib
is CFM format.
- Are you saying that I can tell Xcode to create/use CFM format objects? If
so, that might solve my problem. I would then be creating and linking with
the same format....?
- I am aware of the struct alignment issues, but figure I'll solve that
problem once I can get the darn thing to link.
Thanks again,
Chuck Connell
781-939-0505 (office)
http://www.chc-3.com -- My home page
http://www.DominoAdministration.com -- Outsourced administration services
for Domino and Notes
http://www.DominoSecurity.org -- The best source for security information
about Domino and Notes
(NOTE: I use a spam filter for inbound mail. In some cases,
this filter rejects legitimate messages. If I do not answer
your mail, please call me on the phone.)
----- Original Message -----
From: "Stephen Stein" <email@hidden>
To: <email@hidden>
Sent: Thursday, April 27, 2006 8:29 PM
Subject: Mac development for Notes API
Charles,
I don't work for IBM but I know a little about this.
I assume you're already doing a Carbon-based CFM project in Xcode.
Understand that the Notes API will be Codewarrior-based. So things like
structure packing are important. If I recall correctly, structs are
2-byte packed, not 4.
What sort of errors are you getting? Are you linking successfully? If
so, how far do you get running the thing?
What are you using for a main? Are you just exporting NotesMain for the
notes0.a to link up to?
- Steve
_______________________________________________
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