Click here to Skip to main content
15,892,298 members
Articles / Programming Languages / C++

DynObj - C++ Cross Platform Plugin Objects

Rate me:
Please Sign up or sign in to vote.
4.95/5 (34 votes)
27 Sep 200727 min read 145K   3.4K   132  
DynObj is an open source library that provides a C++ application with run-time class loading facilities
// There's a small problem here. If we would like to have 
// two scChar classes in the project (one with char, one with
// wchar_t), then we still only have the one implementation
// below.

#ifndef scChar 
    #define scChar char
#endif

#include "utils/scString.hpp"


scString operator + (const scString &s1, const scChar *ps2){_CFE_;
	return scString(s1,ps2,s1.Length());
}

scString operator + (const scString &s1, const scString &s2){_CFE_;
	return scString(s1,s2,s1.Length(),s2.Length());
}

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.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions