OS/2 Programming FAQ v3.4 - June 4, 1995
0.9b (c) 1995
Peter Childs
[ ]
Introduction and Credits
[ ]
Release Notes
[ ]
Questions Covered in this Release
[*]
Languages, Compilers, Debuggers
[ ]
What programming languages come with OS/2?
[ ]
Programming language availability
[ ]
The two GNU C/C++/ObjC packages
[ ]
Which of these compilers can be used to generate PM apps?
[ ]
What is REXX? How do I write and run a REXX program?
[ ]
What debuggers are available for OS/2?
[ ]
Which assemblers can produce OS/2 32-bit code?
[ ]
CSD levels for IBM C Set++?
[*]
Tools, Toolkits, Accessories
[ ]
How do I use PATCH, maybe with my own programs?
[ ]
What programming editors are available for OS/2?
[ ]
What programming tools/toolkits/accessories are available for OS/2?
[ ]
TOUCH-GUI 2.0 for OS/2 2.x
[ ]
Prominare Designer for OS/2
[ ]
JAM for OS/2
[ ]
What GNU tools are available and where can I find them?
[ ]
Is a socket library available? How can I use it?
[*]
Compiling
[ ]
Can I distribute the C-Set++ runtime DLL?
[ ]
How do I statically link my C/C++ program with C-Set++?
[ ]
How do I determine what C/C++ compilator is compiling my code?
[ ]
How big should my stacksize be?
[ ]
How do I perform parallel compilation?
[ ]
What is an RC of 87 (invalid param) from the API?
[ ]
GCC/2 crashes with a trap when I try to compile a program. Why?
[ ]
How do I recompile EPM (easily)?
[ ]
How to I get BC++ for DOS/Windows to run?
[*]
Documentation, Help
[ ]
Where can I get information on OS/2 APIs and programming?
[ ]
Where can I get sample code?
[ ]
Are there any OS/2 programming classes or seminars?
[ ]
What are good ref. books for programming in OS/2 and PM?
[ ]
What are good OS/2 programming magazines?
[ ]
What are the OS/2 redbooks, and how do I get them?
[ ]
How can I view the GNU C documentation?
[ ]
Where can I get documentation on the OBJ/LIB/EXE format used by OS/2 2.x?
[ ]
Where can I find information on HPFS?
[*]
PM Programming
[*]
Printing
[ ]
Are there any SIMPLE examples of printing?
[ ]
Is there an easy way to get printer output (another opinion)?
[ ]
How do I print a bitmap?
[ ]
How do I do my own Print Screen?
[*]
Menus
[ ]
How do I add a menu to a dialog box?
[ ]
How do I make a dynamically changing menu?
[ ]
How do I create a conditional cascade menu?
[ ]
How do I remove a separator from a menu?
[*]
Container Controls
[ ]
How do I stop a container from flashing every time I add a record?
[ ]
How do I get my containers to use Mini-icons?
[ ]
How do I sort a container control?
[ ]
How do I query all records in a container - tree view?
[ ]
I can't get different colors in text control windows
[ ]
How can I toggle my titlebar on and off?
[ ]
How can I get transparent regions in bitmaps?
[ ]
How do I create a status bar at the bottom of my window?
[ ]
How to have a frame/client and still have a std window?
[ ]
How do I use printf() in a PM program?
[ ]
I have a SOM DLL. How do I register it?
[ ]
How do I save and restore my window size and position?
[ ]
How do you make a window float above all others?
[ ]
How to ensure the sizing's correct so the dlg "fits" in the notebook...?
[ ]
How do I prevent Shutdown from stopping my app?
[ ]
When I pass a structure to WinCreateWindow, sometimes it doesn't work!
[ ]
How do I use type filtering in 2.0's open dlg?
[ ]
When minimizing, my dialog box is overwriting my icon!
[ ]
How do I make a multi-column listbox?
[ ]
How do I create my own Master Help Index?
[ ]
How do I change the font in an MLE?
[ ]
Why can't I import files larger than 64KB into my MLE?
[ ]
How do I get PM screen size?
[ ]
How do I attach Instance data to window created with WinCreateStdWindow?
[ ]
How do I get a list of fonts?
[ ]
How do I create a folder in C and put my pgm in it?
[ ]
How do I do it in REXX?
[ ]
How do I use the Font dialog (WinFontDlg)?
[ ]
How do I take control of frame sizing?
[ ]
How do I use the 16-bit EPM toolkit?
[ ]
How do I get error info after using WinGetLastError()?
[ ]
Do you have code to save/restore the clipboard?
[ ]
How do I know what item was selected in a Combo box?
[ ]
How do I get a bitmap into a dialog in a DLL?
[ ]
How does programming PM compare to programming X?
[ ]
How do I put bitmaps on buttons?
[ ]
Can a PM program tell if there's a previous instance of itself running?
[ ]
How to avoid crash when using Drag and Drop?
[ ]
Are there any PM bindings for GNU Ada?
[*]
Miscellaneous Programming
[ ]
Explain the SYS_DLLS keywords.
[ ]
How do I start another session?
[ ]
How do I check if a filename is valid?
[ ]
Why should I use _beginthread instead of DosCreateThread?
[ ]
How do I open a file that is already in use?
[ ]
Can we use Vio in v2.0? Where are the docs for it?
[ ]
Can I redirect stdin and stdout in a child process?
[ ]
How do I use DosMon*() to stuff the kbd buf?
[ ]
How do I determine what file system a drive uses?
[ ]
How do I get the error message from a DOS API call?
[ ]
How do I set an exception handler?
[ ]
How can I determine a diskette format and if a disk is in a drive?
[ ]
What do all those keywords mean when making a DLL?
[ ]
Where can I find serial port sample code?
[ ]
How do I disable <Ctrl><Alt><Del>?
[ ]
Why doesn't printf() produce output when I expect it to?
[ ]
How do I write an OS/2 device driver?
[ ]
How do I change the master environment?
[ ]
What is the best way to communicate between processes?
[ ]
What is the best way to communicate between threads?
[ ]
How to I write an IFS?
[ ]
How do I interface with OS/2's SCSI support?
[ ]
How do I program full-screen graphics?
[ ]
How do I program MMPM/2 programs?
[ ]
How do I peripheral memory or an I/O port?
[*]
Porting
[ ]
How do I port my DOS keyboard TSR to OS/2?
[ ]
How can I simulate (Unix feature) under OS/2?
[ ]
How can I recompile public domain/shareware source code for OS/2?
[ ]
How can I port my DOS program to OS/2?
[ ]
How can I port my Windows program to OS/2?
[*]
Miscellaneous
[ ]
Is OS/2 suitable for real time programs?
[ ]
What is available for multimedia programming under OS/2?
[ ]
What is available for AI/neural net programming under OS/2?
[ ]
Special software offers
[ ]
Technical Support
[ ]
Developer's Assistance Program (DAP)
[ ]
OS/2 Software Sources
[ ]
Bugs / Obtaining this FAQ / Contacting the Author
[ ]
Credits