Class Addition in Minidriver

Hello All

I want to develop a streaming mini driver and get videocap example from DDK as starting point. It is c based ,when I added a new class which has only constructor and destructor.It gives linking error as " LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main " while there is no main and DriverEntry is entry point for this driver.

When I removed the virtual destructor from this new class. compiler gives no error and accept class.

Can any body help in this matter. I will be thankful for any cooperation

Hamid Yaseen

Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup