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 277 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: compiler oversight?
KennyT

Replies: 1
Views: 128

PostForum: Support   Posted: Tue Aug 28, 2018 3:03 pm   Subject: compiler oversight?
Apparently, FTN95 doesnít complain when "some idiot" types:

ALLOCATE (GV), CALL DT_GVECInit (GV)

with a comma not a colon. It just doesnít make the call.

k
  Topic: changing the stack at runtime?
KennyT

Replies: 5
Views: 450

PostForum: Support   Posted: Fri May 25, 2018 5:38 pm   Subject:
no, 32-bit at the moment.

64-bit to come later.

K
  Topic: changing the stack at runtime?
KennyT

Replies: 5
Views: 450

PostForum: Support   Posted: Fri May 25, 2018 8:47 am   Subject: changing the stack at runtime?
i think it's true to say that, in an application that uses DLLs, it's only necessary to change the stack value in the link script for the .exe to overcome a stack overflow.

our application has two ...
  Topic: passing strings back from C/C++ to FTN95
KennyT

Replies: 2
Views: 646

PostForum: Support   Posted: Fri Mar 16, 2018 3:37 pm   Subject:
ok, i've worked out a way to do it:

in C:
int checkout_(char *feature, char *version, char* option, char **mess)

in FTN:
stdcall checkout 'checkout_' (string, string, string, ref) : integer* ...
  Topic: passing strings back from C/C++ to FTN95
KennyT

Replies: 2
Views: 646

PostForum: Support   Posted: Fri Mar 16, 2018 2:49 pm   Subject: passing strings back from C/C++ to FTN95
an old chestnut but i'm driving myself round in circles trying to make this work!

i have a routine written in C under VS2017:

int checkout_(char *feature, char *version, char* option, char *mess ...
  Topic: Using centre@ function
KennyT

Replies: 18
Views: 2861

PostForum: General   Posted: Mon Mar 12, 2018 3:26 pm   Subject:
Perfect, tks!

i was obviously searching for the wrong key words in the help file!

K
  Topic: Using centre@ function
KennyT

Replies: 18
Views: 2861

PostForum: General   Posted: Mon Mar 12, 2018 2:18 pm   Subject: A related question...
When using DRAW_CHARACTERS@, with a proportional font, is there a way to determine the size in pixels of the box that contains the text, such that right/centre justification can be calculated for hard ...
  Topic: /timing no longer produces output?
KennyT

Replies: 2
Views: 884

PostForum: Support   Posted: Tue Feb 13, 2018 6:15 pm   Subject:
it seems as though using a windows file open dialogue to open any file during the application prevents the .tmo/.tmr files being written!

as we've got a workaround, i'll put this on the back burner ...
  Topic: /timing no longer produces output?
KennyT

Replies: 2
Views: 884

PostForum: Support   Posted: Mon Feb 12, 2018 5:32 pm   Subject: /timing no longer produces output?
a comment from another programmer (not confirmed by me...)

"I find the timing option no longer produces any output files. It says itís going to, and you go into the calibration loop so you get ...
  Topic: 8.20 and /Zeroize
KennyT

Replies: 29
Views: 4997

PostForum: General   Posted: Fri Dec 22, 2017 4:18 pm   Subject:
so why did 'I' get set to zero in the subroutine, when there wasn't a SAVE statement?

not that i'm complaining, just interested!

K
  Topic: 8.20 and /Zeroize
KennyT

Replies: 29
Views: 4997

PostForum: General   Posted: Fri Dec 22, 2017 11:07 am   Subject: Re:

One thing i notice is that under 8.20/64 a console application is generated but under 8.1/32, a white window is created with the result. is there a switch for this (i'd prefer the white window meth ...
  Topic: 8.20 and /Zeroize
KennyT

Replies: 29
Views: 4997

PostForum: General   Posted: Fri Dec 22, 2017 10:22 am   Subject:
ok, so, just for clarification..

program test
write(*,*) 'i=',i
end



under 8.2/64 reports an undefined variable.

but

program test
call test1
end

subroutine test1
...
  Topic: 8.20 and /Zeroize
KennyT

Replies: 29
Views: 4997

PostForum: General   Posted: Thu Dec 21, 2017 9:41 pm   Subject: Re:
Kenny, read Paul's initial reply (first comment on p.1).

It appears thqat /ZEROISE is effectively the default and included automatically for 64-bit compiler.

I guess it's just a question of you ...
  Topic: 8.20 and /Zeroize
KennyT

Replies: 29
Views: 4997

PostForum: General   Posted: Thu Dec 21, 2017 5:03 pm   Subject:
Despite all the above comments, are there still plans to implement /Zeroise for 64-bit usage?

Our application is "built on old sand" and trying to do a 64-bit release of it without /zero ...
  Topic: Error Message when ftn95 is started
KennyT

Replies: 10
Views: 2361

PostForum: Support   Posted: Wed Dec 20, 2017 8:56 pm   Subject: Re:
I found several versions of msvcr.dll, the latest apparently related to the installation of a new Epson printer. DOS Dir gave 6 versions, but File explorer only found 2, so I added "old" to ...
 
Page 1 of 19 Goto page 1, 2, 3 ... 17, 18, 19  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group