We are facing a strange issue while building some VC8 OCX projects using Visual Studio 2005 i one particular machine ... By Default there is a custom build Step which registers the control after building . The following is the custom build Step
regsvr32 /s /c "$(TargetPath)"
echo regsvr32 exec. time > "$(OutDir)\regsvr32.trg"
When we rebuild the solution, we are getting an error
Program : c:\windows\System32\regsvr32.exe
An application has made an attempt to load the C Runtime incorrectly
but if build the ocx project again the error disappears.... Can any one guide us