Results 1 to 6 of 6

Thread: registry clarification

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2001
    Location
    Malaysia
    Posts
    176

    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!

  2. #2
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901
    I think you still need to register them..

    What problems are you running across?


    Seahag

  3. #3
    Frenzied Member vbgladiator's Avatar
    Join Date
    May 2001
    Posts
    1,950
    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.

  4. #4
    Fanatic Member daydee's Avatar
    Join Date
    Jun 2001
    Location
    Canada
    Posts
    560

    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

  5. #5
    RoyceWindsor1
    Guest
    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.

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Sep 2001
    Location
    Malaysia
    Posts
    176
    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
  •  



Click Here to Expand Forum to Full Width