Hello,

I am having problem when try to use RunSelectDlgLD() function:
Code:
 IMPORT_C TBool AknCommonDialogs::RunSelectDlgLD(TDes& aFileName, TInt aMemorySelectionResourceId, MAknFileSelectionObserver* aObserver = NULL)
Function, which call RunSelectDlgLD function:
Code:
void CImport::Show(){
	TBuf<256> Path;
	Path.Append(_L("c:\\System\\System.ini"));
	AknCommonDialogs::RunSelectDlgLD(Path, R_SR_PROMTING_SELECTION_DIALOG); }
My resource:
Code:
 RESOURCE FILENAMEPROMPTDIALOG r_sr_promting_selection_dialog {
	filename_prompt = "Select file:";
	default_filename = " System.ini";
	path = "c:\\System\\System.ini";
	softkey_1 = "Select";
	softkey_2 = "Back";
}
Structure of FILENAMEPROMPTDIALOG:
Code:
 // ---------------------------------------------------------
//    FILENAMEPROMPTDIALOG
//    A structure for prompting a single filename.
//    In this structure a title and texts for softkeys can be defined.
//    "default_filename" defines the default filename. Extension is not shown.
//    "path" is the path that the file is supposed to save.
//    If path is set, it can be checked if file already exists.
// ---------------------------------------------------------
//
STRUCT FILENAMEPROMPTDIALOG{
	LTEXT filename_prompt; // title
	LTEXT default_filename;
	LTEXT path;
	LTEXT softkey_1;
	LTEXT softkey_2;
}
On emulator my app crash only when call function Show(). But on device my app crash when execute my application. Why, when try to call the function RunSelectDlgLD() crash my application? Maybe my resource(r_sr_promting_selection_dialog) is not good or something else?

Would be happy if anybody can help my!