Yes, pj_status_t app_init(int argc, char *argv[]) { then pjsua_start(),application callbacks, initlaization of pjsua etc etc } Rachel On Mon, Sep 14, 2009 at 3:50 PM, John Graham <johngavingraham at googlemail.com > wrote: > > I got the above error, when I tried to build pjsua_app.c > > > > mingw/lib/libmingw32.a(main.o):main.c: Undefined reference to 'WinMain at 16 > ' > > > Do you have a main(int argc, char *argv[]) function defined? > > John G > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090914/6e02e672/attachment-0001.html>