equal
deleted
inserted
replaced
240 } |
240 } |
241 |
241 |
242 TInt CDefaultConsole::TryCreateConsole(const TDesC& aImplementation) |
242 TInt CDefaultConsole::TryCreateConsole(const TDesC& aImplementation) |
243 { |
243 { |
244 TInt err = iConsoleLibrary.Load(aImplementation); |
244 TInt err = iConsoleLibrary.Load(aImplementation); |
245 if ((err == KErrNone) && (iConsoleLibrary.Type()[1] == KSharedLibraryUid) && (iConsoleLibrary.Type()[2] == KConsoleDllUid)) |
245 if ((err == KErrNone) && (iConsoleLibrary.Type()[1] == KSharedLibraryUid)) |
246 { |
246 { |
247 TLibraryFunction entry = iConsoleLibrary.Lookup(1); |
247 TLibraryFunction entry = iConsoleLibrary.Lookup(1); |
248 CConsoleBase* console = (CConsoleBase*)entry(); |
248 CConsoleBase* console = (CConsoleBase*)entry(); |
249 if (console) |
249 if (console) |
250 { |
250 { |