Subj : Re: link error To : comp.programming From : CBFalconer Date : Sun Jul 10 2005 05:11 pm Dumitru Pletosu wrote: > > I compiled my program (written in C, in MSVS 7.1 ) with: > > #pragma comment(linker,"/NODEFAULTLIB") > > I did re-write the equivalents of Common Runtime Library functions > (malloc, free, fopen, etc ) and everything runs smoothly. This is > until I try to write a function that uses WIN32_FIND_DATA type. > This time I get such and error at link time: You are not allowed to replace those functions using the same names (which are reserved for the implementors). See the C standard. -- "If you want to post a followup via groups.google.com, don't use the broken "Reply" link at the bottom of the article. Click on "show options" at the top of the article, then click on the "Reply" at the bottom of the article headers." - Keith Thompson .