by Hellhound » Tue Aug 09, 2016 6:48 am
Thank you for replying!
I have only downloaded the Dev-cpp on this machine today, started a new window application and done the following things in around 20 minutes: (So I hope I can avoid senting you the files to save some time)
1) Under tool, compiler options, library tab, I added the folder with the ForexConnect.lib file
2) Under tool, compiler options, c include tab, I added the include folder
3) Add the include line "#include <ForexConnect.h>" to the main.cpp generated by the IDE, (Dev-cpp
do not use the stdafx.h file)
4) Add a line of code to the program: IO2GSession *pSession = CO2GTransport::createSession();
inside the main window procedure, under the message WM_CREATE
Do you have any ideas why the program is not compiling? I learned from StackOverflow that undefined reference error arises because the compiler cannot find the implementation of the function, because that I am new to those DLL programming, I can't figure out what's going on...