S
Stefan Slapeta
Hi all,
I wonder how to specify the delayload option for the linker in a cpp file.
In VC 6 this was possible by writing
#pragma comment (linker, "/delayload:some_lib.dll")
When I do the same in 7.1, I get the message
abc.lib(xy.obj) : warning LNK4229: invalid directive
'/DELAYLOAD:some_lib.dll' encountered; ignored
although the syntax of the option is correct IMO.
Any solutions?
Thanks,
Stefan
I wonder how to specify the delayload option for the linker in a cpp file.
In VC 6 this was possible by writing
#pragma comment (linker, "/delayload:some_lib.dll")
When I do the same in 7.1, I get the message
abc.lib(xy.obj) : warning LNK4229: invalid directive
'/DELAYLOAD:some_lib.dll' encountered; ignored
although the syntax of the option is correct IMO.
Any solutions?
Thanks,
Stefan