Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SetAudioVolume warning
#1
Hi Gintaras, hi all

i use SetAudioVolume in a macro, and when used, i get this warning:

Warning in SetAudioVolume: Some tagPROPVARIANT members that have implicit or explicit constructor/destructor/copy functions are in union with other members. These functions will not be called. You may have to explicitly clear these members to avoid memory leak. ?
Warning in SetAudioVolume: Some PROPVARIANT members that have implicit or explicit constructor/destructor/copy functions are in union with other members. These functions will not be called. You may have to explicitly clear these members to avoid memory leak. ?
Warning in SetAudioVolume: Some PROPVARIANT members that have implicit or explicit constructor/destructor/copy functions are in union with other members. These functions will not be called. You may have to explicitly clear these members to avoid memory leak. ?

The code is just SetAudioVolume(0)

Any Idea?
#2
Maybe in old SetAudioVolume version missing

#opt nowarnings 1 ;;PROPVARIANT is union containing composite types
#3
#opt nowarnings 1 added in SetAudioVolume definition file seems to cure it.
Thanks


Forum Jump:


Users browsing this thread: 1 Guest(s)