Итак, у меня была эта ошибка с моей программой Visual C++, которая использует кнопку для подключения к камере, записи видео и сохранения видео, а затем отсоединения от камеры. Чтобы решить эту проблему, введите/clr в командной строке свойств c/C++. Были ошибкиВизуальные ошибки C++/clr
1>c:\users\taycm_000\documents\visual studio 2010\projects\test-new\test\stdafx.h(28): error C3641: 'handleObjectEvent' : invalid calling convention '__stdcall ' for function compiled with /clr:pure or /clr:safe
1>c:\users\taycm_000\documents\visual studio 2010\projects\test-new\test\stdafx.h(32): error C3641: 'handlePropertyEvent' : invalid calling convention '__stdcall ' for function compiled with /clr:pure or /clr:safe
1>c:\users\taycm_000\documents\visual studio 2010\projects\test-new\test\stdafx.h(37): error C3641: 'handleStateEvent' : invalid calling convention '__stdcall ' for function compiled with /clr:pure or /clr:safe
Есть ли способ решить эти ошибки без использования/clr?