03-13-2019, 01:56 PM
I managed to get a colleague in the office to set up RD into the 64-bit W7 box runnungXE7. I can report:
Re new 64-bit IW application:
Adding the #include <tchar.h> gets past the linker error and gives a clean build. But running the app still gives the exception immediately on start-up: "The application was unable to start correctly (0x000007b. Click OK to close the application."
Starting the app within the IDE in fact simply crashes out without comment in the blink of an eye, the above message results when you start the app by clicking on it in Explorer.
In the VCL, I can start the application by clicking on the 'step into' button, where it goes to the CPU code (presumably the entry point) at:
00000000775C3840 4883EC48 sub rsp,$48
00000000775C3844 4C8BC9 mov r9,rcx
00000000775C3847 488B053AF40D00 mov rax,[rel $000df43a]
00000000775C384E 4885C0 test rax,rax
00000000775C3851 740C jz $00000000775c385f
00000000775C3853 4C8BC2 mov r8,rdx
00000000775C3856 488BD1 mov rdx,rcx
00000000775C3859 33C9 xor ecx,ecx
00000000775C385B FFD0 call rax
00000000775C385D EB1A jmp $00000000775c3879
Any attempt to step past the first line simply terminates the app.
For comparison I did the same on the healthy 32-bit app, where the start-up code is:
00402A58 EB10 jmp $00402a6a
which looks a lot more viable ! So I am thinking it is something to do with the entry point, but I may be mistaken.
Sincerely,
Denville.
Re new 64-bit IW application:
Adding the #include <tchar.h> gets past the linker error and gives a clean build. But running the app still gives the exception immediately on start-up: "The application was unable to start correctly (0x000007b. Click OK to close the application."
Starting the app within the IDE in fact simply crashes out without comment in the blink of an eye, the above message results when you start the app by clicking on it in Explorer.
In the VCL, I can start the application by clicking on the 'step into' button, where it goes to the CPU code (presumably the entry point) at:
00000000775C3840 4883EC48 sub rsp,$48
00000000775C3844 4C8BC9 mov r9,rcx
00000000775C3847 488B053AF40D00 mov rax,[rel $000df43a]
00000000775C384E 4885C0 test rax,rax
00000000775C3851 740C jz $00000000775c385f
00000000775C3853 4C8BC2 mov r8,rdx
00000000775C3856 488BD1 mov rdx,rcx
00000000775C3859 33C9 xor ecx,ecx
00000000775C385B FFD0 call rax
00000000775C385D EB1A jmp $00000000775c3879
Any attempt to step past the first line simply terminates the app.
For comparison I did the same on the healthy 32-bit app, where the start-up code is:
00402A58 EB10 jmp $00402a6a
which looks a lot more viable ! So I am thinking it is something to do with the entry point, but I may be mistaken.
Sincerely,
Denville.