Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Failing to load Ant DLL

Rank

Total Posts: 19

Joined 2013-04-03

PM

I am trying to integrate ANT into a desktop application using Qt 4.7. Another programmer was able to successfully integrate the ANT demo into the application and get it to run on his machine. I am using the exact same code but every time the application fails to load the ANT_DLL.dll file. The program runs to line 100 in libant.cpp :
hANTdll = DYNAMIC_LIB_LOAD(DYNAMIC_LIB_FILENAME);
if (hANTdll == NULL)
return FALSE;
however the hANTdll is always NULL. The program crashes immediately after this giving me an error of:
"(Internal error: pc 0x0 in read in psymtab, but not in symtab.)".

I have verified that the ANT_DLL.dll file is in the same directory as the executable. I am using a 64-bit machine running Windows 7.

To add an extra twist I can get the code to run on a different machine that is 32-bit and running Windows 7.

I have run out of ideas so any insight would be greatly appreciated.

Thanks.
     
Rank

Total Posts: 19

Joined 2013-04-03

PM

I think I found out the problem. I had to install a demo version of MS Visual Studio 2010 to get two DLLs that apparently are not installed when you install the MS redistributable package.      
Avatar
RankRankRankRank

Total Posts: 235

Joined 2012-08-31

PM

Hi Corey,

Thanks for the update, and glad you solved it!