Quick Sign In:  

Forum: VirtualDJ Plugins

Topic: Anyone used IPC to communicate with VDJ ?

This topic is old and might contain outdated or incorrect information.

pernPRO InfinityMember since 2004

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.
 

Posted Mon 04 Aug 08 @ 11:44 am
SBDJPRO Infinity Member since 2006
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
 

Posted Tue 05 Aug 08 @ 5:54 am
pernPRO InfinityMember since 2004
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.
 

Posted Tue 05 Aug 08 @ 6:24 am
SBDJPRO Infinity Member since 2006
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!
 

Posted Tue 05 Aug 08 @ 6:37 am
pernPRO InfinityMember since 2004
That is a cool idea, would it be possible that you could share the code ?
 

Posted Tue 05 Aug 08 @ 7:19 am
SBDJPRO Infinity Member since 2006
If I can find it, no problem :)
 

Posted Tue 05 Aug 08 @ 7:43 am
djcelPRO InfinityModeratorMember since 2004
You can use C++ . NET too

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

Posted Thu 07 Aug 08 @ 4:14 am
pernPRO InfinityMember since 2004
I know i can do some with that. But, im mainly a C# Guy ;-)
 

Posted Thu 07 Aug 08 @ 8:11 am
pernPRO InfinityMember since 2004
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.
 

Posted Fri 08 Aug 08 @ 5:28 am
pernPRO InfinityMember since 2004
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
 

Posted Fri 08 Aug 08 @ 5:46 am
djcelPRO InfinityModeratorMember since 2004
No you don't need to load MFC except you want to use it
 

Posted Fri 08 Aug 08 @ 11:12 am


(Old topics and forums are automatically closed)