Mayayana,
Post by MayayanaI guess I don't really get the advantage of that,
but it does sound intriguing.
I on my part do not really see the advantage of "*must* be made available
for everyone, anywhere" philosophy MS has wrought for them. I regard that
as rather dangerous even. For example, there is *no* difference between a
local-only object and a webpage accessible one ...
The advantage (to me) is twofold : I can load objects that are in a building
stage (unfinished), and I can limit the usage of an object to a specific
script.
Post by MayayanaI suppose not, but usually an OCX is an OCX
because it makes sense: The events with winsock.
The interactive GUI with most controls, like text
boxes and buttons.
Granted, an OCX has got a number of good points. Like divulging all the
info (by way of a typelib) a GUI driven, compiling environment needs to use
such an OCX component -- even though you already know that a typelib can
easily lie about the abilities of the object its ment for.
Also, did you know that W/CScript fully ignores any constants and
enumerations available in a typelib ? :-\
Post by MayayanaWith your skills you can go straight to winsock API
in your code, anyway.
I'm guessing you must be trying to create an adaptable
tool like AutoIt that will allow scripters to get all that
functionality easily.
Pretty-much that. But as VBScript seems to be part of a default install
(don't know about later Windows versions though ...) there should be less of
a threshold to use it.
Post by MayayanaLicensing. The winsock control doesn't seem to require a
license, but many do.
Actually, that MSWINSCK.OCX does have a licence. Is an easily copy-pastable
one tough (some have suggested that it was done on purpose... ).
Post by MayayanaLoading the control directly, without it being
incorporated in licensed software, may be a problem.
Those are legal, not technical problems.
Also, I'm not providing those objects. Its upto the user to check if the
("shrink-wrap") EULA for such licenced objects is enforcable in his part of
the world (not in Europe), or if he's excluded from following them as long
as he has the licence and its for home use only (as in Europe). :-)
Regards,
Rudy Wieser
Post by Mayayana| > I don't know if I dare ask what you're trying
| > to accomplish. :)
|
| Rather simple actually: I'm trying to load an unregistered object (into a
| basic VBScript engine). Nothing more, nothing less.
I guess I don't really get the advantage of that, but
it does sound intriguing.
| > An OCX is normally sited in a window.
|
| .. But there is no reason it needs to be. Not even with the
| (given as an example) MSWinSck.ocx control. :-)
I suppose not, but usually an OCX is an OCX
because it makes sense: The events with winsock.
The interactive GUI with most controls, like text
boxes and buttons. With your skills you can go
straight to winsock API in your code, anyway. I'm
guessing you must be trying to create an adaptable
tool like AutoIt that will allow scripters to get all
that functionality easily. Though there's also another
issue that might come into play: Licensing. The winsock
control doesn't seem to require a license, but many do.
Loading the control directly, without it being
incorporated in licensed software, may be a problem.