Professional Documents
Culture Documents
Writing MICO Applications Using The IDE
Writing MICO Applications Using The IDE
Next: Supported Platforms Up: Installing MICO using Visual-C++ Previous: Compiling the MICO
sources
C:\mico\win32-bin\include\windows
C:\mico\win32-bin\include
These lines have to be first in the list (use the move buttons to move them to the first position). Next,
set the Library path to (order does not matter):
C:\mico\win32-bin\lib
C:\mico\win32-bin
Compiler:
You have to define _WINDOWS in the Preprocessor options. In the Code Generation options
you have to use the Multi-Threaded DLL version of the runtime library, because that is the
way MICO was compiled.
Linker:
You have to add micoXXX.lib and wsock32.lib (where XXX is the three digit version
number of MICO without the dots) to the Object/Library modules input field (Hint: Before you
do this select All configurations in the upper left combo box named Settings for)
Additionally, you can integrate your IDL files in the build process. First you have to add the IDL file
to your project, then goto Project/Settings and select this file, or right click on the IDL file and
choose Settings, select the Custom Build tab and enter:
into the Build Command listbox. In the Output files list box enter:
$(InputName).h
$(InputName).cpp
For inserting $(..) you can also use the popup buttons at the bottom of the dialog, or you can use
the real filename instead. The output files of the IDL compiler are created in the current directory;
normally the root of the project. If the output filename is foo.cpp, then you have to add foo.cpp
to the project. This can be done even before the file exists, by entering it into the file dialog.
next up previous
Next: Supported Platforms Up: Installing MICO using Visual-C++ Previous: Compiling the MICO
sources
MICO documentation