In article <kRI5dgCWBpTNFwji@xxxxxxxxxxxxxxxxxxx>, David Pilling <flist@xxxxxxxxxxxxxxxxxxx> wrote: > Hi, > Firstly I got this, posted from a non-subscribed address. > ====== > As an uninvolved watcher of this thread I wonder whether the spelling > 'CURENT' is correct. I would expect 'CURRENT'. Probably nothing to do > with it at all, but you never know. > Cheers - > Graham > Graham N P Jenkins > ====== > It is a brilliant point, but I suspect the spelling error came when Dave > copied the error message. Yes a typo, sorry about that, weariness and probably bleariness. There were two typos actually. CURRENT and missing the open angle bracket before <HKEY... > As to the problem. > Ovation Pro is trying to create a folder. The error message should tell > you the name of the folder it is trying to create. Mmnnn! Not deducible by me from that err message. > I think I've got it, in a later posting Dave has put <HKEY he also has > made the point about saving macros, which is very good because it lets > me see where things are going wrong. > In the code registry keys appear in <>'s when they should be expanded to > form part of a file name. The problem is that a registry key value is > missing. > It seems to be that OP can be set up for single users or multiple users. > That setting looks like it won't work on W7. > So two things, the multiuser setting needs changing, second looks like > there is a problem with W7. > More soon... > ======== > static char * > macrospath="<HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVers > ion\\Explorer\\Shell > Folders\\AppData>\\DavidPilling\\OvationPro\\AutoRun\\!Macros.csc"; This does not exist. > static char * > macrosbasepath="<HKEY_LOCAL_MACHINE\\Software\\DavidPilling\\OvationPro\\ > >\\AutoRun\\!Macros.csc"; > err=macrossave(multiuser?macrospath:macrosbasepath,0); Neither does this exist. Dave -- Dave Triffid To unsubscribe or subscribe goto: //www.freelists.org/list/davidpilling