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 274 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: passing strings back from C/C++ to FTN95
KennyT

Replies: 2
Views: 399

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: 399

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: 1895

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: 1895

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: 602

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: 602

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: 3707

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: 3707

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: 3707

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: 3707

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: 3707

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: 1755

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 ...
  Topic: Error Message when ftn95 is started
KennyT

Replies: 10
Views: 1755

PostForum: Support   Posted: Wed Dec 20, 2017 12:48 pm   Subject:
an update on this:

I found that, if i started the compiler from a certain directory, the error didn't occur. Further investigation showed up that, in the other offending folder, there was an old c ...
  Topic: application fails to start when run from a server
KennyT

Replies: 8
Views: 1225

PostForum: Support   Posted: Sat Dec 16, 2017 9:53 am   Subject:
I've got a "clue".

The clients IT guy sent me a "procmon" listing and that shows some interesting lines that i don't get at home...

26:13.2 rep5.exe CreateFile \\abz-asp0 ...
  Topic: application fails to start when run from a server
KennyT

Replies: 8
Views: 1225

PostForum: Support   Posted: Sat Dec 16, 2017 7:53 am   Subject:
Well, it doesn't "appear" to be DEP that's the issue - at least, if i try to mimic the problem by setting it for all applications on my home network, the application still starts up OK.

S ...
 
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