Ask a Question related to Mac Programming, Design and Development.
-
Jedidja Bourgeois #1
memory mapped files under Carbon
Hi
I'm wondering if there's any way to do memory mapped file access under
MacOS 9 and X with a Carbon application. OpenMappedFile isn't part of
CarbonLib (just InterfaceLib) and, obviously, mmap() isn't available
under OS 9. Is it possible to have a single executable that links
against both CarbonLib and InterfaceLib that calls OpenMappedFile()
under 9 and mmap() under X? Or do you have to switch to having a
non-Carbon application for 9 alltogether?
Many thanks
Jedidja
Jedidja Bourgeois Guest
-
right to files on mapped drives throught IIS and ASP.NET
Hello, On a local website but i want to access data on a remote drive (a mapped drive). The data are Foxpro files on a directeory of a mapped... -
#26214 [Opn->Bgs]: Cannot copy() files to mapped drive
ID: 26214 Updated by: edink@php.net Reported By: james dot grey at bt dot com -Status: Open +Status: ... -
#26214 [Com]: Cannot copy() files to mapped drive
ID: 26214 Comment by: Leblanc at phpzipscript dot org Reported By: james dot grey at bt dot com Status: Open... -
#26214 [NEW]: Cannot copy() files to mapped drive
From: james dot grey at bt dot com Operating system: W2K PHP version: 4.3.3 PHP Bug Type: Network related Bug description: ... -
Resource files and Carbon - PLEASE HELP!
I've been messing with this for hours, and am at my wit's end. If anyone has an ideas, please help! I find that when using FSpOpenResFile as a... -
Miro Jurisic #2
Re: memory mapped files under Carbon
In article <b4b8c5a0.0309101150.5e5df006@posting.google.com >,
[email]jedidjab79@hotmail.com[/email] (Jedidja Bourgeois) wrote:
It's not possibly to do it with a single executable that links against both. It> I'm wondering if there's any way to do memory mapped file access under
> MacOS 9 and X with a Carbon application. OpenMappedFile isn't part of
> CarbonLib (just InterfaceLib) and, obviously, mmap() isn't available
> under OS 9. Is it possible to have a single executable that links
> against both CarbonLib and InterfaceLib that calls OpenMappedFile()
> under 9 and mmap() under X? Or do you have to switch to having a
> non-Carbon application for 9 alltogether?
is possible to do it with a single CFM executable by having that executable
contain an application and two shared libraries, and then having the application
load one or the other shared library, depending on the OS. The interface between
the libraries and the application would be up to you, and the shared libraries
would use either just mmap or just OpenMappedFile.
You should also know that OpenMappedFile allows at most one file to be open at
any time _across all applications_, so I would recommend you find a better way
to do what you want.
meeroh
--
If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>
Miro Jurisic Guest



Reply With Quote

