feldspar
asked on
How can I do this in C++
Hello,
I have this scrpt sample:
var objFpc = WScript.CreateObject ("FPC.Root");
var objFpcRemote = new ActiveXObject ("FPC.Root", "ISAServer2");
var objUrls = objFpc.Arrays.GetContainin gArray ().VendorParametersSets.It em ("{D75A14B8-7EB9-419A-983E -09570B65C CC7}");
var objUrlsRemote = objFpcRemote.Arrays.GetCon tainingArr ay ().VendorParametersSets.It em
("{D75A14B8-7EB9-419A-983E -09570B65C CC7}");
objUrlsRemote.Value ("urlblock") = objUrls.Value ("urlblock");
objUrlsRemote.Value ("urlallow") = objUrls.Value ("urlallow");
objUrlsRemote.Save ();
can this be done using C++?
how?
I have this scrpt sample:
var objFpc = WScript.CreateObject ("FPC.Root");
var objFpcRemote = new ActiveXObject ("FPC.Root", "ISAServer2");
var objUrls = objFpc.Arrays.GetContainin
var objUrlsRemote = objFpcRemote.Arrays.GetCon
("{D75A14B8-7EB9-419A-983E
objUrlsRemote.Value ("urlblock") = objUrls.Value ("urlblock");
objUrlsRemote.Value ("urlallow") = objUrls.Value ("urlallow");
objUrlsRemote.Save ();
can this be done using C++?
how?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Well, the functionality I mentioned is determined at compile time. The DLLs don't have to be registered, just available.
For your case, I'm not sure.
For your case, I'm not sure.
ASKER
ok,
>> If you use ClassWizard and
>> Add Class -> From A Type Library,
>> the browse to the ActiveX (ocx,dll,exe); once included, >> it will expose its objects and methods.
now *that* is something neat that i didn't know before, so points awarded for that at least!
most helpful, thanks!
>> If you use ClassWizard and
>> Add Class -> From A Type Library,
>> the browse to the ActiveX (ocx,dll,exe); once included, >> it will expose its objects and methods.
now *that* is something neat that i didn't know before, so points awarded for that at least!
most helpful, thanks!
but the problem here is that the function/s are on a remote computer, and the dll/s are not necessarily registered or even existing on the server running this 'script' - is that not important?
Cheers.