|
|
Classification: |
C++ |
Category: |
Application architecture |
Created: |
02/14/2001 |
Modified: |
09/11/2002 |
Number: |
FAQ-0571 |
Platform: |
Not Applicable |
|
Question: Why does CMyAppUi::ProcessCommandParametersL() not seem to get called on Symbian OS v6.x?
Answer: This can often catch you out when porting code from ER5 to V6.0 or later versions. The function:
TBool CMyAppUi::ProcessCommandParametersL(TApaCommand aCommand,TFileName& aDocumentName,const TDesC& /*aTail*/)
on ER5 must be coded as:
TBool CMyAppUi::ProcessCommandParametersL(TApaCommand aCommand,TFileName& aDocumentName,const TDesC8& /*aTail*/)
on V6.0 or later versions, otherwise it will not get called.
|
|
|