Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-01-2004, 15:38
adkiller
 
Posts: n/a
strcpy in MT apps leaks memory?

I was at an interview last friday for a CPP job.

The guy conducting the interview asked me how proficient I was with MSVC. He then later asked me about what problems are there when using strcpy in a MT (Multi-Threaded) app?

I said none, it can be used as nomal. He said no, strcpy produces memory leaks when used in a MT app and he claimed that MS recommends using the Win32 API StrCpy instead of the STDC strcpy function. He said MS did this on purpose to force devs to use the Win32 equivalent.

Is this true for MSVC6? Is there any way for me to verify this accurately in MSVC 7.1?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
guilty gear - strive source leaks wx69wx2023 Source Code 16 05-03-2026 11:34


All times are GMT +8. The time now is 13:35.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )