fcsound.dll ?? where are you

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • RizlaUK
    Indigo Rose Customer
    • May 2006
    • 5552

    fcsound.dll ?? where are you

    has any one got a copy of worms fcsound.dll ?

    i got a folder where it should be with a text file listing the functions......but no dll :(
    Embrace change in your life, you never know, it could all work out for the best
  • Dermot
    Indigo Rose Customer
    • Apr 2004
    • 1791

    #2
    Here is the AMS 6 project with the dll.
    Last edited by Dermot; 11-14-2009, 09:33 PM.
    Dermot

    I am so out of here :yes

    Comment

    • Worm
      Indigo Rose Customer
      • Jul 2002
      • 3971

      #3
      ta da! :yes :yes

      Comment

      • RizlaUK
        Indigo Rose Customer
        • May 2006
        • 5552

        #4
        ah, there it is

        Cheers Dermot, and Cheers worm :yes
        Embrace change in your life, you never know, it could all work out for the best

        Comment

        • rexzooly
          No longer a forum member
          • Jul 2007
          • 1512

          #5
          Originally posted by RizlaUK View Post
          ah, there it is

          Cheers Dermot, and Cheers worm :yes
          How would i Mute in a simpler commd i don't under stand th code that well.

          and would i be able to use the SliderEX with this?

          Comment

          • rexzooly
            No longer a forum member
            • Jul 2007
            • 1512

            #7
            Originally posted by Worm View Post
            thanks worm :yes

            Comment

            • rexzooly
              No longer a forum member
              • Jul 2007
              • 1512

              #8
              Code:
              function MainMix.SetMute()
              	nReturn = String.ToNumber(DLL.CallFunction("AutoPlay\\DLL\\fcSound.dll", "IsMasterMuteOn", "", DLL_RETURN_TYPE_INTEGER, DLL_CALL_CDECL));
              	if nReturn == 0 then
              		-- Master Mute is Off
              	else
              		-- Master Mute Is On
              	end
              end
              how would i change my function to include the ture or fauls stament?

              Comment

              • Worm
                Indigo Rose Customer
                • Jul 2002
                • 3971

                #9
                Code:
                MainMix = {}
                
                MainMix.SetMute = function ()
                	bValue = false;
                	nReturn = String.ToNumber(DLL.CallFunction "AutoPlay\\DLL\\fcSound.dll", "SetMasterMuteOn", "", DLL_RETURN_TYPE_INTEGER, DLL_CALL_CDECL));
                	if nReturn ~= 0 then
                		-- Master Mute Is On
                		bValue = true;
                	end
                	return bValue
                end

                Comment

                • rexzooly
                  No longer a forum member
                  • Jul 2007
                  • 1512

                  #10
                  Originally posted by Worm View Post
                  Code:
                  MainMix = {}
                  
                  MainMix.SetMute = function ()
                  	bValue = false;
                  	nReturn = String.ToNumber(DLL.CallFunction "AutoPlay\\DLL\\fcSound.dll", "SetMasterMuteOn", "", DLL_RETURN_TYPE_INTEGER, DLL_CALL_CDECL));
                  	if nReturn ~= 0 then
                  		-- Master Mute Is On
                  		bValue = true;
                  	end
                  	return bValue
                  end
                  I allready have the MainMix ={}

                  So do i have to set all the MainMain. what ever as = functions?

                  Comment

                  • Worm
                    Indigo Rose Customer
                    • Jul 2002
                    • 3971

                    #11
                    Same result I believe. I posted that way as its my preferred method. I find it easier to look through the code when the name of the "action" is first.

                    Comment

                    • rexzooly
                      No longer a forum member
                      • Jul 2007
                      • 1512

                      #12
                      Originally posted by Worm View Post
                      Same result I believe. I posted that way as its my preferred method. I find it easier to look through the code when the name of the "action" is first.
                      Or ok i will demo 2 verosion see whats best for me thanks

                      Just read the post so will this work like this in the mute

                      MainMix.SetMut(true);

                      Comment

                      • rexzooly
                        No longer a forum member
                        • Jul 2007
                        • 1512

                        #13
                        also i get a error :(

                        code:
                        Code:
                        function MainMix.SetMute()
                        	bValue = false;
                        	nReturn = String.ToNumber(DLL.CallFunction "AutoPlay\\AutoPlay\\DLL\\fcSound.dll", "SetMasterMuteOn", "", DLL_RETURN_TYPE_INTEGER, DLL_CALL_CDECL);
                        	if nReturn ~= 0 then
                        		DLL.CallFunction("AutoPlay\\DLL\\fcSound.dll", "SetMasterMuteOn", "", DLL_RETURN_TYPE_INTEGER, DLL_CALL_CDECL);
                        		bValue = true;
                        	end
                        	return bValued
                        end
                        Last edited by rexzooly; 11-15-2009, 03:54 PM.

                        Comment

                        • RizlaUK
                          Indigo Rose Customer
                          • May 2006
                          • 5552

                          #14
                          you have no close bracker on your first dll call

                          Code:
                          nReturn = String.ToNumber(DLL.CallFunction "AutoPlay\\Docs\\SoundSys.UFL", "SetMasterMuteOn", "", DLL_RETURN_TYPE_INTEGER, DLL_CALL_CDECL);
                          should be
                          Code:
                          nReturn = String.ToNumber(DLL.CallFunction "AutoPlay\\Docs\\SoundSys.UFL", "SetMasterMuteOn", "", DLL_RETURN_TYPE_INTEGER, DLL_CALL_CDECL)[COLOR="Red"])[/COLOR];
                          Embrace change in your life, you never know, it could all work out for the best

                          Comment

                          • rexzooly
                            No longer a forum member
                            • Jul 2007
                            • 1512

                            #15
                            Originally posted by RizlaUK View Post
                            you have no close bracker on your first dll call

                            Code:
                            nReturn = String.ToNumber(DLL.CallFunction "AutoPlay\\Docs\\SoundSys.UFL", "SetMasterMuteOn", "", DLL_RETURN_TYPE_INTEGER, DLL_CALL_CDECL);
                            should be
                            Code:
                            nReturn = String.ToNumber(DLL.CallFunction "AutoPlay\\Docs\\SoundSys.UFL", "SetMasterMuteOn", "", DLL_RETURN_TYPE_INTEGER, DLL_CALL_CDECL)[COLOR="Red"])[/COLOR];
                            also should be AutoPlay\\DLL\\fcSound.dll

                            i should not edit when tired lol ok i will try and fix this thanks Riz

                            Comment

                            Working...
                            X