Solved

File I/O With Sioux

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Powershell based monitoring system 2 127
Folder Comparison 12 52
conditional code and condition difference 9 65
Window placement 17 65
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

758 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

14 Experts available now in Live!

Get 1:1 Help Now