Can a VB exe by an EventLog source?
I am using the RegisterEventSource and ReportEvent APIs from my VB app
to write to the event log. I've gotten the impression that VB cannot
be an EventLog source. This is not due to any real evidence, only lots
of information referrring to VC and none referring to doing it in VB.
My first question is whether and how to do this in VB.
So, I have created a very simplistic standard DLL in C to be my event
source. It contains my .mc message file and the .h file containing the
#DEFINEs for each message (created by the mc command). I am considering
writing a small program to create a .BAS file of constants for use in VB
from the .h file of #DEFINEs. However, I figure either someone has done
this before me or this is not the smartest approach. Any suggestions?
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL