Works on this but not that PC (1 Viewer)

JDWestoby

MP Donator
  • Premium Supporter
  • April 9, 2008
    265
    32
    68
    Poltimore, Devon
    Home Country
    United Kingdom United Kingdom
    Hi all

    OK, I have a plugin that calls Utils.PlaySound("Dog.wav",False,True), actual [VB] code is -

    PrivateFunction ActionPlay(ByRef Value AsString) AsString
    'Dim f As String = GUIGraphicsContext.Skin & "\Sounds\" & Value
    Dim r As Integer = Utils.PlaySound(Value, False, True)
    Return"" & r
    EndFunction


    On the 64 bit Win7 laptop I use for dev (and has MP12 on it) it works - doggy goes woof.

    Copy the plugin and wav files (the Titan\Sounds and Titan\Themes\Classic\Sounds [just in case, I use a Classic UI]) to Win7 32 Bit with MP12 on it (and it does play TV/Radio etc.)

    Call the routine (via Telnet or locally via my Automator plugin) and nothing.....

    The return is zero (as above) regardless.

    Yes, the other netbooks have the volume up <grin>.

    Anyone got any bright ideas before I try to install Visual Studio 12 on the netbook....?
     

    JDWestoby

    MP Donator
  • Premium Supporter
  • April 9, 2008
    265
    32
    68
    Poltimore, Devon
    Home Country
    United Kingdom United Kingdom
    OK, this is weird - I don't generally have the key sounds on (why bother) but on the dev laptop I did...

    Looking at the MP code shows that this has to be enabled to work.

    Do I feel like a dum***ss or what!
     

    Users who are viewing this thread

    Top Bottom