4 of 6
4
Creating multitouch applications
Posted: 17 July 2008 12:05 AM   [ Ignore ]   [ # 46 ]
Sr. Member
RankRankRank
Total Posts:  286
Joined  2007-07-14

right, I have to change message smile
multitouch service have to be running when you start configuration.

Profile
 
 
Posted: 17 July 2008 09:19 PM   [ Ignore ]   [ # 47 ]
New Member
Avatar
Rank
Total Posts:  96
Joined  2007-12-12
Daniel D - 17 July 2008 12:05 AM

right, I have to change message smile
multitouch service have to be running when you start configuration.

That did the trick.  I opened multitouch.service.console.exe - then I opened multitouch.configuration.WPF.exe - changed it to touchlib.  I was having problems with the touchlib just coming up for a second and then all the windows disappearing.  So I tried switching to TUIO in multitouch.configuration.wpf.exe. 

So I opened my osc.exe in touchlib, then FlashOSC, pressed start and opened the testapplication.exe - It’s working with my miniMT test box!  I can’t wait to try this out on my table ~ I will continue trying touchlib.  Thanks!

 Signature 

http://multitouchproject.blogspot.com/

Profile
 
 
Posted: 18 July 2008 02:04 AM   [ Ignore ]   [ # 48 ]
Sr. Member
RankRankRank
Total Posts:  286
Joined  2007-07-14

That is a problem I was mentioning with CsTI. I have developed my own wrapper of touchlib. I will make check-in soon.
Glad that MultiTouchVista is working for you smile

Profile
 
 
Posted: 19 July 2008 09:58 PM   [ Ignore ]   [ # 49 ]
New Member
Rank
Total Posts:  24
Joined  2008-07-02

the MultTouch Vista project just made a release. does that mean that we dont have to compile?

Profile
 
 
Posted: 20 July 2008 04:06 AM   [ Ignore ]   [ # 50 ]
Sr. Member
RankRankRank
Total Posts:  286
Joined  2007-07-14

Release is compiled from source code from 15-16 July. As of July 20 it uses the latest check-in.

Profile
 
 
Posted: 20 July 2008 01:28 PM   [ Ignore ]   [ # 51 ]
New Member
Rank
Total Posts:  24
Joined  2008-07-02

when i open “multitouch.service.console.exe” it says “multitouch service console has stopped working” and then it closes it. any help?

I’ve built the “multitouch hello world” project in C#, but when i try to debug it it says “‘Window1’ is an unexpected token. Expecting white space. Line 5, Position 12.’ XMl is not valid”. could it be because i didnt use the recommended colours for the text block? instead of “white” text and “lightblue” background i use “white” for the foreground and “darkgray” for the background.

here’s all my code:
---------------------------------------------------------
Window1.xaml
---------------------------------------------------------
<Window x:Class="MultitouchHelloWorld.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mt="http://schemas.multitouch.com/Multitouch/2008/04
Title="Window1" Height="300" Width="300">





---------------------------------------------------------
App.xaml
---------------------------------------------------------
<Application x:Class="MultitouchHelloWorld.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="Window1.xaml">




---------------------------------------------------------

Profile
 
 
Posted: 20 July 2008 01:57 PM   [ Ignore ]   [ # 52 ]
Sr. Member
RankRankRank
Total Posts:  286
Joined  2007-07-14

You have not closed xmlns:mt definition. There is no “ after 2008/04.

If you start multitouch.service.consol.exe from command prompt it will not disappear on crash and will show exception text that you can post here.

Profile
 
 
Posted: 20 July 2008 02:16 PM   [ Ignore ]   [ # 53 ]
New Member
Rank
Total Posts:  24
Joined  2008-07-02

ok, i fixed both the quotations and inserted after the TextBox xaml.

but now its giving me an error saying “Partial Declarations of ‘MultitouchHelloWorld.Window1’ must not specify different base classes.”

here’s the code:

-----------------------------------------------
Window1.xaml.cs
-----------------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace MultitouchHelloWorld
{
///


/// Interaction logic for Window1.xaml
///

public partial class Window1 : Multitouch.Framework.WPF.Controls.Window
{
public Window1()
{
InitializeComponent();
}
}
}
------------------------------------------------------------

of course, its saying that the error is around the code “public partial class Window1 : Multitouch.Framework.WPF.Controls.Window”

Profile
 
 
Posted: 20 July 2008 03:32 PM   [ Ignore ]   [ # 54 ]
Sr. Member
RankRankRank
Total Posts:  286
Joined  2007-07-14

You have to change:
to

this steps are described in Hello World tutorial on codeplex.

Profile
 
 
Posted: 20 July 2008 05:46 PM   [ Ignore ]   [ # 55 ]
New Member
Rank
Total Posts:  24
Joined  2008-07-02

I do not see all of the text that you typed, Daniel.

Also, how do I open it in commandpromt? I know to open “cmd” and then it says “C:\Users\Admin>“, but what do i type in?

Profile
 
 
Posted: 21 July 2008 01:37 AM   [ Ignore ]   [ # 56 ]
Sr. Member
RankRankRank
Total Posts:  286
Joined  2007-07-14

I have seen your comment on codeplex. I will try to make a video. Hope that text can be read with youtube quality.
Now to command prompt. run cmd. Then use “x:” to change drive. Where X is your drive. Then use “cd directory” to change your current directory. Use “cd ..” to go directory one level up. And “cd \” to go to root.

Profile
 
 
Posted: 21 July 2008 10:17 AM   [ Ignore ]   [ # 57 ]
New Member
Rank
Total Posts:  24
Joined  2008-07-02

????

i cant just type in “X”, i have to give a file location. but when i give the location of Multitouch.service.Console.exe it says “system cannot find the specified file source.”

can you please tell me step-by-step, or tell me when you’ve got the video ready?

thanks,
nick

ACTUALLY: scratch that. i opened Multitouch.Service.Console in the cmd. but as soon as i hit enter it says “Multitouch.Service.Console has stopped working”

Profile
 
 
Posted: 22 July 2008 04:18 AM   [ Ignore ]   [ # 58 ]
Jr. Member
RankRank
Total Posts:  119
Joined  2008-02-04

Make sure that you have .NET Framework 3.5 installed

Profile
 
 
Posted: 22 July 2008 09:24 AM   [ Ignore ]   [ # 59 ]
New Member
Rank
Total Posts:  24
Joined  2008-07-02

Well, I have all of Expression Blend Studio 2, as well as Visual C++, Visual C# and Visual Basic. all 2008 editions. so, i believe (and hope) that i have .NET 3.5

Profile
 
 
Posted: 22 July 2008 12:34 PM   [ Ignore ]   [ # 60 ]
Jr. Member
RankRank
Total Posts:  119
Joined  2008-02-04

If your not sure you can always just run the installer, it will detect if you got it installed, and it only downloads the files it need when you run the setup.. smile
(sorry i’m out of idea’s unless you can post the exact error message)

Profile
 
 
   
4 of 6
4