Click here to Skip to main content
15,910,797 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalusing vectors - begin method Pin
Ming Yan21-Mar-04 20:30
Ming Yan21-Mar-04 20:30 
GeneralRe: using vectors - begin method Pin
jhwurmbach21-Mar-04 22:09
jhwurmbach21-Mar-04 22:09 
GeneralRe: using vectors - begin method Pin
Maxwell Chen21-Mar-04 22:45
Maxwell Chen21-Mar-04 22:45 
GeneralRe: using vectors - begin method Pin
jhwurmbach21-Mar-04 23:01
jhwurmbach21-Mar-04 23:01 
GeneralRe: using vectors - begin method Pin
Maxwell Chen22-Mar-04 15:31
Maxwell Chen22-Mar-04 15:31 
GeneralRe: using vectors - begin method Pin
jhwurmbach22-Mar-04 21:08
jhwurmbach22-Mar-04 21:08 
GeneralRe: using vectors - begin method Pin
Roger Allen22-Mar-04 5:12
Roger Allen22-Mar-04 5:12 
Generalnewbie question about vc++ and dlls Pin
charlener21-Mar-04 19:38
charlener21-Mar-04 19:38 
(in visual studio .net)

I'm a programmer mostly coming from the academic end of things (UNIX, gcc, etc.) and for the life of me cannot get variable types/functions from this dll. It's a development package for eeg analysis software that's supposed to allow me to read their specialized file format in c++ programs. Here's the link to the development kit:

http://www.axon.com/pub/utility/axonfsp/windows/

and I'm interested in using the axabffio32.dll functions and what (esp. things like ABF_ReadOpen and Abffileheader).

I've tried linking in the dir of the dll, copying the dll to the project dir, setting everything to release and adding the dll as a resource (as well as the #include of the dll)...what am I doing wrong???

here's the code:

void main( int argc, char **argv )
{
ABFFileHeader FH;

ABF_Initialize();
ABFH_Initialize(&FH);
Acquisition( argv[1], &FH );
ABF_Cleanup();
}

and here's the error I most often get:
c:\Documents and Settings\administrator\My Documents\Visual Studio Projects\abfDLL\abfDLL.cpp(16) : error C2065: 'ABFFileHeader' : undeclared identifier
c:\Documents and Settings\administrator\My Documents\Visual Studio Projects\abfDLL\abfDLL.cpp(16) : error C2146: syntax error : missing ';' before identifier 'FH'
c:\Documents and Settings\administrator\My Documents\Visual Studio Projects\abfDLL\abfDLL.cpp(16) : error C2065: 'FH' : undeclared identifier
c:\Documents and Settings\administrator\My Documents\Visual Studio Projects\abfDLL\abfDLL.cpp(18) : error C3861: 'ABF_Initialize': identifier not found, even with argument-dependent lookup
c:\Documents and Settings\administrator\My Documents\Visual Studio Projects\abfDLL\abfDLL.cpp(19) : error C3861: 'ABFH_Initialize': identifier not found, even with argument-dependent lookup

GeneralRe: newbie question about vc++ and dlls Pin
axid3j1al21-Mar-04 20:05
axid3j1al21-Mar-04 20:05 
GeneralRe: newbie question about vc++ and dlls Pin
charlener21-Mar-04 20:18
charlener21-Mar-04 20:18 
GeneralRe: newbie question about vc++ and dlls Pin
bilal7822-Mar-04 0:53
bilal7822-Mar-04 0:53 
GeneralRe: newbie question about vc++ and dlls Pin
axid3j1al22-Mar-04 21:13
axid3j1al22-Mar-04 21:13 
GeneralStore the contents of a stucture in a file Pin
swarnamanoo21-Mar-04 19:34
swarnamanoo21-Mar-04 19:34 
GeneralRe: Store the contents of a stucture in a file Pin
RadioShark21-Mar-04 22:04
RadioShark21-Mar-04 22:04 
GeneralRe: Store the contents of a stucture in a file Pin
jhwurmbach21-Mar-04 22:16
jhwurmbach21-Mar-04 22:16 
GeneralRe: Store the contents of a stucture in a file Pin
jhwurmbach21-Mar-04 22:16
jhwurmbach21-Mar-04 22:16 
GeneralShowing a Tabbed Dialog box Pin
Tariq87821-Mar-04 19:30
Tariq87821-Mar-04 19:30 
GeneralRe: Showing a Tabbed Dialog box Pin
Michael P Butler21-Mar-04 21:56
Michael P Butler21-Mar-04 21:56 
GeneralPass Data to form using HTTP.. Pin
rasha200321-Mar-04 18:39
rasha200321-Mar-04 18:39 
GeneralUsing MS Office Spreadsheet ActiveX Control Pin
JonahD21-Mar-04 17:55
JonahD21-Mar-04 17:55 
GeneralDrawing on a dialog box Pin
monrobot1321-Mar-04 17:45
monrobot1321-Mar-04 17:45 
GeneralApplication (exe) performance Pin
Anonymous21-Mar-04 17:38
Anonymous21-Mar-04 17:38 
GeneralSharing data between dialog Pin
r00k1321-Mar-04 17:08
r00k1321-Mar-04 17:08 
GeneralRe: Sharing data between dialog Pin
Anonymous21-Mar-04 17:41
Anonymous21-Mar-04 17:41 
GeneralRe: Sharing data between dialog Pin
r00k1321-Mar-04 18:17
r00k1321-Mar-04 18:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.