using CANalyzer libraries in Microsoft visual studios - c++

I'm trying to use CAPL/CANalyzer functions in visual studio. I found some information on how to implement it in the CAPL help menu, but when i try I can't seem to get it to work. Is there any online resource on how to do this?

the Vector knowledgebase is online
Think the best way to start is to open CANalyzer Sample Configurations Folder in My Documents and to find a lot of samples for specific aspects.
There is also lot of information on CANalyzer help-pages, for example in:
.NET Programming ยป Notes for Advanced Users
you can find the reference to which assemblies do you need
If you have a specific problem please provide more information: what you trying to do, what is your expectation and what is going wrong.

I don't think that is possible with CANalyzer. You will need CANoe for this.
Take a look at the feature matrix. On side 6 it says that .net is only available in CANoe. Additionally I think that calls from .net to CAPL are only available for test modules and test units.

Related

Is the System.Addin (MAF) source code somewhere available?

I'm currently evaluating the different ways to create a C# plug-in architecture (mainly MEF vs MAF). System.Addin (MAF) seems interesting but there is no so much informations on the web about it.
I'll be very interesting to see its source code in order to better understand the way System.Addin works.
I googled without success, do you know if Microsoft has published MAF source code somewhere ?
It is available on Microsoft's Reference Source website.

Using JasperReports (JasperSoft Studio + JasperReports Library) with ColdFusion 9 Standard Edition

So this is my first time posting a question here. If I do it wrong, please, be gentle. :)
I'm trying to find a decent reporting solution at my company and it seems like JasperReports is one of the better (read: inexpensive) ways to go. They've got a newly revamped Eclipse-based banded report editor called JasperSoft Studio, and it looks really slick.
The problem I'm having is figuring out exactly what pieces I need in order to use this tool (or the files it creates) in my CF apps. After much Googling, I'm not really finding the answers I'm looking for... and what little information I do find is really pretty old.
Is anyone using JasperSoft Studio in combination with the JasperReports Library to do any on-the-fly PDF creation? We've come to a point on this particular application where cfdocument just isn't cutting it.
The things I know are:
CF is using a really (really, really) old version of JasperReports
under the hood to drive cfreport.
There is a way for me to override the really old version of
JasperReports so that CF will load the newest one.
Beyond that though, I'm not sure if it's just a matter of using JasperSoft Studio to create compiled JRXML files or (.jasper files, I'm not sure which) and then maybe just rename those to '.cfr' which cfreport knows how to deal with... or what?
If I look at the documentation for JasperReports Library it would seem that I need a lot more than just the JR Library and the JasperSoft Studio to make all of this work... but it's just kind of unclear to me. Because the library is so flexible and can be used from lots of different types of systems I'm having trouble figuring out what I need for my certain set of circumstances.
Is anyone out there using JasperReports in their CF applications or does anyone have any experience setting up to use JasperReports with CF?
There seems to be precious little information on this topic. :(
Also, in case it comes up (as it did in a few of the much older posts I found on the internet) ColdFusion is written in Java so I DO have access to any underlying Java Classes that I might need.

Force Visual C++ to generate XML comments solely for my files?

having an issue that I can't seem to find a direct answer to. I'm in the late stages of building a game engine with a few friends and at this point, we're looking to streamline the comments to make them more readable and useful for any developers that may wish to join the team. Since we use Visual Studio 2010, the embedded XML commenting seemed like the perfect tool, and it is! The only issue we are having is that the graphics library our engine is based upon seemed to have the same idea, and also uses XML-like commenting schema. Unfortunately, the syntax of whatever tool they used to compile their XML comments is dissimilar to the one used in Visual Studio so when Visual Studio attempts to render their comments to the projects XML output file, all we get is a huge string of errors that really tie up the process and are completely unneeded anyway since we only want documentation for our code. So, in short, is there some compiler parameter or option I can set in Visual Studio/VC++ that will force it to only generate an XML-comments output file for our classes and documentation? Thank you so much.
Forget Visual Studio and use a real documentation generation tool like doxygen. It handles the MS XML based documentation and you can configure it to only search certain files or directories.
EDIT Doxygen has it's own documentation tag format described here but it also handles JavaDoc style comments. XML style comments are described here.

C/C++ Code Examples with HTK (Hidden Markov Toolkit)

I am trying to get started with HTK, I grabbed a copy, compiled it, grabbed the book, and all went more or less fine, little troubles here and there but nothing serious.
Now after reading the book and googling quite a while, I do not see any documentation for the essential part for me: HTKLib. Everything is described into the smallest detail for all HTK tool programs (scriptable command line interface tools) but I cannot find a single example or tutorial how to actually call the lib.
Could anyone point me into a direction?
The source code for the respective tools is included, but it would be rather cumbersome to have to extract the information for a reputable library by reading the source code... I would have expected a little more documentation , but maybe I simply overlooked it?
Any help is deeply appreciated,
Tom
edit:
I was trying to use HTK for computer vision purposes, not for NLP, and for that I required that I could link against it, and call it from within my code. Thanks for your replies.
Maybe ATK is more suitable for you. Here is the explantation from the ATK site:
"ATK is an API designed to facilitate building experimental applications for HTK. It consists of a C++ layer sitting on top of the standard HTK libraries."
In addition Microsoft Research has another research tool here for training acoustic models. This includes a set visual project for HTKlib and a set of C++ HTK wrappers, but it may only include a subset of the HTK functionality and has licence restrictions.
I have not used it but use I the language modeling toolkit. I think the main intention is to use the command line tools provided. I imagine they are very flexible tools that will enable you to build and test models. Why do you want to use the code?
Also what are you trying to do?

Internal format of Visual Studio .ncb files

I have decided that I really need to get some flowcharts for reverse engineering some code I have inherited. I do not have the Team edition of VS so I cannot use Team's built-in capabilities with Visio. So I thought I would parse the .ncb (Parser Information) files and make charts with dot (from graphviz.org). How hard could that be? But I cannot find any documentation for the innards of that file.
I really don't want to use a commercial application to do the flowcharts. And the free addins I've seen all assume that I am using C# or VB. However, I am using C and C++.
I did try the Microsoft "Visual Studio Learning Pack" which has the "Visual Programming Flow Chart" tool. But it doesn't appear to work with C++. So close!
So, does anybody have pointers to the file format or other suggestions (keep it polite!)?
I don't think you have much chance to be able to parse the NCB files. They are in a proprietary binary format that changes and is likely to change between every single version of visual studio. From what I read somewhere, it's possible that in VS2010 the NCB is going to be discarded and the intellisense information is going to be kept in normal database using SQL Server Express.
Another option you might consider is using some other tool that analyzes your code and builds diagrams and UML charts. Doxygen does this to some extent and there is a plethora of commercial tools that do as well. I have some personal experience with Rational Rose (which might be defunct by now..) and a tool called Together. This list might be of some help
For a structural analysis in the sense of "who calls what", "who inherits/overloads where" and "who reads/writes globals" I once used DeHydra (a mozilla project) for analysis and yed (www.yworks.com) for graph display. Both are free.
Dehydra runs under linux and requires your code to pass gcc compilation. This is not a too serious obstacle, as VC can generate makefiles, which can be hand-modified for gnu make.
In my case, some patching of include files was required, but i could finally get the desired information out.
It took me 3 days to get DeHydra working, another 2 days to tweak makefile and includes and
3 more days to adapt javascript code, which inside DeHydra extracts the required information.
DeHydra + Javascript now delivers in one compiler run a graphml file containing the code structure, which can directly displayed and interactively manipulated in yed.