Re: How make a cocoa lib wich create a window ?

2008-09-24 Thread rouanet brice
Hi, thanks, when I launch a simple app with this code it works : #import Cocoa/Cocoa.h #import MyOgView.h int main(int argc, char *argv[]) { //use TransformProcessType to transform non gui processs in gui process //voir -[NSApplication runModalForWindow:]. NSAutoreleasePool *pool

Re: How make a cocoa lib wich create a window ?

2008-09-23 Thread Ken Thomases
On Sep 23, 2008, at 11:41 PM, rouanet brice wrote: thanks, when I launch a simple app with this code it works : #import Cocoa/Cocoa.h #import MyOgView.h int main(int argc, char *argv[]) { //use TransformProcessType to transform non gui processs in gui process //voir

Re: How make a cocoa lib wich create a window ?

2008-09-19 Thread Ken Thomases
On Sep 18, 2008, at 11:38 PM, rouanet brice wrote: I work on a projetc where the executable haven't GUI but I can launch somme gui window with plugins. test - no gui application -plugin -triangle - this plugin display a triangle in a cocoa window -rectangle - this plugin display a

How make a cocoa lib wich create a window ?

2008-09-18 Thread rouanet brice
Hi, I work on a projetc where the executable haven't GUI but I can launch somme gui window with plugins. test - no gui application -plugin -triangle - this plugin display a triangle in a cocoa window -rectangle - this plugin display a rectangle in a cocoa window All plugins works in