Well, you may be running into a typo problem: according to SDK installed in my release (CVI 8.5) the correct command is InitializeCriticalSection. You will need to add kernel32.lib to your project too, to permit complete linking of the project.
Oops! Sorry - I have the same problem when setting COLOR attributes; the compiler always has to remind me to spell it the American way, instead of the English COLOUR