App scripts, Be careful in developing
(boot-land.net/forums/?showtopic=5263)
in short
So:
Before you publish an app script:
Test it in a minimum configuration of nativeEx_barebone or a similar 'low level' project!
Peter
App Scripts Guide-1
(boot-land.net/forums/?showtopic=4415)
App Scripts Guide-2
(boot-land.net/forums/?showtopic=4424)
App Scripts Guide-3
(Registry- boot-land.net/forums/?showtopic=5518)
RegisterServer, Small TutorialSome files have to be registered as InProcServer32 in the PE's registry.
One possible way is to do it at boot time by using regsvr32.exe.
That works fine; but the disadvantage is that it is done at every boot.
And if there are a lot of entries, boot time will increase remarkably.
Therefore many developers prefer to register at build time.
maby the links are usfull to have in this section as they relate to adding aplication's in to aproject
also (ihave added (EG) link/s,nuno's quote below)
Simple programs that fit on this tutorial are those that match the following restrictions:
- Have few files
- Don't require registry keys
- Don't require additional files on the system32 folder
- Don't require registration of any DLL/OCX activeX dependency
- Don't require any file associations and such (file associations:EG)
This may seem like a long list of restrictions but many small sized programs will fit nicely on this category.
list of restrictions (for basic appScripts) should become a list of links to technique's (for more advanced appScripts )
showing 'how to' instead of 'Don't require' ,
eg 'how to : registration of any DLL/OCX activeX dependency' . . .
--------------------
DLL/OCX-dependency registration (REGSVR32.EXE -http:// support.microsoft.com/kb/249873)
registry below to add 'register/unregister' to right click menu
REGEDIT4 ; ActiveX DLLs [HKEY_CLASSES_ROOT\.dll] @="dllfile" [HKEY_CLASSES_ROOT\dllfile\shell\regdll] @="Register ActiveX DLL" [HKEY_CLASSES_ROOT\dllfile\shell\regdll\command] @="regsvr32.exe \"%L\"" [HKEY_CLASSES_ROOT\dllfile\shell\unregdll] @="Unregister ActiveX DLL" [HKEY_CLASSES_ROOT\dllfile\shell\unregdll\command] @="regsvr32.exe /u \"%L\"" ; ActiveX Controls [HKEY_CLASSES_ROOT\.ocx] @="ocxfile" [HKEY_CLASSES_ROOT\ocxfile\shell\regocx] @="Register OCX Control" [HKEY_CLASSES_ROOT\ocxfile\shell\regocx\command] @="regsvr32.exe \"%L\"" [HKEY_CLASSES_ROOT\ocxfile\shell\unregocx] @="Unregister OCX Control" [HKEY_CLASSES_ROOT\ocxfile\shell\unregocx\command] @="regsvr32.exe /u \"%L\"" ; ActiveX EXEs [HKEY_CLASSES_ROOT\.exe] @="exefile" [HKEY_CLASSES_ROOT\exefile\shell\regexe] @="Register ActiveX EXE" [HKEY_CLASSES_ROOT\exefile\shell\regexe\command] @="\"%L\" /regserver" [HKEY_CLASSES_ROOT\exefile\shell\unregexe] @="Unregister Active EXE" [HKEY_CLASSES_ROOT\exefile\shell\unregexe\command] @="\"%L\" /unregserver"