COM(100分)

C

cosher

Unregistered / Unconfirmed
GUEST, unregistred user!
HRESULT CreateTextServices( IUnknown *punkOuter, ITextHost *pITextHost, IUnknown **ppUnk );
该函数Riched20.dll中,在delphi中应怎样声明(
function CreateTextServices(punkOuter:IUnknown;pITextHost:ITextHost;
var ppUnk:IUnknown):HResult
external 'RichEd20.dll' name 'CreateTextServices';
调用出现:---------------------------
Debugger Exception Notification
---------------------------
Project Project1.exe raised exception class EAccessViolation with message 'Access violation at address 7727E24D in module 'RichEd20.dll'. Read of address FAA7B651'. Process stopped. Use Step or Run to continue.
---------------------------
OK Help
---------------------------
QQ:4978583 如你在com编程方面有心得,希望能得到你的指点!谢谢!
 
帮你UP一下
 
顶部