Device Manage for OS/2

DevCon for OS/2 - Developer Connection

Operating systems:
ArcaOS, eComStation, IBM OS/2 Warp
eComStation myths 

(Unsorted)  
 
 
Compilers  
 
 
Tools  
 
 
REXX  
 
 
Drivers/kernel  
 
 

 

 

Debugging applications

How to write log to file?
Statusline() -- Log file operation. Multi thread, SMP ready

Write to log:

  • Program version
  • Date of log

Debugging PM applications

One of methods - output to VIO window. Compile your PM program as VIO application, morph it to PM in the beginning of main() function.

   PPIB pib;
   PTIB tib;

   DosGetInfoBlocks(&tib, &pib);

   /* Try morphing into a PM application. */
   if (pib->pib_ultype == 2)          /* VIO */
      pib->pib_ultype = 3;

Debugging drivers

Please switch to Device drivers development

Debugging REXX scripts

Please switch to REXX

 


 

(C) OS2.GURU 2001-2024