Problems with Source Code 4.0
- When I try and Build the ConferenceAPI solution without any alteration, I get "The referenced component 'MessengerAPI' could not be found." along with errors concerning the same. Why does this happen and what can I do to fix it? I tried "using MessengerAPI" which was suggested in another forum.
All Replies
Are you building on Vista? The Messenger APIs are not installed on Vista by default. You need to install Windows Live Messenger and reset the Reference, or you can pick up our checkin out at CodePlex that contains a fix for that!
JVE
- Ok, that works now. Are they any fixes or mods concerning the BARUI solution?
Which of my proposed solutions did you try? The easiest thing to do is download the latest source code from CodePlex and use it. We have fixed all known Vista compatibility issues (install, runtime, and build).
JVE
- Thank you
- I am building on Vista Home Premium, but there are still errors with the Build on CodePlex. The BarUI solution has 15 errors concerning the ArchiveService, IArchiveServer, and ArchiveState:
Error 1 The type or namespace name 'ArchiveService' does not exist in the namespace 'MSR.LST.ConferenceXP' (are you missing an assembly reference?) C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\MSR.LST.ConferenceXP\BarUI\frmArchiveClient.cs 6 28 BarUI
Error 4 The type or namespace name 'IArchiveServer' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\MSR.LST.ConferenceXP\BarUI\frmArchiveClient.cs 272 17 BarUI
Error 11 The type or namespace name 'ArchiverState' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\MSR.LST.ConferenceXP\BarUI\FMain.cs 2363 18 BarUI Which changelist did you download? As of checkin 3702, we no longer have a BarUI, it has finally been renamed to CXPClient. :-)
In any event, you need to make sure and run 'cxpclean.bat & cxpbuild.bat release > buildr.log'. If that builds with errors, please email me the build log.
JVE
- Thanks! It works perfect :-)
I just had 2 questions:
What and where is the actual function call to actually initiate or start compression?
The CaptureGraph holds both the VideoCaptureGraph and the AudioCaptureGraph
information? And if so, where is that in the code (where is the information passed)? Compressors are filters in the CaptureGraph. You can trace the code through adding a compressor and setting the compression quality.
VideoCaptureGraph and AudioCaptureGraph inherit from CaptureGraph, yes. I don't understand the rest of your question though.
The best way to learn a new code base is to put break points in classes that you are interested in and find out when they get called (by looking back up the stack trace), etc.
JVE
- From what I understand, the code searching the system its on for compressors. But what I am asking is when the compressor for the video type is found, what statement in the code that starts compression with the found compressor?
In terms of the second question, where in the code is the information passed between the capturegraphs? You start by loading the filters in the FilterGraph, and then the FilterGraph starts processing data when you call Run.
There is no information passed between a VideoCaptureGraph and an AudioCaptureGraph. There is also no information "passed" between a VideoCaptureGraph and a CaptureGraph because a VideoCaptureGraph *is a* (inheritance) CaptureGraph.
JVE
- When I try to build on a Windows XP system, I get the following errors (for just the ConferenceAPI solution):
Error 1 The type or namespace name 'Ink' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\RTDocuments\RTDocuments\RTStroke.cs 6 17 RTDocuments
Error 2 The type or namespace name 'Ink' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\RTDocuments\RTDocuments\RTStroke.cs 18 17 RTDocuments
Error 3 The type or namespace name 'Stroke' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\RTDocuments\RTDocuments\RTStroke.cs 72 16 RTDocuments
Error 4 The type or namespace name 'Strokes' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\RTDocuments\RTDocuments\RTStroke.cs 100 16 RTDocuments
Error 5 'MSR.LST.RTDocuments.RTStroke.Stroke' is a 'property' but is used like a 'type' C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\RTDocuments\RTDocuments\RTStroke.cs 147 71 RTDocuments
Error 6 'MSR.LST.RTDocuments.RTStroke.Stroke' is a 'property' but is used like a 'type' C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\RTDocuments\RTDocuments\RTStroke.cs 179 53 RTDocuments
Error 7 'MSR.LST.RTDocuments.RTStroke.Stroke' is a 'property' but is used like a 'type' C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\RTDocuments\RTDocuments\RTStroke.cs 251 119 RTDocuments
Error 8 The type or namespace name 'Stroke' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\RTDocuments\RTDocuments\RTStroke.cs 328 102 RTDocuments
Error 9 The type or namespace name 'Ink' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\RTDocuments\RTDocumentUtilities\RTDocumentHelper.cs 8 17 RTDocumentUtilities
Error 10 The type or namespace name 'Stroke' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\RTDocuments\RTDocumentUtilities\RTDocumentHelper.cs 184 37 RTDocumentUtilities
Error 11 The type or namespace name 'Stroke' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\RTDocuments\RTDocumentUtilities\RTDocumentHelper.cs 191 50 RTDocumentUtilities
Error 12 The type or namespace name 'Stroke' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\RTDocuments\RTDocumentUtilities\RTDocumentHelper.cs 199 39 RTDocumentUtilities
Error 13 The type or namespace name 'Stroke' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\RTDocuments\RTDocumentUtilities\RTDocumentHelper.cs 206 52 RTDocumentUtilities
Warning 14 Could not resolve this reference. Could not locate the assembly "Microsoft.Ink". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. RTDocuments
Warning 15 Could not resolve this reference. Could not locate the assembly "Microsoft.Ink". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. RTDocumentUtilities
What do you think could be wrong? I would guess you haven't installed the Tablet 1.7 SDK. :-)
JVE
- Hi
I'm from Chile (I'm sorry if my english is not that good :-) ) and I'm really new in the ConferenceXP world and in Visual Studio...and I would really appreciate if you guys could give me a hand :-).
I have a TabletPC and I'm working on Windows Vista and Visual Studio 2008.
In a previous post in this thread, I read that the checking 3702 has no problems with Vista so I downloaded it from CodePlex and I followed the instructions and ran "cxpclean.bat & cxpbuild.bat release > buildr.log". When I did that i got an error about msbuild that it wasn't an intern o extern command. Anyway, in the buildr.log is this:
C:\Users\Andres\Documents\Visual Studio 2008\Projects\conferencexp-3702>msbuild .\Solutions\ConferenceAPI.sln /t:Build /p:Configuration=release
C:\Users\Andres\Documents\Visual Studio 2008\Projects\conferencexp-3702>msbuild .\Solutions\ServiceCommon.sln /t:Build /p:Configuration=release
C:\Users\Andres\Documents\Visual Studio 2008\Projects\conferencexp-3702>msbuild .\Solutions\Archive.sln /t:Build /p:Configuration=release
C:\Users\Andres\Documents\Visual Studio 2008\Projects\conferencexp-3702>msbuild .\Solutions\VenueService.sln /t:Build /p:Configuration=release
C:\Users\Andres\Documents\Visual Studio 2008\Projects\conferencexp-3702>msbuild .\Solutions\Reflector.sln /t:Build /p:Configuration=release
C:\Users\Andres\Documents\Visual Studio 2008\Projects\conferencexp-3702>msbuild .\Solutions\AudioVideo.sln /t:Build /p:Configuration=release
C:\Users\Andres\Documents\Visual Studio 2008\Projects\conferencexp-3702>msbuild .\Solutions\Capabilities.sln /t:Build /p:Configuration=release
C:\Users\Andres\Documents\Visual Studio 2008\Projects\conferencexp-3702>msbuild .\Solutions\CXPClient.sln /t:Build /p:Configuration=release
C:\Users\Andres\Documents\Visual Studio 2008\Projects\conferencexp-3702>msbuild .\Solutions\AudioVideo_Samples.sln /t:Build /p:Configuration=release
C:\Users\Andres\Documents\Visual Studio 2008\Projects\conferencexp-3702>msbuild .\Solutions\ConferenceAPI_Samples.sln /t:Build /p:Configuration=release
C:\Users\Andres\Documents\Visual Studio 2008\Projects\conferencexp-3702>msbuild .\Solutions\RtpAPI_Samples.sln /t:Build /p:Configuration=release
C:\Users\Andres\Documents\Visual Studio 2008\Projects\conferencexp-3702>devenv .\Solutions\Setup\Archive_Setup.sln /Build release
C:\Users\Andres\Documents\Visual Studio 2008\Projects\conferencexp-3702>devenv .\Solutions\Setup\CXPClient_Setup.sln /Build release
C:\Users\Andres\Documents\Visual Studio 2008\Projects\conferencexp-3702>devenv .\Solutions\Setup\Reflector_Setup.sln /Build release
C:\Users\Andres\Documents\Visual Studio 2008\Projects\conferencexp-3702>devenv .\Solutions\Setup\VenueService_Setup.sln /Build release
I hope is everything OK until here. If not, I hope you can guide me, because I've been looking a lot on the internet ans it took me a while to find this thread.
My question is: What's next?...I mean, If I want to run ConferenceXP from Visual Studio 2008, what do i have to do? Do I have to open in Visual Studio 2008 the CXPClient solution?
And how can I use the code?...I mean, if I create an applicattion and I need that when I press a button it executes ConferenceXP, what should I do?
I'm sorry if this is the wrong thread to post this, but I'm kind of desperate and I really need help with this, so if someone could help me I'd really really really appreciate it.
Regards.

