Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

RMI for C++

, 6 Aug 2009
User-friendly remote method invocation in C++.
rcf.zip
RCF
demo
vs2003
RCF
Client
Server
doc
include
RCF
Connection.inl
Marshal.inl
Multiplexer.inl
RCF.inl
RcfServer.inl
ServerStub.inl
Protocol
util
Platform
Compiler
bcc55
cw80
gcc32
icl70
msvc71
Library
bcc55
cw80
gcc32
msvc60
msvc71
Machine
SPARC
x86
OS
Cygwin
Unix
Windows
System
NonWindows
Windows
Threads
SF
src
RCF
Protocol
util
SF
test
Jamfile
Jamrules
borland
Jamfile
Jamrules
vs2003
RCF
RCF
RCFTest
#ifndef _UTIL_PLATFORM_LIBRARY_BCC55_LIBRARY_HPP_
#define _UTIL_PLATFORM_LIBRARY_BCC55_LIBRARY_HPP_

// Library specific stuff for bcc 5.5

#include <stdlib.h>
#include <stlport/hash_map>

namespace Platform {

    namespace Library {

        template<typename Key, typename Type, typename Hash>
        struct hash_map_t {
            typedef std::hash_map<Key, Type, Hash> Val;
        };

        template<typename PtrT>    void ResetPtr(PtrT &ptr) { ptr.reset(); }
        template<typename PtrT, typename T>    void ResetPtr(PtrT &ptr, T *pt) { ptr.reset(pt); }

        inline size_t wcstombs(char *mbstr, const wchar_t *wcstr, size_t size) { return ::wcstombs(mbstr, wcstr, size); }
        inline size_t mbstowcs(wchar_t *wcstr, const char *mbstr, size_t size) { return ::mbstowcs(wcstr, mbstr, size); }

    } // namespace Library

} // namespace Platform

#define _timeb timeb
#define _ftime ftime

#endif _UTIL_PLATFORM_LIBRARY_BCC55_LIBRARY_HPP_

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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Jarl Lindrud

Australia Australia
Software developer, ex-resident of Sweden and now living in Canberra, Australia, working on distributed C++ applications. Jarl enjoys programming, but prefers skiing and playing table tennis. He derives immense satisfaction from referring to himself in third person.

| Advertise | Privacy | Mobile
Web02 | 2.8.140827.1 | Last Updated 6 Aug 2009
Article Copyright 2005 by Jarl Lindrud
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid