<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:14pt">Pai eu am lucrat in C++, de unde o serie de probleme, inclusiv de performanta. La linkare ai grija sa o faci corect, sa nu ai cod duplicat si verifica tipurile de date: Monitor sa nu fie structura intr-o parte (in teste) si clasa la tine de exemplu. <br>Eu nu am avut problem la linkarea librariei RW totusi...nu stiu ce sa zic, esti sigur ca sunt exportate corect functiile din libraria RW? incearca sa faci un program simplu care sa le foloseasca. <br>Am mai observat ca apar problem de linkare daca pui optiuni de debug la UNELE librarii si nu la toate.<br>Compilarea mea este ceva de genul <br>cod dependent de sistem-> so.out<br>libarie C++->monitoare.out<br>librarie wrapper C monitoare +so.out+monitoare.out->LibMonitor<br>librarie C RW +LibMonitor ->LibRW<br><br>Stiu ca nu prea te
ajuta, daca vrei mai vb pe mess.<br>Succes,<br>Dragos Dumitru Sbîrlea<br><span style="color: rgb(91, 91, 91);">Facultatea de Automatica si Calculatoare</span><br style="color: rgb(91, 91, 91);"><span style="color: rgb(91, 91, 91);">Universitatea Politehnica din Bucuresti</span><div style="font-family: times new roman,new york,times,serif; font-size: 14pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Alexandru Mosoi <brtzsnr@gmail.com><br>To: Sisteme de Operare <so@cursuri.cs.pub.ro><br>Sent: Monday, 3 December, 2007 12:16:31 AM<br>Subject: Re: [so] [T3] Program database manager mismatch<br><br>poti sa-mi spui si mie cum ai compilat sub windows?<br><br>de 1h ma chinui sa compilez si dupa ce am reusit sa compilez dll-urile<br>nu reusesc sa compilez ./Test.exe primesc niste erori specifice (lista<br>e infinit mai lunga). Am dat declare ca dllexport la functiile
alea,<br>am incercat si sa modific fisierele de test, dar fara noroc:<br><br> link /release /out:../Test.exe Test.obj TestMonitor.obj
TestRW.obj TestS<br>tres.obj Test1.obj Test2.obj Test3.obj Test4.obj Test5.obj Test6.obj
../LibRW.li<br>b ../LibMonitor.lib<br>Microsoft (R) Incremental Linker Version 8.00.50727.42<br>Copyright (C) Microsoft Corporation. All rights reserved.<br><br>TestRW.obj : error LNK2019: unresolved external symbol "struct Monitor
* __cdecl<br> CreateRWMonitor(void)" (?CreateRWMonitor@@YAPAUMonitor@@XZ) referenced
in funct<br>ion "void __cdecl TestRW(void)" (?TestRW@@YAXXZ)<br>TestStres.obj : error LNK2001: unresolved external symbol "struct
Monitor * __cd<br>ecl CreateRWMonitor(void)" (?CreateRWMonitor@@YAPAUMonitor@@XZ)<br>TestRW.obj : error LNK2019: unresolved external symbol "void __cdecl
StopCit(str<br>uct Monitor *)" (?StopCit@@YAXPAUMonitor@@@Z) referenced in function
"unsigned l<br>ong __stdcall Functie1ABC(void *)" (?Functie1ABC@@YGKPAX@Z)<br>TestStres.obj : error LNK2001: unresolved external symbol "void __cdecl
StopCit(<br>struct Monitor *)" (?StopCit@@YAXPAUMonitor@@@Z)<br><br>On Dec 1, 2007 8:59 PM, Dragos Sbarlea <<a ymailto="mailto:sbarlead@yahoo.com" href="mailto:sbarlead@yahoo.com">sbarlead@yahoo.com</a>> wrote:<br>><br>> Salut,<br>><br>> La mine tema mea mi se compileaza perfect, fara warninguri, etc.<br>> Cand fac upload pe site primesc:<br>><br>> LibMonitor.cpp<br>> LibMonitor.cpp : fatal error C1902: Program database manager
mismatch;<br>> please check your installation<br>> monitori.cpp<br>> monitori.cpp : fatal error C1902: Program database manager mismatch;
please<br>> check your installation<br>> so.cpp<br>> so.cpp : fatal error C1902: Program database manager mismatch; please
check<br>> your installation<br>> Generating Code...<br>> NMAKE : fatal error U1077: 'cl' : return code '0x2'<br>> Stop.<br>> checker: building failed<br>> Problema e ca nu prea am cum sa fac debuging si nu imi dau seama ce
as putea<br>> sa fac sa repar problema. Din ce am citit pe net, eroarea asta ar
putea fi<br>> de la instalare VS Express busita.<br>><br>> Please help....<br>><br>> Dragos Dumitru Sbîrlea<br>> Facultatea de Automatica si Calculatoare<br>> Universitatea Politehnica din Bucuresti<br>><br>><br>> ________________________________<br>> Sent from Yahoo! - the World's favourite mail.<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>><br>><br><br><br><br>-- <br>Alexandru Moşoi<br><a href="http://alexandru.mosoi.googlepages.com" target="_blank">http://alexandru.mosoi.googlepages.com</a><br><br>Please avoid sending me Word or PowerPoint attachments.<br>See <a
href="http://www.gnu.org/philosophy/no-word-attachments.html" target="_blank">http://www.gnu.org/philosophy/no-word-attachments.html</a><br></div><br></div></div><br>
<hr size=1> Sent from <a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=51949/*http://uk.docs.yahoo.com/mail/winter07.html">Yahoo!</a> - the World's favourite mail.</body></html>