realbasic-nug
[Top] [All Lists]

CFM library access from Mach-O?

To: <realbasic-nug at lists dot realsoftware dot com>
Subject: CFM library access from Mach-O?
From: Alexander Traud <alexander dot traud at macnews dot de>
Date: Mon, 31 Oct 2005 10:49:56 +0100
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Question #1
Is it possible to call an external Code Fragment (CFM/PEF) library with
declares in REALbasic 5.5 or 2005 when compiled as Mach-O?

It is possible in C. According to my research you use the technique outlined
in the CFM_MachO_CFM sample code included in the Apple CarbonLib SDK to
change a Mach-O function pointer to a CFM T-Vector:
http://groups.google.com/group/comp.sys.mac.programmer.misc/msg/ccc8f9bef93c
c337
I would guess the PEF plugin bridge in REALbasic 2005 works this way.
Although I use soft declares in REALbasic 2005, I was not yet able to access
a CFM library from Mach-O.


Question #2
I have to use SoftDeclareMBS, write a plugin or go back to PEF, correct? Is
there a feature request for this already?

_______________________________________________
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>