realbasic-nug
[Top] [All Lists]

Re: Statically link C or C++ library to RealBasic EXE?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Statically link C or C++ library to RealBasic EXE?
From: James Milne <james dot milne at mac dot com>
Date: Thu, 30 Dec 2004 19:32:22 +0000
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <1E7FA96AB22DDC409AF9EFE93162C5E753996E at NAEX02 dot na dot qualcomm dot com> <3396e7e204123011266c2b084c at mail dot gmail dot com>

On 30 Dec, 2004, at 19:26, Will Leshner wrote:

On Thu, 30 Dec 2004 11:19:43 -0800, Roberts, John <jroberts at qualcomm dot com> wrote:


I'd like to generate the user interface with RealBasic,
but then call my already-coded C/C++ methods.  Any chance
of this working?

Sure, you can either make your C/C++ code into a shared library or a
plugin. That's a pretty common approach to using REALbasic, I believe.

As Will says, you can connect to a Shared Library using Declares.

However, the REALbasic linker cannot link C/C++ static libraries into a REALbasic application.

--
Kind Regards,
James Milne

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>