Skip to content

Commit eb10960

Browse files
author
FusixGit
committed
Update readme.md
1 parent 5ec6491 commit eb10960

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

readme.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@ MemoryModule
2525

2626
Пример запуска:
2727

28-
void RunBinary()
29-
{
3028
wchar_t ModuleName[64+1];
31-
memset(ModuleName, 0x00, 64+1);
29+
memset(ModuleName, 0x00, (64+1)*2);
3230

3331
GetModuleFileNameW(NULL, ModuleName, 64);
3432

@@ -51,4 +49,3 @@ void RunBinary()
5149
moduleStartArgs.CommandLine = CommandLine; // CommandLine
5250
moduleStartArgs.InThread = true; // Run in new thread
5351
MemoryCallEntryPoint(hM, &moduleStartArgs); // CALL
54-
}

0 commit comments

Comments
 (0)