

Please read "readme" before reading this file!


The Visual C++ users should use the sample *.dsp and *.dsw files provided
in the SDK. You just load a sample into the environment and
compile it. The output files are created in bin/w32 by default.

To create a new module, copy a sample project to a new directory,
rename and edit it.

The settings for the new projects are the following:

        - Calling convention: __stdcall

        - Predefined preprocessor macros: __NT__,__IDP__

        - Include path: ../../include

        - Library path: ../../libvc.w32

        - Additional library: ida.lib

        - The output file name: check that has the right name and extension.
          The extensions are the following:

                .W32                    (for processor modules)
                .LDW                    (for loader modules)
                .PLW                    (for plugin modules)

        - the module descriptor should be exported using (add the /export
          keyword into the project options)

                /EXPORT:LPH             (for processor modules)
                /EXPORT:LDSC            (for loader modules)
                /EXPORT:PLUGIN          (for plugin modules)

        - Only for processor modules: a post-build step should be added/edited
          to contain
                mkidp output-file "DLL-description"
          where DLL-description has the following format:
                Sample processor:procname1:procname2:...:procnameN
          The processor description string is written into offset 0x80
          of the resulting DLL file. The kernel uses the descriptions
          to load the appropriate processor module when IDA starts





