Cuda .lib

I used ‘CUDA Windows Application Wizard’ to create a file .lib
Now how do I use this library in a C program? When I try to call the function TestHelloCuda the compiler(gcc in Windows XP) go in error:

`TestHelloCUDA’ undeclared (first use this function)

Hello !

Did you use some extern “C” declaration ?

You should post your code to have more answers ;)

That be, using gcc to link on windows may be tricky because nvcc use cl to compile.
(see my post :…mp;#entry460724
I explain a workaround if you have more link pbs).

with the valuable help of kyzhao (In the thred…=#entry465791)I came to the conclusion that will create a dll