From: Tor L. <tm...@ik...> - 2007-11-18 01:55:56
|
> This is a problem when you try to compare function pointers. True, but that is not something code in general does very often? But OK, if you have code that does this a lot, and/or want to guard against that happening you do have to use dllimport decorations. Personally I would just try to be careful and look out for that gotcha, and when necesssary use GetProcAddress() (or a suitable portability wrapper of it) to get the real address of imported functions instead of using the symbol directly. --tml |