This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Need Help!!!


Need Help!!!

Postby 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
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Re: Need Help!!!

Postby Dan East » Oct 28, 2001 @ 6:09pm

You have to link to note_prj.lib.<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: Need Help!!!

Postby gamefreaks » Oct 28, 2001 @ 6:53pm

Thanks Dan. You are a great help! ;)
What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Return to Pocket Quake 1 and 2


Sort


Forum Description

Discuss Pocket Quake 1 and 2 by Dan East

Moderators:

Dan East, sponge, James S

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum