Mail Archives: djgpp-workers/1996/10/13/06:44:58
On Fri, 11 Oct 1996, Mark Habersack wrote:
> I decided, following advices, to make the installed a real mode program. It
> assures it will run everytime on any system. So the idea with stubify falls
I urge you to reconsider. Hard as it might be, writing it in DJGPP
ensures that any problem can always be fixed, since we have source to
everything. If it isn't written with free tools, you might have problems
for which there is no solution and no work-around.
> I'm not sure, however, whether TC 2.0 will allow me to modify argv[0]. AFAIK,
> TC uses DOS calls to invoke external programs and this means that they are
> ALWAYS passed path\myname.exe as argv[0]. If this is true, install might use
> another approach to notify djverify it is run as its child. I could hook INT
> 2Fh and install a callback known to djverify. The latter would check if
> installer is in memory and behave according to the result.
I rest my case. Is the above trouble less serious then potential
problems with DJGPP code? I don't think so.
- Raw text -