Am comentat clauzele de extern "C" si s-a compilat, cel putin momentan:) Atasez si makefile, tot raman curios dece apareau erorile acelea:<br><br>CPPFLAGS = /nologo /W2 /EHsc<br>CC = cl<br><br>build: Monitor.obj RW.obj<br>
link /release /dll /out:LibMonitor.dll Monitor.obj ControlMonitor.obj<br> link /release /dll /out:LibRW.dll RW.obj ControlRW.obj LibMonitor.lib<br> <br>Monitor.obj: Monitor.cpp Monitor.h<br> $(CC) $(CPPFLAGS) /c Monitor.cpp<br>
<br>RW.obj: RW.cpp RW.h<br> $(CC) $(CPPFLAGS) /c RW.cpp<br><br>clean :<br> del *.obj libvm.dll *.lib *.dat *.exe<br><br><div class="gmail_quote">2008/5/25 Razvan Deaconescu <<a href="mailto:razvand@cs.pub.ro">razvand@cs.pub.ro</a>>:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Sun, 2008-05-25 at 11:39 +0300, Andrei Stefanescu wrote:<br>
> Am o problema legata de compilare. Imi apare eroare la linkarea<br>
> bibliotecii partajate. Multumesc mult pentru orice ajutor!<br>
<br>
</div>A Makefile, perhaps? Ca sa vedem si comenzile pe care le folosesti.<br>
<div><div></div><div class="Wj3C7c"><br>
Razvan<br>
<br>
<br>
--<br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.<br>
<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>
</div></div></blockquote></div><br>