×

Discussion Board

Results 1 to 14 of 14
  1. #1
    Regular Contributor
    Join Date
    Jun 2007
    Location
    Jakarta, Indonesia
    Posts
    269

    cntvcard.lib not found

    Hi FN

    I want to use the CContactVCardConverter but I can't find the cntvcard.lib anywhere in the SDK. Does anyone know where can I find the lib?

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: cntvcard.lib not found

    Which SDK is that?
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  3. #3
    Regular Contributor
    Join Date
    Jun 2007
    Location
    Jakarta, Indonesia
    Posts
    269

    Re: cntvcard.lib not found

    Hi ltomuta

    It was 3rd MR SDK. I'll try installing other SDK to see if the file is there.

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

    Re: cntvcard.lib not found

    Yes this lib is missing some how from all SDKs.

  5. #5
    Regular Contributor
    Join Date
    Jun 2007
    Location
    Jakarta, Indonesia
    Posts
    269

    Re: cntvcard.lib not found

    OK then, we know the documentation has this. And none of the SDK has the lib (I have installed 2nd FP2, 3rd MR, 3rd FP2, UIQ3.0).

    Is this API needs partnering(non public)? If it is, why is it documented in the public documentation?

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

    Re: cntvcard.lib not found

    from header it seems like it is Open to 3rd party developers.

  7. #7
    Regular Contributor
    Join Date
    Jun 2007
    Location
    Jakarta, Indonesia
    Posts
    269

    Re: cntvcard.lib not found

    Hmm.. I doubt it.. Sometimes what's public and non public is not clear :(

  8. #8
    Regular Contributor
    Join Date
    Jun 2007
    Location
    Jakarta, Indonesia
    Posts
    269

    cntvcard.lib found on SDK 7.0s S60 v2.0

    The lib was found on SDK 7.0s S60 v2.0

    fiuhh...

    Don't know why they removed this lib.

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

    Re: cntvcard.lib not found

    Quote Originally Posted by strike_noir View Post
    Hmm.. I doubt it.. Sometimes what's public and non public is not clear :(
    /**
    Plug-in vCard to CContactItem converter.
    @publishedAll
    @released
    */
    header says it is 3rdparty API. else header is wrong.

  10. #10
    Regular Contributor
    Join Date
    Jun 2007
    Location
    Jakarta, Indonesia
    Posts
    269

    Re: cntvcard.lib not found

    In 3rd Edition the cntvcard.lib is a dll. I didn't know this, the documentation says it need a lib (not a dll). So to use this API just put cntvcard.dll to the mmp.

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

    Re: cntvcard.lib not found

    Quote Originally Posted by strike_noir View Post
    In 3rd Edition the cntvcard.lib is a dll. I didn't know this, the documentation says it need a lib (not a dll). So to use this API just put cntvcard.dll to the mmp.
    Dll in MMP File ?? i heard it 1st time.

  12. #12
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: cntvcard.lib not found

    Quote Originally Posted by skumar_rao View Post
    Dll in MMP File ?? i heard it 1st time.
    Hopefully the last too. That makes not much sense, Symbian .dll-s contain almost no information about their contents (no method names, etc.).

    CContactVCardConverter currently seems to be an ECOM plugin (have not checked with older SDK-s, but now it is "class CContactVCardConverter : public CContactEcomConverter"), thus it can most likely be used without having a .lib file (though I have not checked how it should be used indeed).

  13. #13
    Regular Contributor
    Join Date
    Jun 2007
    Location
    Jakarta, Indonesia
    Posts
    269

    Re: cntvcard.lib not found

    Yes you're right. It doesn't need the dll (carelessly I didn't test the code without removing the cntvcard.lib/cntvcard.dll from the mmp). Too much believing it need a lib/dll to be linked to. :(

  14. #14
    Registered User
    Join Date
    Jul 2003
    Posts
    190

    Re: cntvcard.lib not found

    Create the class as ecom plugin:

    Code:
             
    REComSession *ecom = &REComSession::OpenL();
    RImplInfoPtrArray ia;
    TRAPD(err, REComSession::ListImplementationsL(KUidEcomCntVCardConverterInterface, ia));
    
    class C_ECom_interface{
       virtual ~C_ECom_interface() = 0;
       TUid uid;
    };
    
    if(ia.Count()){
       TRAPD(err, cnt = (CContactVCardConverter*)REComSession::CreateImplementationL(ia[0]->ImplementationUid(), OffsetOf(C_ECom_interface, uid)));
    }
    for(int i=ia.Count(); i--; ) delete ia[i];
    ia.Close();
    
    .... (use cnt)
    
    delete cnt;
    
    ecom->Close();
    REComSession::FinalClose();

Similar Threads

  1. GoogleIt
    By deepika.mangla in forum Symbian
    Replies: 5
    Last Post: 2011-05-28, 11:04
  2. Prototype SDK 2.0 setup problem
    By jackmcardle in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2007-01-09, 16:21
  3. SyExpat + problem + memmove + Carbide Express
    By pearman in forum Symbian
    Replies: 2
    Last Post: 2006-10-14, 22:21
  4. Problems with errno module
    By tsharju in forum Symbian
    Replies: 1
    Last Post: 2005-10-21, 11:24
  5. can not successfully link any sample using .NET
    By lobotomat in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-08-20, 00:29

Posting Permissions

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