How to run c++ and c together in WinRT project -


i have file name sqlite3.c , c++ file use work function write in sqlite3.c. face problem compile file using visual studio 2012. create windowsruntimecomponent project c++ file , c file. when set properties -> c/c++ -> advanced -> compile -> "compile c++ code (/tp)", error error d8045: cannot compile c file 'xxx.c' /clr option.

after that, change properties -> c/c++ -> advanced -> compile -> "compile c code (/tc)", error error d8045: cannot compile c file 'xxx.cpp' /clr option.

i don't have idea solve problem. can give me help? thank you.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -