Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Feb 2008

    Exclamation a dummie question


    I am using the following example


    #include "GpsPositionRequest.h"

    CGpsPositionRequest* request = CGpsPositionRequest::NewLC(_L("<value in target name of mmp file>"));
    TBool result = request->GetCurrentPostionL(latitude, longitude);

    (I am getting a couple of errors in the above lines)

    undefined identifier 'CGpsPositionRequest::NewLC'
    undefined identifier 'GetCurrentPostionL'

    From the example,
    "My Application" was substituted with the name in the Target Name of .MMP file.

    What could be the reason for the error?

    Many thanks in anticipation!

  2. #2
    Registered User
    Join Date
    May 2010

    Re: a dummie question

    Check your mmp file that all files are included under source heading. e.g if the new file you added is XYZ.cpp , you should see it under source heading in mmp file. if its not there add it... i think this is the problem.

Similar Threads

  1. N81 BUG: Web Services Parser an question marks???
    By masterchief2004 in forum Mobile Java General
    Replies: 1
    Last Post: 2008-03-07, 17:59
  2. a question about command and a question about s60
    By t4kesting in forum Mobile Java General
    Replies: 0
    Last Post: 2006-01-24, 08:21
  3. Replies: 2
    Last Post: 2004-01-08, 18:36
  4. Sending data using iAcceptedSocket (Urgent question)
    By okegame in forum Bluetooth Technology
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

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