Displaying 4 results from an estimated 4 matches for "format_message_allocate_buffer".
2006 Dec 17
0
FormatMessage issue in eventlog.rb - more clues
...uot;. Which, btw, is
what GetLastError(39) returns. How that ends up getting assigned to the
buffer, I''m not sure.
Now, consider this approach:
int main(){
HMODULE hmod;
int rv;
char* message;
char* dll = "C:\\WINDOWS\\system32\\mscoree.dll";
int flags = FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_HMODULE |
FORMAT_MESSAGE_IGNORE_INSERTS;
hmod = LoadLibraryEx(dll, 0, LOAD_LIBRARY_AS_DATAFILE);
printf("HMOD: %i\n", hmod);
rv = FormatMessage(
flags,
hmod,
0,
0,
(LPSTR)&message...
2006 May 17
1
Need a little help with the pure Ruby win32-eventlog
Hi all,
I''m working on the EventLog#read method for the pure Ruby version of
win32-eventlog, but I''m stuck on the get_description private method.
Here are the problems:
* I don''t think I''m advancing the EVENTLOGRECORD properly between
iterations. Take a look at the end of the "while dwread > 0" loop. I
get some records, but not all of them.
2006 May 17
3
Need a little help with the pureRubywin32-eventlog
> -----Original Message-----
> From: win32utils-devel-bounces at rubyforge.org
> [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of
> Berger, Daniel
> Sent: Wednesday, May 17, 2006 12:07 PM
> To: Development and ideas for win32utils projects
> Subject: Re: [Win32utils-devel] Need a little help with the
> pureRubywin32-eventlog
>
>
> >
2017 Nov 09
10
Experiment on how to improve our temporary file handing.
Currently a power failure or other hard crash can cause lld leave a temporary
file around. The same is true for other llvm tools.
As an example, put a breakpoint in Writer.cpp:236 ("writeBuildId()") and
restart the run a few times. You will get
t.tmp43a735a t.tmp4deeabb t.tmp9bacdd3 t.tmpe4115c4 t.tmpeb01fff
The same would happen if there was a fatal error between the