Silverfrost Forums

Welcome to our forums

SRC compiler failing win WIN 10

3 Sep 2015 8:29 #16779

The src complier (v3.78) is crashing with the following in win 10. the same resource works without issue in xp/7/8/8.1. can email resource file if required.

Runtime error from program:c:\program files (x86)\silverfrost\ftn95\src.exe Access Violation The instruction at address 0042f224 attempted to read from location 6c61661c

0042f1cd RESOURCES::newStringRsc(int,<ptr>char) [+0057] 0042bb40 addStringTableItem(int,int,<ptr>char) [+002d] 0042856b parse_embeded_resource(enumÄresource_type) [+032a] 0042a0ee compile_resource(void) [+0473] 0040172f top_level_parser(enumÄtl_context) [+001e] 00401000 main [+03ae]

eax=00530045 ebx=0ae0513c ecx=002fb9a8 edx=00000001 esi=6c616600 edi=0ae0e750 ebp=0376f964 esp=0376f8a8 IOPL=2 ds=002b es=002b fs=0053 gs=002b cs=0023 ss=002b flgs=00010246 [NC EP ZR SN DN NV]

0042f224 add eax,[esi+0x1c] 0042f227 push eax 0042f228 call [esi+0x18]

steve

3 Sep 2015 1:09 #16780

Could you reduce the resource script to a minimum that fails and then post the result here?

Alternatively please email the script to ftn95@Silverfrost.com.

Thanks.

3 Sep 2015 4:18 #16782

Steve,

My resource files seem to compile under Win 10 without issue, but Win 10 is subject to some huge incremental updates, so it is possible that it is something that MS have yet to fix, or your Win 10 machine hasn't upgraded itself to do yet.

As an example, I was playing with some Simpleplot stuff and that gave very weird messages about driver incompatibility, but after a big update: no more. Even Win10 is not immune to its own bugs: On day 1, Cortana told me via text that my computer was incompatible, but on day 2 she was listening and day 3 she was talking!

Eddie

3 Sep 2015 8:30 #16786

Not optimism, just making sure that things work with all versions of Windows (but I got the joke). I'm currently doing a win7 to 10 upgrade on another laptop, and nothing works well until several updates have happened, this being no exception.

Once 10 has installed properly it runs as well as 8.1, which is as well as 7 in fact - it just looks like a person lacking any artistic talent or ability designed it.

Eddie

3 Sep 2015 9:12 #16787

Win 7 is still my primary development platform (I keep an XP Box running to keep some 16 bit legacy code alive...). the win 10 box was 'upgraded' from 8.1 two weeks ago so should be current with any updates. I was only using it as a compatibility test bed.

In my less than humble opinion, Win 8/8.1 was aimed at people with an IQ of a telly-tubby watcher (aka those across the big pond.). Win 10 has all the atheistic appeal of a soviet Gulag. What really amazes me is the MS actually think that they're doing a good job........

5 Sep 2015 3:43 #16794

I don't want anybody to think I like Windows 8, 8.1 or 10, but they are usable once you get over a few differences. While being nowhere near as easy on the eye as Win7 which is the ultimate development of lusciousness, the basic old Windows stuff is there and works as well as it always di. As for an OS taking over a few Gb for an update, then perhaps hark back to DOS where once you had MS DOS on a floppy, there wasn't room for anything else. I've got hundreds of Gb free on a netbook, and Tb free on a desktop.

What is disconcerting with Win 10, however, is that it is being developed in real time, and the update downloads are still huge. For some reason that is rather obvious really, MS disables things like Google Chrome while the downloads are taking place, but FTN95 gets under the radar.

8.1 and particularly 10 do start quickly from a power off.

6 Sep 2015 1:20 #16795

Does anyone know if there are any advantages of moving from Win7 to Win 10 ? I noticed that when moving from XP_32 to Win7_64 that the disk buffering was much improved and I have found (as I expect many others) that Win7_64 is a reliable OS. To me, the most annoying feature of Win 8.1 is the finger tip accuracy limits and dumbing down it applies to most loaded apps. The Office ribbon is replaced with a few annoying screen edges. It is like all the useful functionality has been washed away.

Win 7 is now technically 2 OS old so doesn't it loose some support status, while it must still be the dominant OS in the business/commercial/office environment ? MS have now produced 2 new dud OS which ignores the business usage ! Isn't this a problem for business productivity growth that technology is to promote ?

I'd like to know if Win 10 provides any benefits for a desktop user ?

John

6 Sep 2015 9:07 #16796

John,

The various things that fly in from the screen edges are gone in 10. Sure, the top-right icons are more spaced out. But the Office ribbon is still there, surely, if you enable it (there's a drop-down, close-up, icon at the RH lower corner). [I'm using Office 365/13]. If you ran this version of Office under Win 7 you will not notice any differences, but it is in some ways cut down from Office 2010 for example (e.g. the Thesaurus downloads the first time you use it).

The caption bar - which is also the pick up and move area - is now not distinctly coloured and the whole theme of the GUI is minimalist. But Win 10 starts quickly.

I have a feeling that some of the design elements have to do with better scaling on high DPI settings and well as being touch-optimised.

Eddie

8 Jun 2016 10:08 #17590

Steve

I have logged this for investigation but I do not seem to have a sample resource script to hand.

8 Jun 2016 10:41 #17593

Just to note that SRC works with my longest RC file: 400 icons, bitmaps (mainly) and cursors, so it maybe that Steve was a victim of being an early adopter of Win 10, or that it hadn't completed sufficient updates to work properly.

I certainly found a compile issue that disappeared within a day or two.

Eddie

8 Jun 2016 11:44 #17594

Paul

The resource is actually generated by a winteractor utility so i am assuming that the syntax is correct. I commented out the offending section in the resource file as it didn't seem to be used in my application and it then compiled on win 10

the offending section

// // Strings // STRINGTABLE DISCARDABLE BEGIN ID_EXIT 'Exit' ID_PRINT 'Print' ID_DATA_CLIP 'Data to clipboard' ID_LOCATE 'Locate' ID_ZOOM 'Zoom Area' ID_FULL_SIZE 'Cancel Zoom' ID_PAN 'Pan' END

8 Jun 2016 1:26 #17598

Steve

Here is my test. Does it reproduce your error?

Fortran file:

program main
integer i,winio@
i=winio@('%bt[OK]')
end

Resource script:

#define ID_EXIT        1
#define ID_PRINT       2
#define ID_DATA_CLIP   3
#define ID_LOCATE      4
#define ID_ZOOM        5
#define ID_FULL_SIZE   6
#define ID_PAN         7

STRINGTABLE DISCARDABLE 
BEGIN 
ID_EXIT 'Exit' 
ID_PRINT 'Print' 
ID_DATA_CLIP 'Data to clipboard' 
ID_LOCATE 'Locate' 
ID_ZOOM 'Zoom Area' 
ID_FULL_SIZE 'Cancel Zoom' 
ID_PAN 'Pan' 
END
8 Jun 2016 1:31 #17599

Pual

I just about to leave on vacation so it will be a couple of weeks before i can access my win 10 test PC.

Please login to reply.