Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

File I/O With Sioux

Posted on 1997-05-17
2
Medium Priority
?
165 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
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 200 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

963 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