# Using the neoVI API in Visual Studio: 32 bit DLL and 64 bit OS - neoVI API

Visual Studio 2005 and newer contain different options to compile an application. By default, new programs or programs upgraded from earlier versions of Visual Studio will be configured as "ANY CPU". This option will run as a 32 bit program (x86) on a 32 bit version of Windows and as a 64 bit program (x64) in a 64 bit version of Windows. Projects can also be directly specified as 32 bit (x86) or 64 bit (x64).\
\
Starting with icsneo40.dll version 3.7.1.73 and newer, a 64 bit dll was introduced. Using software installs from Intrepid Control Systems, the two dlls are installed to their proper locations on the system. The compiler settings will dictate which of the two dlls is used. Windows will map to the proper one.

The folder location for the icsneo40.dll depends on the Windows install. On a 32 bit (x86) PC, just the 32 bit version is installed to the System32 folder. On a 64 bit system (x64) the 32 bit version is stored in the SysWoW64 folder and the 64 bit version is in the System32 folder. Again the operating system will take care of this based on your settings in the compiler. In either case, the application would need to reference System32, or not specify the location at all. Windows will search the application folder followed by the proper system folder locations to access the correct dll based on your compile options

The configuration manager is used to set which compile type needed. The following are steps for changing the compile options Visual Studio 2010. For help with your version and level of Visual Studio, consult Visual Studio help or [MSDN](http://www.msdn.com).\
\
It is possible to change the compile options. The first step is to open the "Configuration Manager". This can be found by right clicking on your Solution and choosing "Configuration Manager" (figure 1).

![Figure 1 - Configuration Manager can be found in the Solution Explorer.](/files/R9LU5rZaJrnU53fjm1eZ)

Once in Configuration Manager, the Active solution platform can be selected. If you do not have the required option, select "\<New\...>" (figure 2).

![Figure 2 - Configuration Manager](/files/fWua5ryRnTXapc6KeHaG)

After a new Platform has be created, it can be selected from the Standard tool bar (figure 4)

![Figure 3 - Creating a new Platform](/files/TzbHlYaeaS57cBscJ81Q)

![Figure 4 - Standard Tool bar selecting platform](/files/dQVFZB5MPnLWs8axPB5E)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.intrepidcs.com/neovi-api/basic-operation-intrepidcs-api/using-the-intrepidcs-api-in-visual-studio-32-bit-dll-and-64-bit-os-intrepidcs-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
