forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Help files in Win Vista ?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Thu Mar 22, 2007 12:25 am    Post subject: Reply with quote

At the binary level there is no difference between a OCX file and a DLL file. However the OCX file can be thought of as a special purpose DLL. They are both Portable Executable(PE) files that export functions. This primary difference is how and what functions are being exported. Most OCX files do not export functions that can be readily accessed with out going through OLE. Also OCX files was the first in process way that OLE controls were packaged and are a left over from Visual Basic 4.0... They really should not be used today since they are actually a DLL and there are just no techical reason to keep with the OCX file extention. If you look at both a OCX file and a DLL file they will have the same header and layout. For that matter a Exe, DLL, and OCX are all the same with just small differences such as DLL and OCX files export functions while Exe's import functions. Anyway I could go on and on but I think this is enough for now.
_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 768
Location: Eastman, GA

PostPosted: Fri Mar 23, 2007 12:26 am    Post subject: Reply with quote

Awesome. That gives me a few ideals. Thanks!

Brandon
Back to top
View user's profile Send private message AIM Address
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Fri Mar 23, 2007 3:32 pm    Post subject: Reply with quote

dragonsphere wrote:
Jules,
Why are you trying to change the path to the ocx from using the environment variable to using a hardcoded value? Especially since the ocx is in the system path anyway?

Because the VDS 5 IDE (and the current official version of the VDS 5 runtime, and a lot of other Delphi programs that incorporate the same free bit of code) read this value from the registry and try to use it to load the OCX without expanding the string first. This gives rise to an error, since %SYSTEMROOT% literally is not a valid path. Since we can't change the code in VDS 5, I thought we could try to change the registry so that it contains what VDS 5 expects it to contain instead.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1567

PostPosted: Fri Mar 23, 2007 5:09 pm    Post subject: Reply with quote

Jules is right, its a temporary solution to 'fix' the problem with the IDE from loading help files in Vista. I haven't found another work around, other than opening the help file directly instead of from the IDE.
Back to top
View user's profile Send private message
NathanH
Valued Newbie


Joined: 05 Sep 2001
Posts: 32

PostPosted: Wed Apr 18, 2007 7:06 pm    Post subject: Working now... Reply with quote

So in Vista I went to the key HKEY_CLASSES_ROOT\CLSID\{ADB880A6-D8FF-11CF-9377-00AA003B7A11}\InprocServer32

I Right-Clicked on InprocServer32 and clicked Permissions

I clicked Advanced, then Owner tab, then changed owner to me by clicking my name, checking 'Replace owner on subcontainers and objects'
and clicking Apply (not ok yet).

On the permissions tab I double-clicked my name, checked 'full control' and pressed Okay. Next checked 'Include inheritable...' AND 'Replace all existing inhertable permissions...' and presed OK.

Now I was able to change the %systemroot% to C:\Windows mentioned by Jules.

The help menu is back from within VDS (and more importantly the CTRL-F1 is working).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group