|
|
|
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&fpage=442&tid=2034781]: |
0ms |
get settings: |
10ms |
get forum list: |
19ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
43ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
42ms |
get tp. blocked users: |
1ms |
| others: | 207ms |
| total: | 344ms |

| 0 / 0 |
