×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    384

    Question [moved] popen in unix & symbian

    hi all,

    I m trying to port an ocr code to symbian.
    there is an api popen used in unix. i need the equivalent api of this for s60.

    can any body please help me in this regard.

    Please help as it is really very urgent.

    May be i will put the whole source code for OCR after porting on wiki(if successfully run) so that other can also used it.

    So please help me.

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

    Re: popen in unix & symbian

    refer to wiki http://wiki.forum.nokia.com/index.ph...ions_of_Open_C

    Note: that there is a dedicated DiBo Section on OpenC/C++ Please refer to that.

  3. #3
    Registered User
    Join Date
    Nov 2007
    Posts
    384

    Re: popen in unix & symbian

    Quote Originally Posted by skumar_rao View Post
    refer to wiki http://wiki.forum.nokia.com/index.ph...ions_of_Open_C

    Note: that there is a dedicated DiBo Section on OpenC/C++ Please refer to that.
    thanks sir for replying.

    i just used popen3 in sdk for this.
    and made call fdopen to change the int returned by popen3 to convert it in file*

    currently it is compiling but i don't knw whether it works properly or not.

    Also now i m searching for signal of unix to port. Can you help in this regard?

    And please specify where is this dibo section for open c++?

    I m unable to get where it is.

    Thanks

  4. #4
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: [moved] popen in unix & symbian

    Hi,

    Signals are partially supported in the latest version of Open C (1.5beta) and will be more fully supported in then next version 1.5final.

    Give them a try and see if they work for your needs.

    Mark

  5. #5
    Registered User
    Join Date
    Nov 2007
    Posts
    384

    Question Re: [moved] popen in unix & symbian

    Quote Originally Posted by Sorcery-ltd View Post
    Hi,

    Signals are partially supported in the latest version of Open C (1.5beta) and will be more fully supported in then next version 1.5final.

    Give them a try and see if they work for your needs.

    Mark
    Thanks sir.

    Can u please direct me to the Open C (1.5beta) page as i hv nt found a link to this ?


    Also i m getting following error while compiling the code now.

    D:\Symbian\9.1\S60_3rd\EPOC32\include\libc\netinet\in.h:120: undefined identifier 'u_char'
    D:\Symbian\9.1\S60_3rd\EPOC32\include\libc\netinet\in.h:121: undefined identifier 'u_short'
    D:\Symbian\9.1\S60_3rd\EPOC32\include\libc\netinet\in.h:122: undefined identifier 'u_long'
    D:\Symbian\9.1\S60_3rd\EPOC32\include\libc\netinet\in.h:267: undefined identifier 'IMPORT_C'
    D:\Symbian\9.1\S60_3rd\EPOC32\include\libc\netinet\in.h:272: declaration syntax error

    Please take a look on this as well.
    Last edited by dinesh547; 2009-04-20 at 07:32. Reason: just aded few more questions to save space

  6. #6
    Registered User
    Join Date
    Nov 2007
    Posts
    384

    Wink Re: [moved] popen in unix & symbian

    Thanks to all sir,

    I hv got the solution i need to remove the path for libc folder of include in sdk

  7. #7
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: [moved] popen in unix & symbian

    If that version of Open C isn't the one currently being distributed from the Open C/C++ download page, then it is at least distributed with PyS60 latest version.

    I understand there have been some installation problems with it on some devices, which may be the reason for the delay.

    Mark

Similar Threads

  1. [moved] Symbian Test Crieteria for AutoStart Application
    By uday.neo in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 3
    Last Post: 2009-03-02, 14:13
  2. [moved] developing gui in symbian c++
    By saaa_persistent in forum Symbian User Interface
    Replies: 3
    Last Post: 2009-02-28, 07:32
  3. [moved] I want to add farsi language to my symbian
    By hsn.smd in forum General Development Questions
    Replies: 5
    Last Post: 2008-12-23, 08:09
  4. [moved] STL port for Symbian C++
    By yvsandeep in forum Open C/C++
    Replies: 16
    Last Post: 2008-06-18, 16:23
  5. Replies: 2
    Last Post: 2008-06-14, 13:14

Posting Permissions

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