Solved

File I/O With Sioux

Posted on 1997-05-17
2
159 Views
Last Modified: 2013-12-26
OK, I have a program in SIOUX that reads a file, does various operations on the file, and saves the output to a different file. I would like to have the user pick the file from the standard file dialog box. Also, I would like the user to be able to the same thing (a dialog box) when saving the new file. How hard is this to implement? I have done some basic Mac programming and would appreciate some assistance.
0
Comment
Question by:bobc051797
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Expert Comment

by:Paul B
ID: 1291473
Hi,
  Yes you can do both SIOUX and Mac specific stuff in the same program. The secret is first you must initiaize SIOUX with a printf or other call to SIOUX first. This will initialize the window manager and I beieve the dialog manager as well.

Paul
pbaxter@assistivetech.com

0
 
LVL 1

Accepted Solution

by:
PAD earned 100 total points
ID: 1291474
Paul was right, SIOUX initialize Toolbox and implement a kind of terminal but you can use (and i make use of them) any Toolbox routines and of course Dialog Manager and Standard Get File Package to ask user to choose  a file or give a name to file to save.
Its as simple as in any other Mac application.
You can find sample on Apple CD or on Apple Dev Web Site, those sample show you that way to use Standard File Package

Good luck
0

Featured Post

 Watch the Recording: Learning MySQL 5.7

MySQL 5.7 has a lot of new features. If you've dabbled with an older version of MySQL, it is definitely worth learning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question