Page 1 of 1

ObjectFromLresult_(

Posted: Thu Nov 16, 2006 7:54 pm
by netmaestro
If this were brought into the fold, people using objects could avoid doing:

Code: Select all

  OleAcc = OpenLibrary(#PB_Any, "OLEACC.DLL") 
  If OleAcc And GetFunction(OleAcc, "ObjectFromLresult")       
    CallFunction(OleAcc, "ObjectFromLresult", MessageResult, ?IID_IHTMLDocument2, 0, @HtmlDoc)    
    CloseLibrary(OleAcc) 
  EndIf
all the time as it's a very common requirement in using interfaces.

Posted: Thu Nov 16, 2006 9:38 pm
by freak
Windows NT/2000/XP/Server 2003: Included in Windows XP and Windows Server 2003.
Windows 95/98/Me: Unsupported.
Redistributable: Requires Active Accessibility 2.0 RDK on Windows NT 4.0 SP6 and Windows 98.
Not a very common function, thats why it is not included.

Posted: Fri Nov 17, 2006 2:06 am
by netmaestro
Ok, fair enough.

Posted: Sat Nov 18, 2006 11:22 pm
by Fred
With Import you should be able to reduce the code size BTW.

Posted: Sat Nov 18, 2006 11:23 pm
by netmaestro
Ah yes, good point thanks.