-- �������������������������������������������������������������������ͻ -- � D E S I G N E N G I N E R I N G �D�S� � -- � S O F T W A R E ���ͼ � -- � � -- � V A D (Visual Ada-95 Developer for Os/2) � -- � � -- � Author : Leonid Dulman 1996-1997 � -- � � -- �������������������������������������������������������������������ͼ System Vad is upgrade system for visual developer GuideLines JBA International http://mcalcin.IPS.RAS.RU/Mirrors/cdrom/dev32.htm http:/ftp.cdrom.com/pub/os2/dev32.htm files : gbase311.zip gbase312.zip gbase313.zip gbase314.zip System GuideLines produce *.cpp,*.hpp,*.rc,*.def files. System VAD contains OS2 interface, jbainter.lib (jbainter.dll) interface and vad.cmd Cpp to Ada-95 translator. System works with GNAT 3.05 ADA-95 OS/2 compiler in EMX 0.9c Set Up process --------------- 1. SetUp GuideLines. 2. Copy files to BIN , DLL, LIB and GNATLIB directories EMX 3. Change directories in adastart.cmd and adaln.cmd (libraries directory) 4. Compile ADA components (comp.cmd). System Tools COMP.CMD - compilations os2 interface packages ADACOB.CMD - creation b_xxxx.c header and its compilation to b_xxxx.obj ADALN.CMD - creation *.lnk file for LINK386 ADAO.CMD - compile Ada file in *.o mode ADAOBJ.CMD - compile Ada file in *.obj mode O2OBJ.CMD - *.o to *.obj conversion OBJ2O.CMD - *.obj to *.o conversion ADAEXE.CMD - link and add .res file ADASTART.CMD - set emx variables ( calling from others procedures) VAD.CMD - Cpp to Ada translator ( No change generated *.cpp file !). Working with system -------------------- By Guidelines produce *.cpp *.hpp *.def *.rc files ( I recommend to do empty event handlers), copy these files to subdirectory. VAD generate ADA-95 main program and package. After generating you may write all needed events and add you Ada packages. adaobj.cmd compilation of ada-95 components adacob create *.c header and *.obj adaln create .lnk file and .exe rc .res add res file to EXE.(procedure ADAEXE link and add *.res file but after *.lnk file creation). Samples List ------------- EVENTS - event check example LIST - listbox example MAIN - file dialog and help example MLE - Mle control example KINO - animation (task realization) example PHIL - Dinning philosophers ( task type and protected type) example STATIC - MDI example BUTTON - buttons example VAD system is available on ftp://hobbes.nmsu.edu/pub/incoming Leonid Dulman (dulman@ibm.net)