Hello All,
I could really use your help on this one. I am trying to develop a plugin for IDA. I am using VS 2008 for development and version 5.3 of the IDA SDK. I have configured VS as recommended in the instructions included with the SDK. I also was careful to create an x64 configuration with libvc.w64 and libvc.x64 selected as additional library directories in the project properties. I define __NT__, __IDP__ and __EA64__ to the preprocessor as I have seen in the makefiles but have had no results. I have also tried declaring every permutation of __EA64__, __AMD64__ and __X64__ to no avail. The code I am using is a simple 'hello world' program and appears in [1] below. When I build for Win32 everything works fine. That is, it compiles, links and executes in IDA Advanced 32-bit. When I build for x64 it compiles but flags the following linker error:
error LNK2001: unresolved external symbol __imp_callui
This function looks like it is exported in a few static libraries (ida.a and pro.a in all the libgcc directories located at the root of the SDK directory) but strangely isn't an issue when building for Win32. I have also tried the VS2005 Solution templates listed at [2] but these actually gave me poorer results. I was convinced it was just a goofy path statement on my part but I believe I have tried everything, not to mention the fact that Google has precisely zero results for __imp_callui.
Thank you in advance for any insight you can provide.
Kind regards,
-J
EDIT: Formatting
EDIT: Linker directories
[1] http://www.codebreakers-journal.com/downloads/cbj/2005/CBJ_2_1_2005_Callief_IDA.pdf
[2] http://www.hex-rays.com/contest2009/






