IO Warrior Visual C++ 2008 LNK2019 Error

This is the English forum for all topics related to IO-Warrior. Please post in English only

Moderator: Guido Körber

Post Reply
pcrichton
Posts: 13
Joined: Thu Jun 18, 2009 5:21 pm

IO Warrior Visual C++ 2008 LNK2019 Error

Post by pcrichton »

Hi, I am having an issue when writing a program to access the IO Warrior in Visual C++ 2008. All I have done is create a new dialog program and I have tried to open the IO Warrior in the OnInitDialog function as done similarly in the Simple IO example program. When I do so I get an error regarding Error


1 error LNK2019: unresolved external symbol _IowKitOpenDevice@0 referenced in function "protected: virtual int __thiscall CClass1Dlg::OnInitDialog(void)" (?OnInitDialog@CClass1Dlg@@MAEHXZ) Class1Dlg.obj


I have included iowkit.h in the .cpp

I was just wondering if you anyone has come across any other issues such as this when using VC++ 2008 or if anyone had any help as to what the problem may be?

Thanks,

Paul
pcrichton
Posts: 13
Joined: Thu Jun 18, 2009 5:21 pm

Re: IO Warrior Visual C++ 2008 LNK2019 Error

Post by pcrichton »

Problem Solved, I had not included the iowkit.lib file in my program directory.
Post Reply