[so] Intrebare legata de linkare

Octavian Purdila tavi at cs.pub.ro
Mon Dec 4 20:22:49 EET 2006


On Monday 04 December 2006 20:20, Cristi B wrote:
> Si eu primesc erori de genul LNK2019 si LNK2001:
>
> TestRW.obj : error LNK2019: unresolved external symbol "int __cdecl
> GetNrConds(v oid)" (?GetNrConds@@YAHXZ) referenced in function "void
> __cdecl TestRW(void)" (? TestRW@@YAXXZ)
> TestStres.obj : error LNK2001: unresolved external symbol "int __cdecl
> GetNrCond s(void)" (?GetNrConds@@YAHXZ)
>
> Imi genereaza .dll-urile.
> Iar Monitor la mine e un struct, de fapt am pastrat aceeasi metoda care a
> mers pe Linux: am facut un:
>     struct sMonitor {...}
> si apoi un:
>     typedef struct sMonitor Monitor;
> Chiar nu inteleg...
>

Salut,

Incearca cu struct Monitor {...} si fara typedef.


tavi


More information about the so mailing list