Hello,
I am migrating a solution from Visual Studio 2005 (Windows XP, ArcGIS 9.3.1) to Visual Studio 2008 (Windows 7, ArcGIS 10). The solution contains several ArcMap Class libraries (dlls). The libraries are written in C#. One library, however, is written in C++ (named SDEWriter). It is a CLR class library (dll) and uses the ArcSDE C SDK written in native C. I have a problem linking the ArcSDE libraries (libs) to my SDEWriter dll. One of the error messages is as follows:
As far as I understand the problem, my C++ project is a managed project, whereas the ArcSDE C SDK libraries are written in native C. --> My managed project (dll) cannot link to the unmanaged ArcSDE libraries (libs). What is strange: on Windows XP, everything worked fine!
Some additional information about the "SDEWriter" project properties:
Thanks a lot for your help in advance,
Barbara
...... 1>Searching libraries 1> Searching C:\ArcGIS\ArcSDE\lib\sde.lib: 1> Found _SE_error_get_string@8 1> Loaded sde.lib(sde.dll) ........In my VS 2008 project, however, the linker output is as follows:
....... 1>Searching libraries 1> Searching C:\ArcGIS\arcsde\lib\sde.lib: ......I don't use the data type time_t in my project, so I suppose that this is not a problem? Otherwise, could you please explain to me how this macro works? I haven't found anything useful on the web.