Hello everybody, I'm new to programming and have to make one program that connects to PLC and write some data in C++ so I have some questions...
first question is why those applications in "win" folder immediately terminate themselves? Is there any way to read what is written in console window?
second question is a little bit tricky...
I'm trying to run testISO_TCP, but I get a lot of errors (9) like
error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__daveSetDebug@4" in Funktion "_main".
error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__daveNewInterface@24" in Funktion "_main".
etc
I'm using VS2012.
I'm a little bit new to programming and I really hate those linker issues because they are always bugging me and waste more time than overall programming :( :(
Hope somebody can help!
Cheers!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I merely wanted to echo your frustration with the immediately terminating windows (first question). I know its probably a newbie hurdle that is obvious to everyone more clever than a sheep, but I'm stuck and sad.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Run the test programs in Command Prompt, rather than from directly in Windows Explorer. Add arguments to make the programs do stuff! (e.g. "testISO_TCP -w 192.168.0.1")
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everybody, I'm new to programming and have to make one program that connects to PLC and write some data in C++ so I have some questions...
first question is why those applications in "win" folder immediately terminate themselves? Is there any way to read what is written in console window?
second question is a little bit tricky...
I'm trying to run testISO_TCP, but I get a lot of errors (9) like
error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__daveSetDebug@4" in Funktion "_main".
error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__daveNewInterface@24" in Funktion "_main".
etc
I'm using VS2012.
I'm a little bit new to programming and I really hate those linker issues because they are always bugging me and waste more time than overall programming :( :(
Hope somebody can help!
Cheers!
I merely wanted to echo your frustration with the immediately terminating windows (first question). I know its probably a newbie hurdle that is obvious to everyone more clever than a sheep, but I'm stuck and sad.
I figured it out for all fellow newbies.
Run the test programs in Command Prompt, rather than from directly in Windows Explorer. Add arguments to make the programs do stuff! (e.g. "testISO_TCP -w 192.168.0.1")
Last edit: David 2014-08-20
ok, I solved this second problem by linking "libnodave.lib" in Linker and it looks OK, I'll test it tomorrow how it works with turned on PLC :)