by gamefreaks » Oct 28, 2001 @ 10:28am
Does anyone know how to use FindFirstFlashCard() in eVC++?<br><br>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.<br><br>--CODE--<br><br>HANDLE hFlash;<br>WIN32_FIND_DATA found;<br><br>//Find flash cards<br>hFlash = FindFirstFlashCard(&found);<br>if (hFlash != INVALID_HANDLE_VALUE)<br> {<br> //Look for Quake on this & other CF cards<br> }<br> else<br> {<br> //No CF cards.<br> FindClose(hFlash);<br> }<br><br>--LINK ERRORR--<br><br>PocketQuake LaunchDlg.obj : error LNK2019: unresolved external symbol _FindFirstFlashCard@4 referenced in function "protected: virtual int __thiscall CPocketQuakeLaunchDlg::OnInitDialog(void)" (?OnInitDialog@CPocketQuakeLaunchDlg@@MAEHXZ)<br><br>X86EMRel/PQL.exe : fatal error LNK1120: 1 unresolved externals<br><br>--<br><br>Does anyone know what is causing this?<br>I have tried including <projects.h><br><br>Without CF card searching PQL is a waste of time for anyone who has their PQ paks on a CF card.
What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen