×

Discussion Board

Results 1 to 15 of 15
  1. #1
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    What is Open C ?

    HI!

    All

    i read few things on Open C and, it will be with 3rd sdk fp2.

    i just want to know,

    1. in future will the symbian code is done in open c only?

    2. will Open C use the library that are same as c language?

    3. where i can start to read more about Open C ?

    i visited the following url http://www.forum.nokia.com/main/reso...logies/open_c/
    and the link given on the page are not currently working.

    please send me some more link

    Thanx and Regards,
    KKrish

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: What is Open C ?

    1. in future will the symbian code is done in open c only?
    I donot think that in future only OpenC will over ride SymbianC++. They both are developed for diffident reasons and also i donot think at any time OpenC Will have GUI capability.

    2. will Open C use the library that are same as c language?
    OpenC's Goal is to bring the Common C languages to Symbian Platform.

    Correct if i am Wrong.

  3. #3
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,492

    Re: What is Open C ?

    Quote Originally Posted by kkrish
    HI!

    All

    i read few things on Open C and, it will be with 3rd sdk fp2.

    i just want to know,

    1. in future will the symbian code is done in open c only?

    2. will Open C use the library that are same as c language?

    3. where i can start to read more about Open C ?

    i visited the following url http://www.forum.nokia.com/main/reso...logies/open_c/
    and the link given on the page are not currently working.

    please send me some more link

    Thanx and Regards,
    KKrish
    1. If you check what OpenC promises, it will make a developers life a little simpler, but will not replace Symbian C++.

    2. Read this, you will find the answer to your second question and third.

    3. Google away..there is tons out there already!!

    Cheers
    Neil

  4. #4
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: What is Open C ?

    does open c work for carbide not for code warrior because i read everything will on carbide.


    will it be compactable with codewarrior also?


    Regards,
    KKrish

  5. #5
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,492

    Re: What is Open C ?

    Quote Originally Posted by kkrish
    does open c work for carbide not for code warrior because i read everything will on carbide.


    will it be compactable with codewarrior also?


    Regards,
    KKrish

    Both, Carbide and CodeWarrior are IDEs and are used for development in Symbian(I know you are more veteran in it than me..am just making a logic...no offence). IMHO, it should work in both(I dont have any document proof to back the same...its just my personal opinion)

    As far as I understand it, Carbide will be made so strong, that developers migrate to Carbide and CodeWarrior can be eventually phased out(although there might always be a small segment of loyalists).

    Cheers
    Neil

  6. #6
    Super Contributor
    Join Date
    Nov 2005
    Location
    London
    Posts
    584

    Re: What is Open C ?

    KKhrish - you may also want to take a look at a couple of Forum Nokia blog postings for additional discussion about Open C:

    https://blogs.forum.nokia.com/view_entry.html?id=401
    http://blogs.forum.nokia.com/view_entry.html?id=424

  7. #7
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: What is Open C ?

    it goods to see all your reply.


    is any final date is annonce for releasing of 3rd sdk fp2.



    Warm regards,
    KKrish

  8. #8
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Re: What is Open C ?

    Quote Originally Posted by kkrish
    HI!


    1. in future will the symbian code is done in open c only?

    2. will Open C use the library that are same as c language?

    3. where i can start to read more about Open C ?
    KKrish
    Hi kkrish,
    Some useful questions.
    1. in future will the symbian code is done in open c only?
    The future is a seamless usage between Symbian and Open c which supports POSIX.

    This Open approach to software will make it easier to port original 'veteran' code. The Open C will allow porting of the 'engine' software and the Symbian code will provide the GUI windowing support for the screen.

    Much of the Linux code will run where the "printf" statement is changed to a "sprintf" statement and resulting string sent to screen via Symbian form list.

    There has been a tradition of people creating translators to carry out this repetitive code translation. This would be wonderful if this could be an add on for Carbide.

    2. will Open C use the library that are same as c language?
    Most definitely YES. I have found Open C much easier than C++ and of course the amount of POSIX and ANSI standard software which simply complies with mininal change on the internet for free is amazing.

    3. where i can start to read more about Open C ?
    Well this is not so much read as listen to video, in english.
    This was a webcast given some time ago.
    This video introduces Open C for S60, including POSIX libraries. The presentation assumes no prior Symbian OS development experience.
    http://www.forum.nokia.com/info/sw.n...ction.wmv.html

    Jim
    Last edited by jimgilmour1; 2007-03-09 at 12:16.

  9. #9
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: What is Open C ?

    how can i create UI in open c application. can any one tell me any document and example.

  10. #10
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,492

    Re: What is Open C ?

    Quote Originally Posted by kkrish
    how can i create UI in open c application. can any one tell me any document and example.
    As I understand it, your UI will still be in Symbian, which will be talking to your c-application which would be ported.

    Hope I am right!! Corrections welcome!

    Cheers
    Neil

  11. #11
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: What is Open C ?

    Thanx for the reply,

    so, i want to used open c in my helloworld application.

    i just want to display "Hello World" from the option how can i embid the following code into this

    int main(void)
    {
    printf("Hello World");
    return 0;
    }

  12. #12
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,492

    Re: What is Open C ?

    Quote Originally Posted by kkrish
    Thanx for the reply,

    so, i want to used open c in my helloworld application.

    i just want to display "Hello World" from the option how can i embid the following code into this

    int main(void)
    {
    printf("Hello World");
    return 0;
    }
    Am myself installing the plugin now...and I notice there is a openhello1 as one of the examples which does exactly as above. There are other examples there too, which when studied might gives us an idea how to do it

    Good Luck to us
    Cheers
    Neil

  13. #13
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: What is Open C ?

    you are right Symbian_Neil

    but i would like to both the thing into one application.

    my application is ui based and it have ui in symbian and functionality in open C so i just want to to add open C code in a stander manner to achieve this thing.

    i hope you give me point to point answer.

  14. #14
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,492

    Re: What is Open C ?

    Hi,

    The above question stands

    Scenerio: I have somefile.c and I have a Symbian C++ helloworld generated. How do I use this somefile.c, lets say, in the appUI command1.

    Any suggestions, explainations, documents..anything would be good.

    Note: I have tried understanding the examples that come with the open C plugin to implement the above, but I havent really made any sense to myself.

    Any help..would be highly appreciated.

    Thanks in advance.

    Cheers
    Neil

  15. #15
    Registered User
    Join Date
    Apr 2007
    Posts
    4

    Re: What is Open C ?

    Quote Originally Posted by Symbian_Neil
    Hi,

    The above question stands

    Scenerio: I have somefile.c and I have a Symbian C++ helloworld generated. How do I use this somefile.c, lets say, in the appUI command1.

    Any suggestions, explainations, documents..anything would be good.

    Note: I have tried understanding the examples that come with the open C plugin to implement the above, but I havent really made any sense to myself.

    Any help..would be highly appreciated.

    Thanks in advance.

    Cheers
    Neil
    If you only want to call a function from the somefile.c, you need to have a header file for it. Then you can simply include the header into your Symbian C++ code

    Code:
    extern "C" {
    #include "somefile.h"
    }
    Then you can just call the functions. You may need to convert returned values into descriptors if you want to use them in Symbian C++.

    -Kari

Similar Threads

  1. Open C FAQ
    By Nokia Ron in forum Open C/C++
    Replies: 4
    Last Post: 2010-10-01, 09:02
  2. XHTML : File open Error
    By as_vijay_anand in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2006-09-19, 06:36
  3. Replies: 3
    Last Post: 2005-10-12, 05:26
  4. can't open Nokia MMS Java Library
    By barnsley in forum General Messaging
    Replies: 3
    Last Post: 2004-08-28, 05:44
  5. Open various file's...
    By andreas84 in forum Symbian
    Replies: 1
    Last Post: 2003-10-27, 16:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •