Re: When were scanf_s functions introduced?



I would just redistribute the DLL version of the CRT. VC2005 comes with a
prepackaged installer and merge modules for it, I believe.

"Mitch Gallant" <jensigner@xxxxxxxxxxxxxxxx> wrote in message
news:OJnLX3GRGHA.196@xxxxxxxxxxxxxxxxxxxxxxx
Thanks. So I guess I need to recompile with /MT to static
link code into my application to ensure backward compatiblity.
- Mitch

"Skywing" <skywing_NO_SPAM_@xxxxxxxxxxxxxxxxxxx> wrote in message
news:eEh$qqGRGHA.4572@xxxxxxxxxxxxxxxxxxxxxxx
Yes unless somebody else has already installed MSVCR80.dll.

"Mitch Gallant" <jensigner@xxxxxxxxxxxxxxxx> wrote in message
news:uS1GA6FRGHA.256@xxxxxxxxxxxxxxxxxxxxxxx
(a bit rusty on VC++ here ..)
I was looking at my compile options in VS 2005 and the /MD switch
is used for release by default. Does this mean that if I compile my
C code in VS 2005 with the default /MD compile switch, and specify
scanf_s() functions, the target platform will need updated dll
(MSVCR80.dll)
with those functions since the CRT is not statically linked into my
application?
http://msdn2.microsoft.com/en-us/library/abx4dbyh.aspx
Thanks,
- Mitch

"Skywing" <skywing_NO_SPAM_@xxxxxxxxxxxxxxxxxxx> wrote in message
news:uVxeG5ERGHA.4344@xxxxxxxxxxxxxxxxxxxxxxx
They ship with the VS2005 CRT (and probably later CRTs). They were not
present in the VS2003 (or earlier) CRTs.

"Mitch Gallant" <jensigner@xxxxxxxxxxxxxxxx> wrote in message
news:uNz0KsERGHA.4960@xxxxxxxxxxxxxxxxxxxxxxx
When were the security-enhanced functions, like scanf_s, sscanf_s etc.
introduced?
I noticed that they are not included in the PSDK April 2005 MSDN
documentation,
but are included in VS 2005 docs.
- Mitch












.



Relevant Pages

  • Re: A solution to the MSVCRT vs MSVCR71 problem?
    ... Compile with your compiler or choice, never mind which CRT are used. ... DLL file. ... Compile the DLL py_crt.dll and then open your pyd file in binary mode. ... Exchange all occurances of the string "msvcrt" ...
    (comp.lang.python)
  • Re: Why my Release exe needs mfc80.dll ?
    ... >> being used from that DLL. ... If you don't want to rely on the CRT DLL's, you must compile your ... project to link with the static version of the CRT (C-Runtime). ...
    (microsoft.public.vc.language)
  • Re: Problem with msvcrt60 vs. msvcr71 vs. strdup/free
    ... > Believe it or not I do not get a crash here. ... Since this is a different CRT, ... > msvcrt and another DLL is using msvcr71. ... E.g. malloc use a pointer to the free list in the heap, ...
    (comp.lang.python)
  • A solution to the MSVCRT vs MSVCR71 problem?
    ... Compile with your compiler or choice, never mind which CRT are used. ... DLL file. ... redirects CRT calls to msvcrt.dll or any other CRT of choice. ...
    (comp.lang.python)
  • Re: error R6031
    ... When called _CRT_INIT on initialization, in crtdll.c at line: ... The fact that you have what appears to be a statically-linked CRT in a DLL (I'd suggest ... debugger was awakened by an interrupt. ...
    (microsoft.public.vc.mfc)