Results 1 to 5 of 5

Thread: DLL question

  1. #1
    Guest
    I have a project in folder "A" and a DLL in folder "B", I have set a reference to the DLL in the project, and it works great.

    Now, when the time comes to distribute my application, where do I stand with regard to the DLL? I mean if I compile my project, will the application automatically know where the DLL is on the user's PC or what (it will not be in the equivalent same folder, for example, it may be in the same directory as the EXE on the users PC).

    ps. the DLL is one I have created myself.

    This is bothering me intensely.

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    you can put the dll whereever you want as long as you register it the system will find it.



    How's the job hunting going anyway?

    [Edited by Mark Sreeves on 05-26-2000 at 10:40 AM]
    Mark
    -------------------

  3. #3
    Guest
    How do i go about registering my activex DLL? I thought you only had to do that for DLL's that were called using API calls.

    My hunt for a job continues unabated, unfortunately, thanks for asking (and remembering!).
    Do you work, or are you like me: yet to be discovered! (i wish).


  4. #4
    Fanatic Member
    Join Date
    Mar 2000
    Location
    That posh bit of England known as Buckinghamshire
    Posts
    658
    To register your dll you need to use "RegSvr32.exe"

    Code:
    RegSvr32.exe myDll.Dll
    and as Mark said, it can be anywhere on the system. The usual place is your programs directory or the system32 directory of windows.

    p.s. good luck with finding a job, i had lots of problems finding a placement.
    Iain, thats with an i by the way!

  5. #5
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    I work for Softlab UK

    *whisper*: a wholly own subsidiary of BMW!

    As you know there was a lot of bad feeling about BMW here in the Midlands so I don't shout about it so much now!

    I applied to a few Midland agencies in January just to see what the job market was like and there seems to be quite a demand for Active Server Page Programmers. I've done one or two small ASP projects using InterDev and really like it.

    I reckon that's a pretty good thing to get into.


    I'm supposed to be learning java next!
    Mark
    -------------------

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