Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Write by a .dll instead of the elog.exe, posted by Marcel Krenz on Tue May 21 15:05:25 2019 
    icon2.gif   Re: Write by a .dll instead of the elog.exe, posted by Stefan Ritt on Tue May 21 17:20:19 2019 
Message ID: 68985     Entry time: Tue May 21 17:20:19 2019     In reply to: 68983
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Windows  ELOG Version: 3.1.4 
Subject: Re: Write by a .dll instead of the elog.exe 

I presume you want to write from another program. You can call a command line shell (done via the "system()" command under C) which then calls the elog executable. If you absolutely want a DLL, you can einter try to compile one yourself using the fuctions in elog.c, or use the curl DLL with which you can also submit elog entries. See elog:68597 for usage of curl. While curl is usually executed from the command line, there is also a curl library containing the same functionality. See https://curl.haxx.se/windows/

Marcel Krenz wrote:

Dear All,

 

is it possible to write to the elog instead of the Command line throug a .dll

 

Best

MK

 

ELOG V3.1.5-fe60aaf