<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Eu am patit asta pe calcul meu. Solutia e un #define _WIN32_WINNT 0x0500 inainte de #include <windows.h> in tema5.h. Vezi daca se rezolva.<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Faur Andrei <faur.andrei@yahoo.com><br>To: so@cursuri.cs.pub.ro<br>Sent: Saturday, May 10, 2008 2:44:18 PM<br>Subject: [so] Tema 3 windows probleme compilare<br><br>
Cu toate ca pe calculatorul meu se compileaza si programul merge, cand uploadez pe site primesc urmatoarea eroare : <br><br>[bla bla...]<br><br>cl /nologo /W3 /EHsc /c tema3.c<br><br>Microsoft (R) Program Maintenance Utility Version 7.00.8882<br>Copyright (C) Microsoft Corp 1988-2000. All rights reserved.<br><br>tema3.c(392) : warning C4013: 'AddVectoredExceptionHandler' undefined; assuming extern returning int<br>tema3.c(393) : warning C4047: '=' : 'LPVOID' differs in levels of indirection from 'int'<br>tema3.c(487) : warning C4013: 'RemoveVectoredExceptionHandler' undefined; assuming extern returning int<br> link /nologo /release /dll /out:libvm.dll /implib:libvm.lib tema3.obj<br> Creating library libvm.lib and object libvm.exp<br>tema3.obj : error LNK2019: unresolved external symbol _AddVectoredExceptionHandler referenced in function _VirtualInit<br>tema3.obj : error LNK2019: unresolved external symbol
_RemoveVectoredExceptionHandler referenced in function _VirtualEnd<br>libvm.dll : fatal error LNK1120: 2 unresolved externals<br>NMAKE : fatal error U1077: 'link' : return code '0x460'<br>Stop. In makefile am ceva de genul :<br>cl /nologo /W3 /EHsc /c tema3.c pentru fisierul obiect<br>link /nologo /release /dll /out:libvm.dll /implib:libvm.lib tema3.obj pentru librarie<br><br>What am i missing?<br><br><br> ____________________________________________________________________________________<br>Be a better friend, newshound, and <br>know-it-all with Yahoo! Mobile. Try it now. <a href="http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ" target="_blank">http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ</a><br>_______________________________________________<br>so mailing list<br><a ymailto="mailto:so@cursuri.cs.pub.ro" href="mailto:so@cursuri.cs.pub.ro">so@cursuri.cs.pub.ro</a><br><a
href="http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so" target="_blank">http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so</a><br></div></div></div><br>
<hr size=1>Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>