macLib Utility Libraries for the Visual C++ Cross Development Environment
This library is a set of useful modules that are not included with the Visual C++ for Macintosh compiler and that I have found necessary to complete my projects. The price is $49.00 for both 68K and PPC libs, no royalties. Source code is available for an additional $100.00 and may not be redistributed. As new useful functions are written I will add them at no additional cost.
macLib
Price: $49
macLib with Source
Price: $149
Included functions at this time are:
MacGetOpenFileName
Properly changes to the correct initial directory. Returns a full pathname to the file selected. Uses same prototype as GetOpenFileName().
MacGetSaveFileName
Properly changes to the correct initial directory. Returns a full pathname to the file selected. Uses same prototype as GetSaveFileName().
GlobalAllocTemp
Allocate global memory from the system's temporary memory. Not limited by your size resource. Great for applications that want a lot of memory for a short time. Uses same prototype as GlobalAlloc().
LocalAllocTemp
Allocate local memory from the system's temporary memory. Uses same prototype as LocalAlloc().
LaunchApplicationAndWait
Launches another application with parameters, and waits for it to complete before returning.
FSSpecToPath
Convert an FSSpec record to a full path name.
GetFullMacPath
Convert the record returned by the original GetOpenFileName and GetSaveFileName to a full path specification.
SetCurrentDirectory
Same as Windows
GetCurrentDirectory
Same as Windows