views:

20

answers:

0

Hi,

I'm working on migrating device driver for a specific device to windows7. For that I need to re-build old project using VS2008. I used the release exe and DLL to start up device loader and device driver. But services didnot start up. Even with the debug exe and DLL device loader and device driver did not start up. But, when I actually debug through the code for loader and driver, device loader and device driver started up.

I would like to know why services did not start up when I used debug DLL\EXE but started up when I actually run through code using the same debug DLL\EXE. Is there any difference in the way Struct Bye Allignment setting works when code is actually run through at debug time? also does pragma pack have any such effects at debug time?

Any potential information is appreciated.

Thanks.