[pso] test.c pentru Windows
Stefan Guna
pso@cursuri.cs.pub.ro
Thu, 17 Mar 2005 18:58:09 +0200
Nu reusesc sa compilez testul pentru windows. Ce ar trebui sa fac?
Daca incerc "cl test.c" din Windows XP Free Build environment, nu-mi gaseste
fisierele antent. Daca dau "cl test.c" din promptul din VS .NET, imi da
niste erori de genul:
/out:test.exe
test.obj
test.obj : error LNK2019: unresolved external symbol __imp__CloseEventLog@4
refe
renced in function _clear_log
test.obj : error LNK2019: unresolved external symbol __imp__ClearEventLogA@8
ref
erenced in function _clear_log
test.obj : error LNK2019: unresolved external symbol __imp__OpenEventLogA@8
refe
renced in function _clear_log
test.obj : error LNK2019: unresolved external symbol __imp__ReadEventLogA@28
ref
erenced in function _find_log
test.obj : error LNK2019: unresolved external symbol
__imp__CreateProcessAsUserA
@44 referenced in function _do_as_guest
test.obj : error LNK2019: unresolved external symbol __imp__LogonUserA@24
refere
nced in function _main
test.exe : fatal error LNK1120: 6 unresolved externals
Banuies ca ar trebui sa le linkeditez cu ceva, dar cu ce?