importing a file created on MSVC++ (windows) into a Mac (MAYBE SLIGHTLY OT) 
Author Message
 importing a file created on MSVC++ (windows) into a Mac (MAYBE SLIGHTLY OT)

Hi. I create a text file in MSVC6 (windows2000) with the file extension .DXF
. However, I want to be able to import this file into a Mac program, but the
program cannot "see" my file. Why is this?

Could it be something to do with Macs using a 4 letter Type and Creator code
to launch an application?

Cheers, Hamish.



Sun, 20 Nov 2005 04:03:40 GMT  
 importing a file created on MSVC++ (windows) into a Mac (MAYBE SLIGHTLY OT)

Quote:

> Hi. I create a text file in MSVC6 (windows2000) with the file extension
.DXF
> . However, I want to be able to import this file into a Mac program, but
the
> program cannot "see" my file. Why is this?

Could it be related to the fact that Mac OS needs to have some
special info along with the file to explain what the file is?
Read about "resource forks".

Quote:
> Could it be something to do with Macs using a 4 letter Type and Creator
code
> to launch an application?

Yes, it could.  But it certainly has nothing to do with C++.


Sun, 20 Nov 2005 04:29:02 GMT  
 importing a file created on MSVC++ (windows) into a Mac (MAYBE SLIGHTLY OT)


Quote:
>Hi. I create a text file in MSVC6 (windows2000) with the file extension .DXF
>. However, I want to be able to import this file into a Mac program, but the
>program cannot "see" my file. Why is this?

If you are using  CodeWarrior you need to use the file mapping to import
this into CodeWarrior, but I don't think you meant that.

Quote:
>Could it be something to do with Macs using a 4 letter Type and Creator code
>to launch an application?

right, you need a resource fork on the OS 9 and older, it depends on
what you are using to transfer the files and how you are opening them.

You probably want to ask this on
comp.sys.mac.programmer.help  

By the way there are other issues such as line endings to deal with.  
There are text to Mac editors for importing text files and converting
files.

Ron

--
  Get printed CodeWarrior Documentation (limited selection)
     And all the latest versions of CodeWarrior Manuals

http://www.metrowerks.com/MW/Support/dev_resources/default.htm




Sun, 20 Nov 2005 22:27:56 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. slightly OT.... Joining mpeg files

2. HELLP MSVC 60 Application under Windows for MAC

3. slightly OT.

4. slightly OT: cross-platform binary compatibility?

5. Slightly OT: sorting

6. (slightly OT): Static Code Analysis Tool (C++)

7. C portability [slightly OT]

8. Slightly OT, but pertinant to ANSI C

9. slightly OT, but C# curious

10. Style Question (slightly O.T.)

11. (Slightly OT) General ActiveX information?

 

 
Powered by phpBB® Forum Software