Thread: Interruptions
View Single Post
Old 24th October 2010, 17:12   #21
Join Date: Sep 2003
Posts: 27,873
if it is all in c++ then you'd just need to copy it into the plug-in and just use it as you need to. most likely you can just include the source files from the exe, make a header so you can access it from within the plug-in and then call what you need to in the plug-ins init(..).

obviously if the original source code is from an exe then you'll need to disable the main function (or rename it if you're going to use it in the init(..) otherwise you'll get a load of build errors, etc).

DrO is offline   Reply With Quote