🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: cn.bbs.comp.program
1 messages
1 total messages Started by schward Mon, 30 Mar 1998 00:00
��� OLE 2.0��ActiveX ���֣�������C++���� IE ��
#1651
Author: schward
Date: Mon, 30 Mar 1998 00:00
26 lines
1775 bytes
����� IE �ĵ�ǰ���ݱ��浽ij��ָ���ļ��У�
���������ʾ������
�����ǣ�

1���� IWebBrowserApp::get_Document �õ�
IDispatch ָ�룬�� IUnknown::QueryInterface 
�õ�IOleCommandTarget ָ�룬Ȼ��ͨ��
IOleCommandTarget::Exec(..., 
OLECMDID_SAVEAS, ...)
�������ļ�ʱ���ú�������ʧ�ܡ�����ֵ�����ĵ�
���г����κ�һ����
�Ҳ�֪���ú���IJ���Ӧ����ôд��ֻ���뵱Ȼ��
������һ���ļ��� BSTR��

2����ֹΪ�Σ��ҵ���IWebBrowserApp::Navigate
Ҳ�ܲ��ܳɹ�����֪�Ƿ����ûд�ԡ��Ҵ���һ�� 
BSTR URL�������������Ŵ���һЩ�� Ҳ�����
�Ƕ���Ϊ�գ�����ֵ���ǣ�E_OUTOFMEMORY ��

Visual Studio �й��������������˵���Ҷ�����
�������ʹ�����ǵIJ�����û��Ū����
ϣ������Dz��ߴͽ̣� ���²�ʤ�м�֮����

--
 ��Դ: ����������BBSվ��bbs.nease.net�E[FROM: www-post@bbs.nease.n]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads