Author |
Message |
Topic: Porting old DBOS calls |
Ryan
Replies: 10
Views: 10072
|
Forum: 64-bit Posted: Mon Nov 27, 2023 1:44 pm Subject: |
I did try that and the linker complained again.
I've now got it working, it was using an old 'include mywin.ins' which must have been confusing it. Using the proper module seems to resolve it corre ... |
Topic: Porting old DBOS calls |
Ryan
Replies: 10
Views: 10072
|
Forum: 64-bit Posted: Mon Nov 27, 2023 12:27 pm Subject: |
It seems that the linker has chosen simdem64 as the source for those DBOS calls. Perhaps it's missing a use clrwin statement that is implied in 32 bit.
I'll have to investigate further.
DRAW_ELL ... |
Topic: Porting old DBOS calls |
Ryan
Replies: 10
Views: 10072
|
Forum: 64-bit Posted: Mon Nov 27, 2023 12:07 pm Subject: |
Odd, we do not mean to use SimDem64.dll but now I've renamed those DLLs, I'm getting 'The code execution cannot proceed because SIMDEM64.DLL was not found. Reinstalling the program may fix this proble ... |
Topic: Porting old DBOS calls |
Ryan
Replies: 10
Views: 10072
|
Forum: 64-bit Posted: Mon Nov 27, 2023 11:27 am Subject: |
A bit more information.
After adding a main, I still receive a message box with;
Entry Point Not Found
The procedure entry point get_file_size could not be located in the dynamic link library ... |
Topic: Porting old DBOS calls |
Ryan
Replies: 10
Views: 10072
|
Forum: 64-bit Posted: Mon Nov 27, 2023 11:21 am Subject: |
Thank you Paul.
It's all compiling now.
32 bit still works with the same source but the 64 bit is complaining it cannot find an entry point.
Do you know why these might differ? Neither has a ... |
Topic: Porting old DBOS calls |
Ryan
Replies: 10
Views: 10072
|
Forum: 64-bit Posted: Sun Nov 26, 2023 7:51 pm Subject: |
Yes, I saw those and that's why I did not think they would be a problem.
However, the documentation for SET_COLOURS does not exist and neither does the function. It was mostly about that one functi ... |
Topic: Porting old DBOS calls |
Ryan
Replies: 10
Views: 10072
|
Forum: 64-bit Posted: Sat Nov 25, 2023 5:45 pm Subject: Porting old DBOS calls |
Hi all,
I am trying to find modern equivalents of the following two DBOS calls, but the function the documentation suggests to use is undocumented and not showing up in any searches.
Can anyone ... |
Topic: Attempt to emit 32-bit instruction in /64 mode |
Ryan
Replies: 3
Views: 6330
|
Forum: 64-bit Posted: Thu Nov 23, 2023 11:27 am Subject: Attempt to emit 32-bit instruction in /64 mode |
Hi all,
I'm porting a 32 bit app to 64 bit and on switching on debug, I get the following error message when building;
*** Attempt to emit 32-bit instruction in /64 mode
This is in a C++ file ... |
Topic: Is the get_filtered_file@ call usable? |
Ryan
Replies: 8
Views: 11317
|
Forum: ClearWin+ Posted: Thu May 25, 2023 4:41 pm Subject: |
I've found the 64 bit is unstable too so I'll look at patching the C++ app for now.
Thank you. |
Topic: Is the get_filtered_file@ call usable? |
Ryan
Replies: 8
Views: 11317
|
Forum: ClearWin+ Posted: Thu May 25, 2023 2:16 pm Subject: |
I'm always up to date, so it's not that. It looks like memory corruption / buffer overruns to me.
Even the 64 bit version is not stable now.
I've figured out that the original developer had the ... |
Topic: Is the get_filtered_file@ call usable? |
Ryan
Replies: 8
Views: 11317
|
Forum: ClearWin+ Posted: Thu May 25, 2023 1:42 pm Subject: |
It seems between 32 and 64 bit there is no single solution. I'll have to use #ifdef unless you have any suggestions.
Findings;
32 bit, no flag = Does not allow changing directory for ~30 seconds ... |
Topic: Is the get_filtered_file@ call usable? |
Ryan
Replies: 8
Views: 11317
|
Forum: ClearWin+ Posted: Thu May 25, 2023 1:20 pm Subject: |
Thanks Paul,
I'll do some more investigations but it is not behaving consistently between 32 and 64 bit. |
Topic: Is the get_filtered_file@ call usable? |
Ryan
Replies: 8
Views: 11317
|
Forum: ClearWin+ Posted: Wed May 24, 2023 9:56 pm Subject: Is the get_filtered_file@ call usable? |
I'm trying to replace some C++ bridge code that opens a file dialog using an .exe and I'm calling the code below but it is crashing reliably.
This is in 64 bit.
If I add CALL CLEARWIN_OPTION@(&q ... |
Topic: Sample solution file locations |
Ryan
Replies: 2
Views: 9050
|
Forum: ClearWin+ Posted: Wed May 24, 2023 1:41 pm Subject: |
Thank you. I didn't realise that was there. |
Topic: Sample solution file locations |
Ryan
Replies: 2
Views: 9050
|
Forum: ClearWin+ Posted: Wed May 24, 2023 12:47 pm Subject: Sample solution file locations |
I'm looking to rework some old F77 code that shows a Windows File Open Dialog and I see references on the SilverFrost website to a set of solution files that demonstrate this.
I can't find them tho ... |
|