Hi, Thanks lot for your help. I followed the steps you mentioned now. In the PJSIP web site it tells to declare OS macro as PJ_WIN32=1. Does it means we just need to put it in the pre builds events or anything else? I just added PJ_WIN32=1 to the Pre builds events. But when I did that, now it gives an error as follows. error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..." If you can kindly help me on this. Regards, Anuapama Piyumali. ________________________________ From: Mukesh Srivastav <muki_champs@xxxxxxxxx> To: pjsip list <pjsip at lists.pjsip.org> Cc: piyumali2004 at yahoo.com Sent: Tuesday, November 11, 2008 10:37:46 AM Subject: Re: How to declare OS macros Hi, please follow the steps. project propeties buildevents Edit pre builds events add your macros there Have a look @ my small web-page: http://www.geocities.com/muki_champs Regards, Mukesh Kumar, Sr.Software Engineer, Mobile Application Developer. Hyderabad. India. +91-9397845485 (M) ________________________________ From: piyumali pathirage <piyumali2004@xxxxxxxxx> To: pjsip at lists.pjsip.org Sent: Tuesday, November 11, 2008 9:45:56 AM Subject: How to declare OS macros Hi, Can any one please let me know how declare OS macros. I'm using visual studio 2003.net. In the pjsip.org web site it has mentioned that we need to declare OS macros in order to use PJPROJECT with applications. Please tell me in detail how can I do that in visual studio 2003.net. Regards Piyumali -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081110/81392de6/attachment.html>