Category : C++ Source Code
Archive   : VCCRT2.ZIP
Filename : SETARGV.ASM
title setargv - generic _setargv routine
;***
;setargv.asm - generic _setargv routine
;
; Copyright (c) 1986-1992, Microsoft Corporation. All rights reserved.
;
;Purpose:
; Generic _setargv.
; This stub module is for use with all memory models
;
;*******************************************************************************
include version.inc
.xlist
include cmacros.inc
.list
public __setargv ; this module
extrn ___setargv:near ; actual wildcard expander
sBegin code
assumes cs,code
;***
;_setargv - sets argv by calling __setargv
;
;Purpose:
; Routine directly transfers to __setargv (defined in stdargv.asm).
;
;Entry:
; See __setargv.
;
;Exit:
; See __setargv.
;
;Uses:
; See __setargv.
;
;Exceptions:
; See __setargv.
;
;*******************************************************************************
__setargv:
jmp ___setargv ; jump to library routine to do real work
sEnd code
end
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/