Ivo Pereira Posted October 13, 2009 at 10:25 PM Report Share #291600 Posted October 13, 2009 at 10:25 PM Boas pessoal, dado que não sou programador de C#, e apenas precisava de uma coisa compilada, vim aqui perguntar se me poderiam fazer um favor. Será que me podiam fazer o capítulo Building the Wrapper deste site: http://www.fmod.org/wiki/index.php5?title=VB ? É que necessita de ser compilado em C#. Abraço 👍 Link to comment Share on other sites More sharing options...
apocsantos Posted October 14, 2009 at 08:19 AM Report Share #291621 Posted October 14, 2009 at 08:19 AM O codigo que está no site que indicas-te está em VB dot Net. Queres que compile o codigo VB ou o link está errado?? "A paciência é uma das coisas que se aprendeu na era do 48k" O respeito é como a escrita de código, uma vez perdido, dificilmente se retoma o habito" Link to comment Share on other sites More sharing options...
Ivo Pereira Posted October 14, 2009 at 04:12 PM Author Report Share #291667 Posted October 14, 2009 at 04:12 PM Se não reparaste no capítulo onde disse, diz para ser compilado em C# 🙂 Building the WrapperBefore FMOD Ex can be used with VB.Net, a .dll file must be compiled using C# in Visual Studio .Net (Note: If you do not have this compiler, a link to a .dll is provided in the External Link section). This process will needs to repeated each time a new version of FMOD is made available. To create a wrapper .dll, complete the following steps: 1. Create a new C# Class Library project, say you name it "FMODWrapper". 2. Change its namespace to FMODWrapper, (In project menu, "FMODWrapper properties", "Application" tab, "Namespace". 3. Add the files "fmod.cs", "fmod_dsp.cs", "fmod_errors.cs" to your project, 4. Build the .dll The FMODWrapper.dll should now be available in your "bin\Release" folder Estes ficheiros que é suposto serem adicionados ao produto final, podem ser encontrados após instalar este pacote: http://www.fmod.org/index.php/release/version/fmodapi42609win32-installer.exe Abraço e obrigado a quem me fizer este grande favor 😄 Link to comment Share on other sites More sharing options...
Ivo Pereira Posted October 14, 2009 at 05:12 PM Author Report Share #291674 Posted October 14, 2009 at 05:12 PM Resolvido, obrigado apocsantos pela compilação 🙂 Abraço Link to comment Share on other sites More sharing options...
Triton Posted October 14, 2009 at 05:24 PM Report Share #291675 Posted October 14, 2009 at 05:24 PM Bem que podias ter instalado o Visual C# Express. Em 10 minutos tinhas isso pronto. 😁 <3 life Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now