StarBurn OCX |
[ object, uuid("0A593F99-7B17-422B-91B1-ED05979777E0"), dual, helpstring("ISimpleCallBack Interface"), pointer_default(unique) ] __interface ISimpleCallBack : public IDispatch;
This class is used as callback. It can be used from any script languages
function CreateImage() { var Image = new ActiveXObject( "StarBurnX.JolietImage" ); var Root= Image.Root; Root.CreateNewFolder("New Folder"); Image.Build(0,"Test","JavaScript"); return Image; } var x=CreateImage(); var c = new ActiveXObject( "StarBurnX.SimpleCallback" ); x.SaveImageToFile("c:\111.iso",c); WScript.Echo('Saved!');
SimpleCallBack.h