Thanx Cameron and Mark for your valuable information. If Application
services and carbon gives all the functionality I think I can go
with that
by excluding X11.
and can you help me some equalent functions of CG such as
XOpenDisplay , DefaultScreenOfDisplay ,DefaultScreen ,XGetImage .
I think you misunderstood what I said.
I said that there normally is no reason to use Carbon functions in a
"port" of an X11 program to OS X - you would normally just change the
necessary things at the BSD level.
Apple's document on porting Unix/Linux apps might be useful to you: http://developer.apple.com/documentation/Porting/Conceptual/
PortingUnix/index.html
Also when I try to open XopenDisplay using X11 it returned NULL
error . What
might be the reason for that?
Did you start the X11 server?
--
Cameron Hayne
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden