My English is not very good and I'm sorry for that.
I have a video codec project for windows(C++), based on VFW interface. It compiles into dll, setups and runs successfully.
What i want is to add CUDA kernel functions to force/improve some algorithm steps.
I have installed SDK, toolkit and wizard. Applied CUDA rule to project. Added .cu file with my kernel function and a .cu file which represents a wrapper to kernel.
I've also read this topic and applied all as well.
Mostly everything goes well, but I got this only
1>Linking..
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartuperror:
The type of the project was set correctly before, I can say that because the project was running well before i added .cu files, applied rules.