Doesn't matter am reusit sa il fac sa mearga. Nu stiu de ce trebuia sa declar functiile cu __cdecl . Acum merge<br><br><div class="gmail_quote">2008/5/31 foxX <<a href="mailto:alex.mihaiuc@gmail.com">alex.mihaiuc@gmail.com</a>>:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Salut,<br>
<br>
care sunt functiile pe care nu le gaseste atunci cand se plange?<br>
<br>
2008/5/30 Bercea Gabriel <<a href="mailto:gamitech@gmail.com">gamitech@gmail.com</a>>:<br>
<div><div></div><div class="Wj3C7c">> Salutari tuturor. Am pierdut 2 zile la tema 4 pentru ca nu reusesc sa fac<br>
> makefileul pentru tema asta.<br>
> Am urmatorul continut in makefile:<br>
><br>
> OBJ_LIST=QueueListsManipulator.obj<br>
> build: LibMonitor.dll LibRW.dll<br>
><br>
> LibMonitor.dll: LibMonitor.obj ControlMonitor.obj $(OBJ_LIST)<br>
> cl /W3 /nologo /LD LibMonitor.obj ControlMonitor.obj $(OBJ_LIST)<br>
><br>
> LibRW.dll: LibRW.obj LibMonitor.lib ControlRW.obj $(OBJ_LIST)<br>
> cl /W3 /nologo /LD LibRW.obj ControlRW.obj LibMonitor.lib $(OBJ_LIST)<br>
><br>
> LibMonitor.obj: LibMonitor.cpp<br>
> cl /EHsc /c /w LibMonitor.cpp /Fo$@<br>
><br>
> LibRW.obj: LibRW.cpp<br>
> cl /EHsc /c LibRW.cpp /Fo$@<br>
><br>
> QueueListsManipulator.obj: QueueListsManipulator.cpp<br>
> $(CC) $(CFLAGS) /c QueueListsManipulator.cpp /Fo$@<br>
><br>
><br>
> clean:<br>
> rm *.obj *.dll *.exp $(OBJ_LIST)<br>
><br>
><br>
> Execut urmatoarele serii de comenzi in consola:<br>
><br>
> nmake -f NMakefile.checker build-pre - asta e OK copiaza cele 2 objuri in<br>
> root ul sursele mele<br>
><br>
> nmake build - successful de asemenea, imi creeaza LibMonitor.dll LibRW.dll.<br>
> Am verificat cele 2 librarii cu un program care face browse in portable<br>
> executers, si functiile exportate sunt cele asteptate. Am facut de asemenea<br>
> un program de test care face LoadLibrary si GetProcAddress si merge OK.<br>
><br>
> nmake -f NMakefile.checker build-post - aici imi face obj la toate restul<br>
> de fisiere, si la ultimul pas, acolo unde tre sa scoata test.exe, imi da 13<br>
> unresolved externals, si mi le enumera. Si astea sunt functii de la monitor,<br>
> de la lib RW, structura Monitor.<br>
><br>
> Ma depaseste teribil chestia asta.<br>
> Daca tot se compileaza pe masina virtuala chestia asta cu compilatoare de<br>
> visual studio, de ce nu pot sa trimit proiectul de Visual Studio.<br>
><br>
> PS: Compilat in Visual Studio merge ok, se testeaza.<br>
><br>
</div></div>> _______________________________________________<br>
> so mailing list<br>
> <a 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>
><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
kthxbai<br>
_______________________________________________<br>
so mailing list<br>
<a 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>
</font></blockquote></div><br>