Subversion Repositories filter_foundry

Compare Revisions

Regard whitespace Rev 528 → Rev 529

/trunk/3264_mixer/README.MD
0,0 → 1,5
# Filter Foundry 32/64 bit mixer
 
This is an internal tool used in the post-build process of Filter Foundry 1.7.
 
Besides a some cosmetics, its main purpose is to add the 32-bit DLL to the 64-bit 8BF (as resource) and vice-versa. This is required so that Filter Foundry can create 32 and 64 bit standalone filters at the same time.
/trunk/3264_mixer/foundry_3264_mixer.cpp
1,7 → 1,7
/*
This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop
Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.com.au
Copyright (C) 2018-2021 Daniel Marschall, ViaThinkSoft
Copyright (C) 2018-2022 Daniel Marschall, ViaThinkSoft
 
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
155,7 → 155,7
// It is not required for DLLs, but everybody does it, and I think it is cosmetics to fill these fields, even if not required.
_set_pe_int32(fptr, /*0x0060*/offsetof(PE32, optHeader.SizeOfStackReserve), 0x00100000);
_set_pe_int32(fptr, /*0x0064*/offsetof(PE32, optHeader.SizeOfStackCommit), 0x00001000);
// Heap reserved can be changed with linker option "OPTION HEAP=1m"
// Heap reserved can be changed with linker option "OPTION HEAP=1m" before beta 21 Dec 2021
_set_pe_int32(fptr, /*0x0068*/offsetof(PE32, optHeader.SizeOfHeapReserve), 0x00100000);
_set_pe_int32(fptr, /*0x006C*/offsetof(PE32, optHeader.SizeOfHeapCommit), 0x00001000);