Hai,
I used SqlConfigDataSource to configure datasources dynamically.If i use to call this function from
WinMain it works fine.But if i try to invoke it from main it give unresolvable symbol WinMain@16.

Can we do it directly using MFC's?

My problem is i have to create a dll and use it from another C application.I got success in creating an ordinary dll.
But when i try to invoke that function from my application during linking it self it gave the error unable to resolve extranal symbol WinMain@16.

Thanks for any help

with regards,
SubbaRao