[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl-Toolbox] FSSpec/Alias problems



Hi,

I am trying to send an AppleEvent to CodeWarrior to export a project 
as XML. I would like to send an 'alis' (alias) parameter to specify 
the output file. The output file does not currently exist. When 
coding in C++ I expect a -43 error (fnfErr or file not found) since 
the output file does not yet exist. It appears that MacPerl believes 
that it should not create an FSSpec or an alias for me in the 
presence of this error. I really don't want to have to create the 
file first just so I can specify it. I've tried MakeFSSpec, 
NewAlias*, and fullpaths to no avail. Am I missing something or is 
this a bug? Shouldn't NewAliasMinimalFromFullPath  work for 
non-existent file in valid directories?

Mat

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-toolbox-request@macperl.org