[Application 1]
I have made this .exe which accpets command line parameters and when it works just fine...

[Application 2]
I have another application which is a CGI. it generates HTML pages and responds to them...

In one of the pages generated by APPLICATION 2 there is a button that tells APPLICATION 2 to call the first .exe and pass it the parameters...

I have tried many things but when I try it from the HTML page... APPLICATION 1 receives the parameters correctly but does nothing with them.... it is supposed to call a function in a dll to encrypt the file that I passed in parameter...

Is there a difference between calling an app from another app as normal and calling one thru a web broswer?? (hope it's clear enough)