[Windows Mobile Development and Hacking General] vijay555:
Guys,

I've finally gotten around to updating VJBrisk.

See here for info about the old version.

I don't know if anyone uses VJBrisk anymore, but basically it's a small .exe file that can be used to replace another .exe.

eg, If you want to change your Stocks.exe application and make it launch VJEschaton.exe, but Stocks.exe is somehow hardcoded into a skin or application, then rename VJBrisk.exe to Stocks.exe, and drop the new Stocks.exe into the correct folder. VJBrisk will then allow you to launch whatever app you want to, instead of Stocks.exe.

Ok - what's new:

1. People used to have problems with the old VJBrisk.exe if they wanted to replace multiple target applications, as you could only have one VJBrisk per folder.

This is no longer the case.

You can rename VJBrisk.exe to anything you want, and keep multiple copies in a folder.

Eg, say you rename VJBrisk.exe to TomTom.exe.

When you launch TomTom.exe, it will search for TomTomEXE.exe or TomTomLNK.lnk in the target folder, and execute that app.

So VJBrisk will now recognise that you have renamed VJBrisk, and search for [NEW NAME]EXE.exe (for an executable file) or [NEW NAME]LNK.lnk (for a shortcut).

In this way, you can have as many VJBrisks in a folder as you want, each with a custom name and target.

2. VJBrisk will now pass the command line passed to IT, on to the target application. Eg, If Stocks.exe is launched with command line

"Stocks.exe NBC", then VJBrisk will try to launch

"VJBriskEXE.exe NBC".

Note:

To show debug info when checking command lines etc, please rename the VJBrisk.exe file VJDebug.exe. It will then show information about what program and command line parameters it is about to launch.

That's it for now I think. Let me know if it works for you.

Download from my website, or here:

http://vijay555.com/vj/releases/vjbrisk/vjbrisk0.4.cab

Version 0.42 - please replace the exe in the above cab, or just use this exe:

www.vijay555.com/vj/releases/vjbrisk/vjbrisk.exe

[EDIT]

Please remember, you will have to rename shortcuts you used to use with the OLD VJBrisk.exe to VJBriskLNK.lnk, instead of VJTarget.lnk.

Apologies, but that's the cost of the new flexibility of supporting unlimited VJBrisk redirects in the same folder.

[UPDATE]

Version v0.4 has been re-written from scratch.

It now supports a very peculiar "feature" in the OS, where if you "launch" a shortcut (.lnk) file from a shortcut, the redirected shortcut will

not

launch with its command line parameters. I've sidestepped around this feature so it works as it should.

It's a niche "feature", but some might be effected by this. See VJSipSwitch for details (eg launching VJSipSwitch from a shortcut with command line parameters, and launching THAT shortcut with VJBrisk now works).

As an added bonus, VJBrisk will pass parameters to a shortcut, and also merge parameters from a shortcut to a shortcut before launching the target shortcut.

Trust me, this makes sense when you're on Meth.

Eg.

Eg.

A. Make a shortcut to VJSipSwitch with the command line parameters "key", and call it VJBriskLNK.lnk (Shortcut A)

B. Make a shortcut to VJBrisk.exe with command line parameters "board" (Shortcut B)

Launching Shortcut B will launch VJBrisk, which will merge the parameters "key" and "board" to launch VJSipSwitch with the parameters "keyboard".

V

PS Once again, I repeat what I say on my website. You really don't need this app. But if you do, it might come in handy!

Version History:

v0.3: updated command line redirection and dynamic renaming

v0.4: entirely re-written; parsing of .lnk command line parameters

v0.41: fixed bug in handling of .exe in root folder

v0.42: support VJDebug debug info