Click here to Skip to main content
13,140,591 members (46,904 online)
Click here to Skip to main content


9 bookmarked
Posted 16 Aug 2010

String Handling in XPCOM

Using different types of strings in XPCOM.
#include "nsISupports.idl"

[scriptable, uuid(658ABC9E-29CC-43E9-8A97-9D3C0B67AE8B)]
interface ISample : nsISupports
	long		Add(in long a, in long b);  
	string		ReverseString(in string s);
	AString		ReverseAString(in AString nStr);
	wstring		ReverseUnichar(in wstring nStr);
	ACString	ReverseACString(in ACString nStr);	

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Md. Mazharul Islam Khan
Software Developer (Senior) Eyeball Networks Inc, Dhaka
Bangladesh Bangladesh
I strongly believe, a person's strongest point is to know his/her weak point. I try to be simple.

I have completed BSc in Computer Science & Engineering from Shah Jalal University of Science & Technology, Sylhet, Bangladesh (SUST).

Watch out for my other CodeProject Articles.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.170915.1 | Last Updated 16 Aug 2010
Article Copyright 2010 by Md. Mazharul Islam Khan
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid