Ниже переписка про C5->C10:
On 11 Jan 2018 14:22:23 -0500, "Chris Buechler"
<chris@eicsoftware.com> wrote:
I am in the process of migrating from C5 to C10 but having an issue getting
C10 to compile a C5 dll. I have added C5 to the C10 IDE, updated the C5
redirection file, imported all C5 templates, fixed any errors in the C5 TPW
files and created what looks like a functioning C5 environment. At first I
thought it was my C5 dll so created a new empty C5 dll but am still getting
the same error, "An unexpected error occured while building this project -
C:\Users\pelig\Documents\Projects\Clarion\EIC\5\eic.cwproj:1" This error
gives me no information as to what is causing the problem and I am at a loss
as to where to go next. Help and/or some direction from anyone, would be
greatly appreciated. As a side note, I am on WIN10 and I do restart C10
whenever I change Clarion versions.
Jeff Slarve
www.jssoftware.com
I had a weird problem where C55 libs and dlls were getting created
with quotes around the names. Maybe C5 is similar? See attached.
If that's what it looks like you're getting, here's Alexey's response
to my (non public) PTSS from 2011:
"Templates do generate wrong LIBRARY and NAME directives in the EXP
file: they put the name of executable into single quotes rather than
correct double quotes. Plus, the linker from C55 not supports building
of executables with spaces in the name. Therefore it takes name of
executable from the NAME/LIBRARY directive as is. The linker in C6 and
further CW versions supports names of executables with spaces and
handles wrong directives generated by templates. C7/C8 in C55 mode is
using the linker from C55 and thus incorrect name is writing into
executable's PE header. Possible workarounds: - Take the linker from
C6 (C60LPEX.DLL), rename it to C55LPEX.DLL, change the name of the DLL
in the PE header to C55LPEX.DLL using any hexadecimal file editor,
copy this DLL to the BIN directory of C55 - If your EXE/DLL has no
spaces in its name, just edit ABBLDEXP.TPW from C55 by removing single
quote characters around executable's name in generating NAME and
LIBRARY directives (BUILDEXP.TPW is looking as correct). "