VS 2010 C++ MFC
Posted: Fri Mar 17, 2023 9:45 am
Hey
I'm having problems getting the API to work from a C++ MFC dialog app, using VS2010.
Am I missing something obvious? Is it possible to get the Telldus API to work in MFC C++?
What I've done so far is:
1.) Create a standard dialog based MFC app
2.) Added #include "telldus-core.h" to my main dialog class and made sure the compiler finds the file (added it to project). IntelliSense now recognizes the stuff defined in telldus-code.h so i asume this part is ok
3.) Added TelldusNETWrapper.dll to my Linker->Input->Additional Dependencies. Here is where I'm getting unsure. Is this the correct file, included in the correct way?
When i try to compile i get an error saying:
1>LINK : fatal error C1308: E:\Program Files (x86)\Telldus\Development\TelldusNETWrapper.dll: linking assemblies is not supported
Am I missing something obvious?
Thanks in advance for any help
I'm having problems getting the API to work from a C++ MFC dialog app, using VS2010.
Am I missing something obvious? Is it possible to get the Telldus API to work in MFC C++?
What I've done so far is:
1.) Create a standard dialog based MFC app
2.) Added #include "telldus-core.h" to my main dialog class and made sure the compiler finds the file (added it to project). IntelliSense now recognizes the stuff defined in telldus-code.h so i asume this part is ok
3.) Added TelldusNETWrapper.dll to my Linker->Input->Additional Dependencies. Here is where I'm getting unsure. Is this the correct file, included in the correct way?
When i try to compile i get an error saying:
1>LINK : fatal error C1308: E:\Program Files (x86)\Telldus\Development\TelldusNETWrapper.dll: linking assemblies is not supported
Am I missing something obvious?
Thanks in advance for any help