PDA

View Full Version : unhelpful %_SB_ERRORCODE% - updated



NewsArchive
02-17-2009, 02:18 AM
Friedrich,

Installed 2509... recompiled RunTest, and ran it.

%_SB_ERRORCODE% still returns -1
%_SB_RETURNEX% returns 267

Also 'unhelpful'.. maybe add a call to "FormatMessage" or similar, to make
it human readable....

So, once I referred to online doco and got "The directory name is
invalid"...

...and armed with that, I looked at your RunTest app... and yes: you set
"DataPath', but didn't actually test-for or create the folder!
Thus it failed on the Run ....

But the point is: having this human freindly (ie text) info available inside
SB would be a help...

Which was actually the *original* point of the post!! <G>

hth
Steve

PS Now I'll need to back-track *my* Run issues and see what's behind that.

NewsArchive
02-17-2009, 02:19 AM
My Run issues have disappeared when compiled with 2509!!

On the (in)famous test machine, where Errorcode previously returned -1, it
is now working - NOT using ShellExecute! - and returning 0 error code.

I guess I should just lie back, smile and relax......

S.

NewsArchive
02-17-2009, 02:20 AM
and recall your first beer <g>

--
Russell B. Eggen
www.radfusion.com
Skype Clarion chat: http://tinyurl.com/2273lm

NewsArchive
02-17-2009, 02:20 AM
....too long ago to remember that!

Steve Bywaters

NewsArchive
02-17-2009, 02:20 AM
Thanks for the update.

Regards,

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner