|
LoadFromStream(VARIANT)
|
|||
---|---|---|---|
#18+
Имею код: Код: sql 1. 2.
под компилятором х32 всё проходит нормально. а компилятор х64 ругается: [bcc64 Error] ExtrJurnal.cpp(500): no matching conversion for functional-style cast from '_di_IStream' (aka 'DelphiInterface< ::IStream>') to 'VARIANT' (aka 'tagVARIANT') oaidl.h(469): candidate constructor (the implicit copy constructor) not viable: no known conversion from '_di_IStream' (aka 'DelphiInterface< ::IStream>') to 'const tagVARIANT' for 1st argument oaidl.h(469): candidate constructor (the implicit move constructor) not viable: no known conversion from '_di_IStream' (aka 'DelphiInterface< ::IStream>') to 'tagVARIANT' for 1st argument oaidl.h(469): candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided как победить - не знаю. помогите ... |
|||
:
Нравится:
Не нравится:
|
|||
05.10.2021, 02:22 |
|
LoadFromStream(VARIANT)
|
|||
---|---|---|---|
#18+
Как там в Билдере не знаю. Пробовать так Код: plaintext 1. 2.
или Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8.
... |
|||
:
Нравится:
Не нравится:
|
|||
05.10.2021, 11:34 |
|
LoadFromStream(VARIANT)
|
|||
---|---|---|---|
#18+
_Vasilisk_ Код: plaintext 1. 2.
вариант 1 - не пошло по второму - ругается на строку _di_IStream.AddRef(); [bcc64 Error] Extr_Profil.cpp(624): cannot use dot operator on a type ... |
|||
:
Нравится:
Не нравится:
|
|||
05.10.2021, 14:04 |
|
LoadFromStream(VARIANT)
|
|||
---|---|---|---|
#18+
Значит пора начинать таки учить синтаксис C++, а не копипастить дельфийский код. Posted via ActualForum NNTP Server 1.5 ... |
|||
:
Нравится:
Не нравится:
|
|||
05.10.2021, 14:08 |
|
LoadFromStream(VARIANT)
|
|||
---|---|---|---|
#18+
Mizer73 [bcc64 Error] Extr_Profil.cpp(624): cannot use dot operator on a type Код: plaintext 1.
на Код: plaintext 1.
не догадались? ... |
|||
:
Нравится:
Не нравится:
|
|||
05.10.2021, 19:17 |
|
LoadFromStream(VARIANT)
|
|||
---|---|---|---|
#18+
_Vasilisk_ Код: plaintext 1.
var.punkVal = &streamAdapter; [bcc32 Error] Extr_Profil.cpp(625): E2034 Cannot convert 'IStream * *' to 'IUnknown *' ... |
|||
:
Нравится:
Не нравится:
|
|||
05.10.2021, 22:32 |
|
LoadFromStream(VARIANT)
|
|||
---|---|---|---|
#18+
_Vasilisk_ Mizer73 [bcc64 Error] Extr_Profil.cpp(624): cannot use dot operator on a type Код: plaintext 1.
на Код: plaintext 1.
не догадались? еще... Код: pascal 1.
переделал на Код: pascal 1.
и пошло компилироваться... пока на практике не проверить, есть еще ошибки. ... |
|||
:
Нравится:
Не нравится:
|
|||
05.10.2021, 22:40 |
|
LoadFromStream(VARIANT)
|
|||
---|---|---|---|
#18+
_Vasilisk_, +10 ... |
|||
:
Нравится:
Не нравится:
|
|||
05.10.2021, 22:40 |
|
|
start [/forum/topic.php?fid=58&tid=2036976]: |
0ms |
get settings: |
10ms |
get forum list: |
15ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
38ms |
get topic data: |
12ms |
get forum data: |
2ms |
get page messages: |
45ms |
get tp. blocked users: |
2ms |
others: | 275ms |
total: | 407ms |
0 / 0 |