[pso] [tema1 windows] Probleme la putk si Eventlog

mihai sardarescu pso@cursuri.cs.pub.ro
Tue, 15 Mar 2005 05:03:55 -0800 (PST)


--0-2124837918-1110891835=:5497
Content-Type: text/plain; charset=us-ascii

Salut,
Nu am inteles modul de lucru cu putk.
In primul rand nu inteleg ce trebuie sa contina eventlog.h care este inclus in fisierul exemplu din laboratorul 1.
Din cate am inteles ar trebui sa creez un fisier eventlog.mc cu urmatorul continut:
 
MessageIdTypedef=NTSTATUS
SeverityNames=(Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
               Warning=0x2:STATUS_SEVERITY_WARNING      
               Error=0x3:STATUS_SEVERITY_ERROR          
              )
FacilityNames=(System=0x0               
              )
MessageId=0x0001 Facility=System Severity=Informational 
SymbolicName=EVENTLOG_INFO Language=English
%2. 
.
MessageId=0x0002 Facility=System Severity=Warning 
SymbolicName=EVENTLOG_WARNING Language=English
%2. 
.
MessageId=0x0003 Facility=System Severity=Error 
SymbolicName=EVENTLOG_ERROR Language=English 
%2. 
. 
 
Dupa ce il creez trebuie sa il compilez. Cum fac asta? Si cum fac legatura intre fisierele din tema1 si aceste fisiere (eventlog.mc si eventlog.rc).
 
Multumesc,
Mihai.

		
---------------------------------
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 
--0-2124837918-1110891835=:5497
Content-Type: text/html; charset=us-ascii

<DIV>Salut,</DIV>
<DIV>Nu am inteles modul de lucru cu putk.</DIV>
<DIV>In primul rand nu inteleg ce trebuie sa contina eventlog.h care este inclus in fisierul exemplu din laboratorul 1.</DIV>
<DIV>Din cate am inteles ar trebui sa creez un fisier eventlog.mc cu urmatorul continut:</DIV>
<DIV>&nbsp;</DIV>
<DIV>MessageIdTypedef=NTSTATUS<BR>SeverityNames=(Informational=0x1:STATUS_SEVERITY_INFORMATIONAL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Warning=0x2:STATUS_SEVERITY_WARNING&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error=0x3:STATUS_SEVERITY_ERROR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<BR>FacilityNames=(System=0x0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<BR>MessageId=0x0001 Facility=System Severity=Informational <BR>SymbolicName=EVENTLOG_INFO Language=English<BR>%2. <BR>.<BR>MessageId=0x0002 Facility=System Severity=Warning <BR>SymbolicName=EVENTLOG_WARNING Language=English<BR>%2. <BR>.<BR>MessageId=0x0003 Facility=System Severity=Error
 <BR>SymbolicName=EVENTLOG_ERROR Language=English <BR>%2. <BR>. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Dupa ce il creez trebuie sa il compilez. Cum fac asta? Si cum fac legatura intre&nbsp;fisierele din tema1 si aceste fisiere (eventlog.mc si eventlog.rc).</DIV>
<DIV>&nbsp;</DIV>
<DIV>Multumesc,</DIV>
<DIV>Mihai.</DIV><p>
		<hr size=1>Do you Yahoo!?<br> 
Yahoo! Small Business - <a href="http://us.rd.yahoo.com/evt=31637/*http://smallbusiness.yahoo.com/resources/">Try our new resources site!</a> 
--0-2124837918-1110891835=:5497--