Solved

File I/O With Sioux

Posted on 1997-05-17
2
151 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 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do you programatically show and hide the Windows 10 On-Screen-Keyboard? 3 546
centeredAverage challenge 8 132
isEverywhere  challenge 19 72
wordappend challenge 8 150
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
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.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now