I have just created my first "Hello World" dll in CygWin for Windows!

My goal is to use this dll in my VC++ program using the #Imports statement as if it was just an ordinary dll.

When I do this I get this error

fatal error C1083: Cannot open type library file: 'c:\cygwin\bin\mydll.dll': Error loading type library/DLL.

I do this two calls to gcc to create the dll

gcc -c Hello.c
gcc -shared -o Hello.dll Hello.o

and I think I must be missing something like one or two calls to dllwrap and dlltool!

Help will be much appriciated!!