You are here: Forum Home → ANT Developers Forums → ANT General Questions → Thread
23 February 2009 08:10 PM
24 February 2009 12:22 PM #1
(1) When I try to statically link in the library "ANT_Interface.lib"
I get the following build error:
fatal error LNK1136: invalid or corrupt file ANT_Interface.lib line 1
(2) When I try to statically link in the library "ANT_DLL.dll"
I get the following build error:
fatal error LNK1107: invalid or corrupt file: cannot read at 0x410 ANT_DLL.dll line 1
(3) When I dynamically link in "ANT_DLL.dll" with the functon call to "LoadLibrary" I do get a non-null HINSTANCE return value.
And when I call "GetProcAddress" with functions such as ANT_Init, ANT_Close, ANT_AssignChannel, ANT_UnAssignChannel, etc....
I do get return values that are non-null so it seems like everything is ok.
But when I call "ANT_Init" i get a run-time error of "Access violation" and it seems i'm accessing an address of 0x00.
24 February 2009 12:30 PM #2
24 February 2009 03:13 PM #3
24 February 2009 03:29 PM #4
24 February 2009 05:18 PM #5
24 February 2009 08:34 PM #6
25 February 2009 10:30 AM #7
25 April 2009 03:10 PM #8
27 April 2009 09:28 AM #9
29 November 2010 08:14 PM #10
29 November 2010 08:52 PM #11
01 December 2010 12:40 PM #12
01 December 2010 08:33 PM #13
02 December 2010 09:54 AM #14
1 of 1 Pages