PInvoke Example

See the Pinvoke example, which is with the examples under the Samples folder. See Start menu > All Programs > Micro Focus Visual COBOL 2010 > Visual COBOL Samples.This example contains the following of interest:


To run the example:


  1. Build the solution by clicking Build > Build pinvoke.
  2. Step through the program, using Debug > Step into.