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?
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center