Entra:     


Forum: VirtualDJ Plugins

Topic: Anyone used IPC to communicate with VDJ ?

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.


Has anyone used Inter-process communication (IPC) to communicate with VDJ via a plugin ? Like Named Pipes etc.

Thinking if that could be a solution to communicate with VDJ from a .NET app.
 

Inviato Mon 04 Aug 08 @ 11:44 am
So you mean basically having a plugin act as a wrapper for various VDJ stuctures/functions, and then being able to call that plugin externally? I don't see any reason why not, I've done it with an plugin which acted as a TCP server and communicated with an application built for the .net compact framework.

Regards,

Scott
 

Yes, that is exactly what i want to do. It's a big problem sometimes not to be able to do Plugins in .NET. Or to get info out of VDJ to external apps.

Small stuff is ok to write as C++ COM plugins. But for larger stuff and when handling different hardware etc it's not that fun.
 

Well it's definately possible, and not really difficult. As I said I wrote a plugin that acted as a TCP server, which a remote client on a Windows Mobile PDA connected to for remote control of Virtual DJ.

If I managed it, you definately can!
 

That is a cool idea, would it be possible that you could share the code ?
 

If I can find it, no problem :)
 

You can use C++ . NET too

just add "#using <mscorlib.dll>" at the beginning of the file
 

I know i can do some with that. But, im mainly a C# Guy ;-)
 

I got the .NET C# part figured out now for the the Named Pipes stuff.

But, if anyone know about a C++ Named Pipes Lib with support for Full Duplex, please share the info ;-) I have found some libs, but they don't support Full-Duplex.
 

djcel wrote :
You can use C++ . NET too

just add "#using <mscorlib.dll>" at the beginning of the file



So i can build a mapper using Managed C++ ? Guess i should use a MFC DLL.

But What Should i select

- Regular DLL Using Shared MFC DLL
- Regular DLL with MFC Statically linked
- MFC Extension DLL

This could be very interesting if i can use WCF here. That would save a lot of time.

I'm using VS 2008
 

No you don't need to load MFC except you want to use it
 



(Vecchi argomenti e forum sono automaticamente chiusi)