Does anyone know how to use FindFirstFlashCard() in eVC++?
I have looked at the PQ source, which compiles & links OK, but when I try to use the following code: It compiles without error but I then get a link error.
--CODE--
HANDLE hFlash;
WIN32_FIND_DATA found;
//Find flash cards
hFlash = FindFirstFlashCard(&found);
if (hFlash != INVALID_HANDLE_VALUE)
{
//Look for Quake on this & other CF cards
}
else
{
//No CF cards.
FindClose(hFlash);
}
--LINK ERRORR--
PocketQuake LaunchDlg.obj : error LNK2019: unresolved external symbol _FindFirstFlashCard@4 referenced in function "protected: virtual int __thiscall CPocketQuakeLaunchDlg::OnInitDialog(void)" (?OnInitDialog@CPocketQuakeLaunchDlg@@MAEHXZ)
X86EMRel/PQL.exe : fatal error LNK1120: 1 unresolved externals
--
Does anyone know what is causing this?
I have tried including <projects.h>
Without CF card searching PQL is a waste of time for anyone who has their PQ paks on a CF card.
I have looked at the PQ source, which compiles & links OK, but when I try to use the following code: It compiles without error but I then get a link error.
--CODE--
HANDLE hFlash;
WIN32_FIND_DATA found;
//Find flash cards
hFlash = FindFirstFlashCard(&found);
if (hFlash != INVALID_HANDLE_VALUE)
{
//Look for Quake on this & other CF cards
}
else
{
//No CF cards.
FindClose(hFlash);
}
--LINK ERRORR--
PocketQuake LaunchDlg.obj : error LNK2019: unresolved external symbol _FindFirstFlashCard@4 referenced in function "protected: virtual int __thiscall CPocketQuakeLaunchDlg::OnInitDialog(void)" (?OnInitDialog@CPocketQuakeLaunchDlg@@MAEHXZ)
X86EMRel/PQL.exe : fatal error LNK1120: 1 unresolved externals
--
Does anyone know what is causing this?
I have tried including <projects.h>
Without CF card searching PQL is a waste of time for anyone who has their PQ paks on a CF card.