hmi222 Posted November 25, 2012 Posted November 25, 2012 I think there is a linker option problem. But i doesn't know about that moment...
Freefall63 Posted November 26, 2012 Author Posted November 26, 2012 I think there is a linker option problem. But i doesn't know about that moment... What do you mean? You said you did compile it.. Just show me in a little video pls
hmi222 Posted November 26, 2012 Posted November 26, 2012 What do you mean? You said you did compile it.. Just show me in a little video pls what do yu mean? i thought its not running for yu? Your example works for me when I disable DEP. F*** this DEP s*** - it doesn´t work on any other pc because of this dep issue... What is to do to avoid this? or are we talking here against each other? for me its running. did yu test on another pc? Im using win7 ultimate.
Freefall63 Posted November 26, 2012 Author Posted November 26, 2012 It IS running, but only on my system or any windows 7 lol
MaxENC Posted November 27, 2012 Posted November 27, 2012 I don't make Play Resource Stream Please Help Me
Kurapica Posted November 27, 2012 Posted November 27, 2012 Sorry ! I really don't understand your english !
Freefall63 Posted November 27, 2012 Author Posted November 27, 2012 (edited) Try this:Dim Bytes() As Byte = {SB.Length - 1}I just saw that the magic dll was used, but I can´t find it in this package. You´ll need to include and set a reference to it to get it working. Edited November 27, 2012 by Freefall63
Kurapica Posted November 28, 2012 Posted November 28, 2012 1- Use the right root namespace to identify the resource not the assembly name2- Change target cpu to 0x863- change build type of the "chip.v2m" to "Embedded resource" , It was "none" in your case !v2m Player_fixed.rar
MaxENC Posted November 28, 2012 Posted November 28, 2012 Kurapica : Thank you brother but different v2m music not play ???
MaxENC Posted November 28, 2012 Posted November 28, 2012 Kurapica : Thank you brother but different v2m music not play ??? Under SEH - PCMedik 6.8.20.2010 kg.rar
Kurapica Posted November 28, 2012 Posted November 28, 2012 I mentioned that some V2M tracks are not supported by this DLL, you have to contact the Author or use a compatible track.
Freefall63 Posted November 28, 2012 Author Posted November 28, 2012 You can only play v1.0 v2m files with the magic dll. Here are some of my old works, but please credit me if you use them.If you are interested in more tunes and future works visit my ftp here:ftp://www.untergrund.net/users/Freefall/My modules.rar
Kurapica Posted November 28, 2012 Posted November 28, 2012 Some V2M tracks compatible with Magic DLLV2M.rar
Freefall63 Posted November 28, 2012 Author Posted November 28, 2012 You can find more on my ftp above
Freefall63 Posted December 9, 2012 Author Posted December 9, 2012 (edited) Well these are all native C++ Solutions. I would prefer an full managed way so I´ve started a codeplex Project here: http://nv2.codeplex.com/ I tried to convert the C++ Project into vb .net with a tool and could Need further help now. If you´re interested in thatyou are welcome to join the Project Team. Without help I won´t be able to get it working alone. Edited December 9, 2012 by Freefall63
Kurapica Posted December 9, 2012 Posted December 9, 2012 Hi I have few suggestions 1 - Why insist on a Managed DLL to play the V2M tracks ? in the end the same sound will come out of the speakers.2 - You can embed the native DLL into the managed exe as I have posted an example earlier.3 - VB.NET is not the correct choice to port the C++ code, the original C++ code will definitely contain pointers and some other Memory functions which will be a nightmare if even possible with VB.NET.4 - Try to use C# if you still insist on the managed DLL, C# supports a feature called "Unsafe Code", It will be easier when you port C++ code.5 - The managed exe relies on Native DLLs to run in Windows so don't believe any one who tells that using native DLLs in managed exes is a bad practice, Good luck.
Freefall63 Posted December 12, 2012 Author Posted December 12, 2012 (edited) Well you are right, but: - dmex doesn´t work because of dep issue - molebox is too expensive and I hate the nag of the demo version - C# is more or less the same as vb .net. So this really doesn´t matter. (only different Syntax...) - False, VB supports unsafe code. - I don´t like to extract it from ressource, because this is noobish and fills temp with waste... even if you clean it up afterwards. - I don´t know a packer that packs mixed mode assemblies, so the netmodules are no Option. (Tried to make one today, didn´t even get it linked lol) - Sure it is a nightmare, that´s why I Need help dude... I thought there would be somebody who has the skill and the will to help me, since kb and ryg don´t answer -.- - I know that the V1.5 uses direct Sound (dsound.dll, which is native coded in C++ 8 or 9 and not available on old OS but gives quite nice effect possibilities), but it is definately possible as you can see e.g. at NVorbis, NAudio, .NET FLAC, Sharpmod ... VB is not that strong, but also able. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- I know I´m hard to satisfy --> So if you could help me compiling a valid netmodule I would stop working on that, although it wouldn´t make me completely happy. See attached the object files of the C++ Player we will Need for the netmodule, libv2_1.5 WOKRING with dsound & C++ 2008.rar Edited December 12, 2012 by Freefall63
MaxENC Posted December 12, 2012 Posted December 12, 2012 Newbie : How play v2m1.5 not dll use vb.net projcet ? please help me brother :S
Kurapica Posted December 13, 2012 Posted December 13, 2012 - molebox is too expensive and I hate the nag of the demo version Maybe you can use the cracked version as long as your stuff is not commercial ? - False, VB supports unsafe code. VB.NET is more restrictive than C# in this respect. It does not permit the use of unsafe code under any circumstances. http://msdn.microsoft.com/en-US/library/vstudio/t2yzs44b.aspx http://msdn.microsoft.com/en-US/library/vstudio/chfa2zb8.aspx - I don´t like to extract it from ressource, because this is noobish and fills temp with waste... even if you clean it up afterwards. I think you have no idea what resource means ? we usually refer to internal PE resources and not any other binaries needed by the program and placed in a nearby folder. I wish I could help but I have no time these days... good luck
Freefall63 Posted December 13, 2012 Author Posted December 13, 2012 (edited) Maybe you can use the cracked version as long as your stuff is not commercial ? That is not a real solution for me. VB.NET is more restrictive than C# in this respect. It does not permit the use of unsafe code under any circumstances. Ok you are right, just looked it up, sry for that. It seems in fact to be the main difference, lol. I think you have no idea what resource means ? we usually refer to internal PE resources and not any other binaries needed by the program and placed in a nearby Folder. Of course I know what Resources are -.- It´s a fact that you can use any dll from ressource by extracting it from there to the harddisk at runtime. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- I´ll see what I can do and how far I can get alone with NV2. But I would be glad to know you in my team when you have the time and motivation. Perhaps there are some other People interested, too. Cheers mate. Edited December 13, 2012 by Freefall63
Freefall63 Posted December 31, 2012 Author Posted December 31, 2012 (edited) Well, I tried to work without dmex with hmi222´s dll, but wasn´t successful. Is there a way to get the dll Export arguments? Or could you help me to fix it?thx V2m 1.5 Player.rar Edited December 31, 2012 by Freefall63
hmi222 Posted January 1, 2013 Posted January 1, 2013 Ok, here's a test for VB.net and the new V2M V1.5 replayer WITHOUT DLL,It uses STATIC LIB. What a fu.... that .net @Freefall63:I converted yur sound to V2M V1.5, it was built with before 1.5 (Wrong VSTI). @everybody:Please test the attachment. If it runs i'll comment the code for usage and then i'll post here. For_Freefall63_V2M_V15 with StaticLib.zip
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