|
|
|
Interface not supported
|
|||
|---|---|---|---|
|
#18+
Доброго времени суток! Использую компоненты палитры Servers (Delphi 6). Выставляю свойство (например, у ExcelApplication,WordApplication) AutoConnect=true, запускаю на выполнение и получаю ошибку: Project xxx raised exception class EIntfCastError with message 'Interface not supported' В хелпе про это написано: EIntfCastError is raised when an application tries to typecast an interface illegally using the as operator. Помогите устранить ошибку. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.03.2003, 13:19:28 |
|
||
|
Interface not supported
|
|||
|---|---|---|---|
|
#18+
По-моему, будет проще использование не серверных компонентов, а создание OLE объектов вручную, типа: ... uses .... ComObj, ... Procedure Proc1; var tmpObjWord: OleVariant; begin tmpObjWord:=CreateOleObject('Word.Application'); ... end; а там делай с ним, чего душа пожелает! (и гемора будет меньше) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.03.2003, 03:47:15 |
|
||
|
|

start [/forum/moderation_log.php?user_name=SidKir]: |
0ms |
get settings: |
11ms |
get forum list: |
19ms |
get settings: |
10ms |
get forum list: |
17ms |
get settings: |
9ms |
get forum list: |
17ms |
get settings: |
6ms |
get forum list: |
17ms |
get settings: |
6ms |
get forum list: |
15ms |
get settings: |
10ms |
get forum list: |
10ms |
get settings: |
6ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
200ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
35ms |
get tp. blocked users: |
1ms |
| others: | 6564ms |
| total: | 6988ms |

| 0 / 0 |
