I am having trouble with the link phase of a visual studio 2012 MFC project. From my MFC code I only call one function called Draw(…) in the CU file. I have defined this as “extern “C” Draw(…)” in the header file for the MFC include. I am getting an error from Visual studio that “_Draw” cannot be resolved. I tried to explicitly include the object file that the CUDA compile creates but I got the same error. I now assume this issue is probably related to conflicting decorations of names in the object files. I am wondering if there is a solution for this problem.