When I build Multitouch.Service.sln it just says “Build Successful”.
Did you want me to press F5 to debug? B/c when I do that it says “A project without an Output Class cannot be started directly. In order to debug this project, add an executable project to this solution which references the library project. Set the executable project as the startup project.”
Where does pipeline builder fit in? Is it just working behind the scenes, or do I need to open it up and do anything in there?
edit:
BTW, when I attempted to compile dwmaxx from that source code I got a lot of errors. If I was able to successfully register those 2 .dll files - do I need to compile dwmaxx still?
You don’t need anything to do with Pipeline builder. Install it and forget about it.
In Multitouch.Service.sln select Multitouch.Service.Console as a startup project. Right click on it and select “Set as Startup project”. Then you press F5 to start a project.
If you can register dwmaxx.dll you don’t need to compile yourself. To compile dwmaxx from source code you need DirectX SDK, Platform SDK, ....
I did as you said with Multitouch.Services.sln and now when I start debugging it- It pulls up a dos window and acts like it’s starting a service but then there’s another exception (pic of debug attached):
Multitouch.Service.Logic.MultitouchException was unhandled
Message="Input provider ‘MultipleMice.InputProvider’ could not be found”
Source="Multitouch.Service.Logic"
StackTrace:
at Multitouch.Service.Logic.MultitouchInput.Start() in C:\Users\Administrator\Documents\Visual Studio 2008\Projects\MultiTouchVista1\Main Source\Multitouch.Service.Logic\MultitouchInput.cs:line 43
at Multitouch.Service.Console.Program.Main() in C:\Users\Administrator\Documents\Visual Studio 2008\Projects\MultiTouchVista1\Main Source\Multitouch.Service.Console\Program.cs:line 11
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
Did you compiled Multitouch.InputProviders.sln before?
Yeah, when it gave me that error I made sure that it was compiled. I redid everything in the exact order that is listed in the instructions on the MTVista site.
Did you compiled Multitouch.InputProviders.sln before?
Yeah, when it gave me that error I made sure that it was compiled. I redid everything in the exact order that is listed in the instructions on the MTVista site.
Make sure you have following directory structure:
Output
|----AddIns
| |---MultitpleMice
| |---MultipleMice.dll
|Multitouch.Service.Console.exe
The only thing different: my multipleMice.dll was inside of my multipleMice folder.
I copied and pasted it into the AddIns folder (which contained mainly folders, no other .dll’s).
I still get those errors when debugging. I thought maybe I should paste multiplemice.dll into my Multitouch.Service.Logic folder - but that didn’t work either.
Multitouch.Service.sln successfully builds - When I debug it - the WCF Service Host icon appears on my taskbar - but then it gives me these same errors:
Multitouch.Service.Logic.MultitouchException was unhandled
Message="Input provider ‘MultipleMice.InputProvider’ could not be found”
Source="Multitouch.Service.Logic"
StackTrace:
at Multitouch.Service.Logic.MultitouchInput.Start() in C:\Users\Administrator\Documents\Visual Studio 2008\Projects\MultiTouchVista1\Main Source\Multitouch.Service.Logic\MultitouchInput.cs:line 43
at Multitouch.Service.Console.Program.Main() in C:\Users\Administrator\Documents\Visual Studio 2008\Projects\MultiTouchVista1\Main Source\Multitouch.Service.Console\Program.cs:line 11
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
great, that worked Daniel. thank you. now, on to Multitouch.Service.sln :(
when i try to open it, it says its not compatible with this installation of visual studio (but, in like 4 different windows). it also gives me 5 errors, and 4 warnings when i try to build it.
the majority of both are dealing with Multitouch.ServiceLogic.sln , dwmaxxLib , DWMInjector Class and DWEx .
here are the screenshots, showing each window and all the errors.
i’d really like step-by-step instructions if its possible. thanks in advance
If you still want to compile you can use msbuild.exe. Just start command prompt and run following commands:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe Multitouch.Contracts.sln
C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe Multitouch.InputProviders.sln
C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe Multitouch.Service.sln /p:Configuration="Debug"
or if you want DWMaxx addin (register dwmaxx.dll with regsvr32 before compiling):
C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe Multitouch.Service.sln /p:Configuration="Debug with DWMaxx”
C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe Multitouch.Framework.sln
I got the new check-in today, compiled each .sln, and I’m now able to open Multitouch.Service.Console.exe!
I get the 2 red dots for my mice that are connected. They are both working.
So then I go and open TestApplication.exe located here: \main source\Framework\TestApplication\bin\Debug\TestApplication.exe
Then it gives me the dw20.exe error, I click cancel to debug, it gives me the debug screen...then TestApplication.exe gives me an error, I press cancel to debug and I get the error in the picture attached to this post.
Sorry, I have forgot to remove TabletPC dependencies. You can now download “Only Framework binaries for non TabletPC” file and replace the files in Framework directory.
Got the test working with the two mice! Thanks very much for all your help.
How do you exit the test app? I pressed escape and enter...but the only way I can get out of it is control alt delete > task manager and force the window to close. Same with most of the .wpf samples I’ve compiled with the other framework.
Is it possible to run the test app with my table running touchlib? Or is it just able to read the mice input? I will now redo the hello world/photo project.
you can exit any windows application using Alt+F4. yes, you can use touchlib and your table. try Multitouch.Configuration.WPF.exe to switch input provider. touchlib input provider uses CsTI. it is not very stable on my computer. try it and tell me if it worked.
you can exit any windows application using Alt+F4. yes, you can use touchlib and your table. try Multitouch.Configuration.WPF.exe to switch input provider. touchlib input provider uses CsTI. it is not very stable on my computer. try it and tell me if it worked.
When I went to \main source\configuration\Multitouch.Configuration.WPF\ to compile Multitouch.Configuration.WPF.exe - it said that it couldn’t find the reference multitouch.configuration. Then when I debug it, I get these errors (pics attached)