×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Oct 2004
    Posts
    53

    Series90 CCknOpenFileDialog problem

    I'm trying to use the function CCknOpenFileDialog::RunSelectFileDlgLD(...) in the Series 90 Beta SDK, it compiles ok but the link fails with:

    APPUI.obj : error LNK2001: unresolved external symbol "private: static int __cdecl CCknOpenFileDialog::NewDialogsRunLD(class TDes16 &,class TDesC16 const &,unsigned int,class TUid,class TDesC16 const &,class MCknDialogObserver *)" (?NewDialogsRunLD@

    The problem seems obvious, RunSelectFileDlgLD is an inline function that maps onto NewDialogsRunLD, however none of the overloads of NewDialogsRunLD are exported so obviously can't be linked to. This appears to make it impossible to use any of the new functions in this class meaning we have to use the depreceated functions RunDlgLD, RunImportDlgLD, RunSourceDlgLD instead.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,168
    hmmm I have at leat been using the CCknOpenFileDialog::RunSelectObjectDlgLD function succesfully. So are you sure you have included ckndlg.lib in your mmp file.

    yucca

  3. #3
    Regular Contributor
    Join Date
    Oct 2004
    Posts
    53
    Yes I'm linking to ckndlg.lib. I would expect RunSelectObjectDlgLD to work, if you look at the header it's defined as mapping onto RunLD which is exported, instead of NewDialogsRunLD which isn't.

    Maybe that's my answer, I should be using RunSelectObjectDlgLD instead of RunSelectFileDlgLD

  4. #4
    Registered User
    Join Date
    Feb 2006
    Posts
    35

    Re: Series90 CCknOpenFileDialog problem

    Hi,

    My libs are::

    LIBRARY euser.lib apparc.lib cone.lib eikcore.lib ckndlg.lib

    LIBRARY cknctl.lib ckndlg.lib eikcdlg.lib ezip.lib efsrv.lib


    i am using sdk 7.0s,win XP & VC6

    linking error ::



    PASSWORDDIALOGSAPP.obj : error LNK2001: unresolved external symbol "public: static int __cdecl CCknGetPasswordDialog::RunImportDlgLD(unsigned short &)" (?RunImportDlgLD@CCknGetPasswordDialog@@SAHAAG@Z)




    plz help

    Thanks in advnce

Posting Permissions

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