View previous topic :: View next topic |
Author |
Message |
dpannhorst
Joined: 29 Aug 2005 Posts: 165 Location: Berlin, Germany
|
Posted: Wed Dec 26, 2018 5:17 pm Post subject: SLINK64 and HHCTRL.OCX |
|
|
It seems SLINK64 is not able to load HHCTRL.OCX.
32-bit is working. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7931 Location: Salford, UK
|
Posted: Thu Dec 27, 2018 8:22 am Post subject: |
|
|
Unless you are using a version of SLINK64 that is quite old, it will have the ability to read .ocx files so I suggest that you check that you are loading a 64 bit ocx file and not the corresponding 32 bit file. |
|
Back to top |
|
|
dpannhorst
Joined: 29 Aug 2005 Posts: 165 Location: Berlin, Germany
|
Posted: Thu Dec 27, 2018 5:14 pm Post subject: |
|
|
Hi Paul,
thanks for your help!
I found that HHCTRL.OCX was not the 64 bit file. I changed it and now it is working. I am using FTN95 8.30.
Detlef |
|
Back to top |
|
|
StamK
Joined: 12 Oct 2016 Posts: 159
|
Posted: Tue Jan 22, 2019 1:19 am Post subject: |
|
|
For some reason, I am still not able to load the HHCTRL.OCX file, I am loading from c:\windows\system32\ and I checked with CFF explorer that it is indeed a x64 file.
My Slink64 version is v2.05.
Thanks |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7931 Location: Salford, UK
|
Posted: Tue Jan 22, 2019 8:56 am Post subject: |
|
|
StamK
v2.05 of SLINK64 will load HHCTRL.OCX.
How are you loading it and what is the error message? Are you using a script or the command line? |
|
Back to top |
|
|
StamK
Joined: 12 Oct 2016 Posts: 159
|
Posted: Tue Jan 22, 2019 3:55 pm Post subject: |
|
|
I tried either way, it still fails.
I created a simple program main (doesn't do anything apart from printing out a variable), and then an slk file
lo main
lo c:\windows\system32\hhctrl.ocx
file main.exe
Output:
C:\duk6_64s\testhh>slink64 @test.slk
[SLINK64 v2.05, Copyright (c) Silverfrost Ltd. 2015-2018]
Loading c:\windows\system32\hhctrl.ocx
Loading C:\duk6_64s\testhh\main.obj
***c:\Windows\System32\hhctrl.ocx is not an x64 DLL file
By the way I still have to use the @ in front of slk files in 64bit, hopefully this will not be necessary in the near future.
|
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7931 Location: Salford, UK
|
Posted: Tue Jan 22, 2019 7:50 pm Post subject: |
|
|
StamK
Try
Code: | lo C:\Windows\Sysnative\hhctrl.ocx |
|
|
Back to top |
|
|
StamK
Joined: 12 Oct 2016 Posts: 159
|
Posted: Tue Jan 22, 2019 10:35 pm Post subject: |
|
|
well that worked. I didn't try that (from earlier posts) because I saw I didn't have the c:\windows\sysnative folder and so I didn't bother trying it.
Out of curiosity, what does it stand for?
Thanks |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7931 Location: Salford, UK
|
Posted: Wed Jan 23, 2019 8:26 am Post subject: |
|
|
I guess that there is something in the Microsoft system (and/or libraries) that performs the appropriate redirection. |
|
Back to top |
|
|
mecej4
Joined: 31 Oct 2006 Posts: 1888
|
Posted: Wed Jan 23, 2019 9:47 am Post subject: Re: |
|
|
StamK wrote: | well that worked. I didn't try that (from earlier posts) because I saw I didn't have the c:\windows\sysnative folder and so I didn't bother trying it.
Out of curiosity, what does it stand for?
Thanks |
Please see http://www.samlogic.net/articles/sysnative-folder-64-bit-windows.htm . |
|
Back to top |
|
|
|