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 

SLINK64 and HHCTRL.OCX

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit
View previous topic :: View next topic  
Author Message
dpannhorst



Joined: 29 Aug 2005
Posts: 165
Location: Berlin, Germany

PostPosted: Wed Dec 26, 2018 5:17 pm    Post subject: SLINK64 and HHCTRL.OCX Reply with quote

It seems SLINK64 is not able to load HHCTRL.OCX.

32-bit is working.
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Thu Dec 27, 2018 8:22 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
dpannhorst



Joined: 29 Aug 2005
Posts: 165
Location: Berlin, Germany

PostPosted: Thu Dec 27, 2018 5:14 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
StamK



Joined: 12 Oct 2016
Posts: 159

PostPosted: Tue Jan 22, 2019 1:19 am    Post subject: Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Tue Jan 22, 2019 8:56 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
StamK



Joined: 12 Oct 2016
Posts: 159

PostPosted: Tue Jan 22, 2019 3:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Tue Jan 22, 2019 7:50 pm    Post subject: Reply with quote

StamK

Try

Code:
lo C:\Windows\Sysnative\hhctrl.ocx
Back to top
View user's profile Send private message AIM Address
StamK



Joined: 12 Oct 2016
Posts: 159

PostPosted: Tue Jan 22, 2019 10:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Wed Jan 23, 2019 8:26 am    Post subject: Reply with quote

I guess that there is something in the Microsoft system (and/or libraries) that performs the appropriate redirection.
Back to top
View user's profile Send private message AIM Address
mecej4



Joined: 31 Oct 2006
Posts: 1885

PostPosted: Wed Jan 23, 2019 9:47 am    Post subject: Re: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group