|
|
|
ATL SHORT
|
|||
|---|---|---|---|
|
#18+
Подскажите пожалуйста, что не так Зделал СОМ объект, дал ему свойство ctn STDMETHODIMP CCardReader::get_ctn(SHORT* pVal) { pVal = (SHORT*) ctn; return S_OK; } STDMETHODIMP CCardReader::put_ctn(SHORT newVal) { ctn = (unsigned short) newVal; return S_OK; } Когда из бейсика обращаюсь MyObject.ctn = 1 MsgBox MyObject.ctn пишет 0 :( ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.06.2004, 12:58 |
|
||
|
ATL SHORT
|
|||
|---|---|---|---|
|
#18+
STDMETHODIMP CCardReader::get_ctn(SHORT* pVal) { *pVal = ctn;return S_OK; } STDMETHODIMP CCardReader::put_ctn(SHORT newVal) { ctn = (unsigned short) newVal; return S_OK; } ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.06.2004, 14:38 |
|
||
|
|

start [/forum/topic.php?fid=57&msg=32563936&tid=2034781]: |
0ms |
get settings: |
7ms |
get forum list: |
21ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
75ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
55ms |
get tp. blocked users: |
2ms |
| others: | 228ms |
| total: | 411ms |

| 0 / 0 |
