|
-
Mar 13th, 2002, 10:53 AM
#1
Thread Starter
Addicted Member
registry clarification
Hi guys, I need some explanation from you guys.....
Why is there a need in registering certain (.dll or .ocx files 0 in
c:\window\system) necessary?
What if i just copy those (which need registration .ocx and .dll) and put it in (c:\window\system) without register them,?
Tell me the TRUTH of the TRUTH, Nothing but the TRUTH,
Thank You!
-
Mar 13th, 2002, 11:27 AM
#2
Fanatic Member
I think you still need to register them..
What problems are you running across?
Seahag
-
Mar 13th, 2002, 11:30 AM
#3
Frenzied Member
Registering means assigning a GUID to classes.
It is needed in order for windows to find it later when you use it in your programs.
-
Mar 13th, 2002, 11:51 AM
#4
Fanatic Member
Re: registry clarification
Originally posted by secretgenius1
Hi guys, I need some explanation from you guys.....
Why is there a need in registering certain (.dll or .ocx files 0 in
c:\window\system) necessary?
What if i just copy those (which need registration .ocx and .dll) and put it in (c:\window\system) without register them,?
I may be wrong but I think you can only place and register your OCX and Dll in Windows\System or within the same folder where the EXE reside. Placing it and registering it in other location would generate a missing file message when the app loads.
I'm sure you could clear that up searching the board.
Use the keyword "Registering" rather then "registry" and should find plenty.
Hope it helps
-
Mar 13th, 2002, 01:49 PM
#5
Actually, if they are ActiveX dlls and OCXs (or other COM objects) you can put them anywhere, provided that you register them.
They need to be registered so the system knows
1. what they're called and where they're located and
2. the interface that they provide
To answer your question, if you try to do CreateObject without first registering the object, you'll get a "429 - ActiveX can't create object" error.
-
Mar 13th, 2002, 09:35 PM
#6
Thread Starter
Addicted Member
well, i try to use packaging and deployment wizards but experiencing problem cause i got lots of registry error during installation on other PCs.
so i switch to use inno setup to plan a trick by just copying all the .dll and .ocx and .tlb files into system folder. But then i suspect something that is "registry". I no nothing about them but the basic stuff of what you guys are saying.
I thought that whatever .dll and .ocx when placed in the window\system folder may be OK to have my applicatino running ...... as those are default location files.
Could anyone explain further how to register them , cause i dont have much time.. Or anyone here use Inno Setup before in registry section??? Teach ?Me
Main Objective : which files require registry??????????? i really dont know
Last edited by secretgenius1; Mar 13th, 2002 at 10:21 PM.
Tell me the TRUTH of the TRUTH, Nothing but the TRUTH,
Thank You!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|