forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 66 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Attempt to emit 32-bit instruction in /64 mode
dgurok

Replies: 3
Views: 2684

PostForum: 64-bit   Posted: Fri Dec 01, 2023 4:05 pm   Subject:
I can also reproduce the problem.

The problem is caused by using some headers. These three headers provide e.g. this error.

#include <fstream.h> // <---- *** Attempt to emit 32-bi ...
  Topic: Different behavior concerning READF@
dgurok

Replies: 10
Views: 3979

PostForum: 64-bit   Posted: Fri Dec 01, 2023 1:08 pm   Subject:
Thanks Paul for the new DLLs.

I did a quick test and so far I'm not having any problems reading and writing files in the way we process our data.
  Topic: Different behavior concerning READF@
dgurok

Replies: 10
Views: 3979

PostForum: 64-bit   Posted: Fri Dec 01, 2023 10:43 am   Subject:
That sounds great. You can send me the download link via PM if you like.

I will then report how the change affects our port.
  Topic: Different behavior concerning READF@
dgurok

Replies: 10
Views: 3979

PostForum: 64-bit   Posted: Fri Dec 01, 2023 10:15 am   Subject:
Thanks Paul,

That would certainly help us if we push forward with our Salford 64-bit port next year, as there are other internal technical problems that need to be solved too Smile
  Topic: Different behavior concerning READF@
dgurok

Replies: 10
Views: 3979

PostForum: 64-bit   Posted: Thu Nov 30, 2023 10:32 am   Subject:
PROGRAM TEST
C
CHARACTER TXTDUM*32000
CHARACTER*256 TXTFIL
INTEGER*2 HWND, IERR
INTEGER*4 NB, NBR
C
NB=80
TXTFIL='MOD.txt'
CALL OPE ...
  Topic: Different behavior concerning READF@
dgurok

Replies: 10
Views: 3979

PostForum: 64-bit   Posted: Thu Nov 30, 2023 9:59 am   Subject: Different behavior concerning READF@
Hi all,

I'm trying to port an old Salford code from 32-bit to 64-bit. I encountered a problem with READF@. In the 32-bit version, READF@ also reads ASCII data correctly. In the 64-bit version, howe ...
  Topic: Different result in 64-bit application
dgurok

Replies: 15
Views: 17945

PostForum: 64-bit   Posted: Wed Apr 28, 2021 1:34 pm   Subject:
A full switch to double precision is not a solution for us. We try to detect the critical code parts. We will use the REAL function to handle the REAL*4 data as REAL*8. With that change 32-bit and 64- ...
  Topic: Different result in 64-bit application
dgurok

Replies: 15
Views: 17945

PostForum: 64-bit   Posted: Tue Apr 27, 2021 3:47 pm   Subject:
Yes, just have to change REAL*4 to REAL*8 and bot applications behave same. That’s not the point. This behavior makes an application port from 32-bit to 64-bit much more complicated. The question is, ...
  Topic: Different result in 64-bit application
dgurok

Replies: 15
Views: 17945

PostForum: 64-bit   Posted: Tue Apr 27, 2021 1:59 pm   Subject: Different result in 64-bit application
I have created a simple example which behaves in the 32-bit version correct. Same code provides a different result in 64-bit application. Looks like the decimal places behave differently.

I’m usin ...
  Topic: Problem with GetDeviceCaps (SCC)
dgurok

Replies: 1
Views: 2398

PostForum: Support   Posted: Mon Sep 21, 2020 8:58 am   Subject: Problem with GetDeviceCaps (SCC)
Early this year we updated our ftn95 compiler from version 7.10.0 to version 8.62.0. We have observed different behavior concerning C function "GetDeviceCaps" concerning parameters HORZRES, ...
  Topic: Problem with text scaling under Windows 10
dgurok

Replies: 6
Views: 5611

PostForum: Support   Posted: Wed Jul 31, 2019 11:11 am   Subject:
This solution provides the expected scaling result 100, 125, 150:

HDC desktopDc;
desktopDc = GetDC(NULL);
int virtualWidth = GetDeviceCaps(desktopDc, HORZRES);
...
  Topic: Problem with text scaling under Windows 10
dgurok

Replies: 6
Views: 5611

PostForum: Support   Posted: Wed Jul 31, 2019 10:09 am   Subject:
I tried to use SPI_GETNONCLIENTMETRICS this way. Is that okay?:


#include <windows.h>
#include <stdio.h>
#pragma comment(lib, "user32.lib")

void main( ...
  Topic: Problem with text scaling under Windows 10
dgurok

Replies: 6
Views: 5611

PostForum: Support   Posted: Mon Jul 29, 2019 3:38 pm   Subject:
Next strange behavior:

My desktop resolution is 1920*1080. When Scalling is set to 125%

CLEARWIN_INFO@('SCREEN_WIDTH')
CLEARWIN_INFO@('SCREEN_DEPTH')

return a resulution 1536*864. Under Wind ...
  Topic: Problem with text scaling under Windows 10
dgurok

Replies: 6
Views: 5611

PostForum: Support   Posted: Mon Jul 29, 2019 2:18 pm   Subject: Problem with text scaling under Windows 10
Dear all,

normally for regognicing if a user uses a text scalling I have used method “CLEARWIN_INFO@( 'SYSTEM_FONT_HEIGHT' )” until now. It seems that under Windows 10 the function returns value 16 ...
  Topic: Problem with graphic region and mouse cursor
dgurok

Replies: 4
Views: 6329

PostForum: Support   Posted: Wed Apr 10, 2019 1:23 pm   Subject:
It's true, depending on background color (~grey) the mouse cursor is not visible. But in this case all machines are affected. We tried different colors and on some machines with Windows 10 we have thi ...
 
Page 1 of 5 Goto page 1, 2, 3, 4, 5  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group