You Are Here:

Community: Blogs

Who am I?

mopius

Thinking about what mobile phones can do except messaging and voice calls is one of my main interests. At the department of Mobile Computing at the University of Applied Sciences in Hagenberg (Austria), I can work on those ideas every day by collaborating with students, researching and - well - thinking.

 

Calendar

« January 2007 »
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
 

Andreas Jakl's Forum Nokia Blog

Checking your code with SymScan in Carbide.c++

mopius | 30 January, 2007 12:22

A few days ago, I was appointed as one of the new Forum Nokia Champions and am really glad to be part of the team! Nearly at the same time, the developer resources portal at http://www.symbianresources.com/ was updated with the latest material from the Symbian OS-courses that I held this winter-semester at the University of Applied Sciences in Hagenberg.


Many typical Symiban OS-topics are covered in a very detailed and up-to-date fashion, for example the Descriptors-part already contains exercises for the RBuf-classes. Generally, I try to explain everything in a rather graphical way with (for the most part) some code samples.


Apart from introducing this site, I want to post about one thing at the Forum Nokia Blogs, as I have not found similar instructions elsewhere.


SymScan and Carbide.c++


SymScan is a tool from Symbian that checks your code for potential problems as well as if it adheres to the Symbian OS coding guidelines – especially related to Leaves. I think it’s very useful to check the code from time to time, e.g. it can easily happen that you forget to add or remove the trailing L of a function name when tweaking your code.


After some research, I found a solution on how to integrate this tool with Carbide.c++. It’s not perfect – due to the way it’s integrated, the project will be compiled before running this tool. But that shouldn’t be an issue at all. To integrate it, follow these steps:


  1. In Carbide.c++, select Run -> External Tools -> External Tools...
  2. Create a new tool called SymScan for the “Symbian”-perspective.
    Set the location of the SymScan-Tool (e.g. C:Program FilesCommon FilesSymbiantoolsSymScan.exe).
    For the “Arguments”-field, enter: “${resource_loc}” – including the quotes (“”).
  3. Add it to the favourites menu (Common-tab of the External Tools-Menu).
  4. When a Symbian OS source file is open, run the tool through Run -> External Tools -> SymScan. The results will be displayed in the Console-window.
SymScan and Carbide.c++

RSSComments

You must login to post comments. Login
 

Rate This

 
 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fblogsE2eforumE2enokiaE2ecomhttpE3aE2fE2fblogsE2eforumE2enokiaE2ecomE2findeE78E2ephpE3fopE3dViewArticleE26blogIdE3d105214E26articleIdE3d389X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZBlogContentQ qdcZtypeQUqfntypeZBlogE45ntryQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZcppQ qfnZtopicQUqfnTopicZseriesE5f60Q qfnZtopicQUqfnTopicZtestingQ qfnZtypeQUqfntypeZBlogContentQ qfnZtypeQUqfntypeZBlogE45ntryQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxs60X qfnZuserE5ftagQSxsymbianE2dcE2bE2bX qfnZuserE5ftagQSxtestingX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZBlogContentQ qrdfZtypeQUqfntypeZBlogE45ntryQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ