Bob:
Have found a dll library of COM objects that sends alerts to cell phones. It contains methods that format HTTP notification requests and posts them to mobile phones via the carrier's Push Proxy Gateway. These objects are currently being used by VB, C++, J++, and Perl apps.
Can OI's new OLE processes expose such COM objects to OI apps or are we limited to ActiveX objects?
Cheers,
Jim Weir
PS - An interesting method of this object is that you can remotely control a phone's cache. For example, you can remotely delete a cached card. In this way you can assure that the phone's cache is always current without having to constantly poll the server - COOL
Jim,
I'll let Bob (or others) give the official answer but as I understand it at this time we can only use .OCX with a UI controls.
You might be able to use Tony Splaver's OIWAM to incorporate this COM object.
Jim:
Don is right.
Oi41 can host ActiveEx controls only.
However, you can wrap that library you found in vb to make it an activex control. If you can control the objects via vbscript
you can use them pretty effectively from OI.
Finally, I am looking at using the windows scripting host as an ole control. The classid is {0E59F1D5-1FBE-11D0-8FF2-00A0D10038BC}
There are AddCode, Run, and Eval methods.
I used the same object in OI375 to make revComI.dll
If I succeed then we will be able to do a much better job of automating OLE Objects.
Bob
Bob
Bob and Dave - Thanks for your help
It seems that I'm unable to access the COM object from VBScript, so I plan on generating the http request string in OI and then pass it to a VBScript that will send it using Microsoft's XMLHTTP control. There are some examples in Microsoft's XML SDK on how to do this. I don't know of a way of posting an http request directly from OI.
Of course the best solution would be to wrap the COM object in an OCX as you suggest. But not being a VB programmer I don't know how to do this - a deficiency I plan to correct. Can you recommend a reference on how to write OCXs using VB? With the new OLE capability in OI it seems to me that this is something Rev developers should know how to do.
I can see that access to windows scripting host from OI will be a big help. I hope you can get this going.
Jim Weir