Results 1 to 2 of 2

Thread: dll update question

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091
    Hi,

    When I make some changes to a dll that my application uses, shouldn't the application be able to use that updated dll without having to specify the new dll in the application itself? My thought was that it would be much easier to make changes to a dll and give that to the end user to use rather than have to redistribute the whole application each time I make a change to a dll..

    It doesn't seem to work because I did a little test with the famous "Hello World!" project. I created a dll named HelloWorld.dll with the following code:

    Code:
       MsgBox "Hello World!"
    I then referenced that dll in a new project and it worked fine. Then, I went back to the dll and put a few extra letters in the MsgBox string and saved the changes and created the dll file. However, now the application doesn't seem to recognize the dll any more.. It says:

    "Run-time error 430:
    Class does not support automation or does not support expected interface."

    Any help or ideas would be greatly appreciated..

    Dan

    Any help would be appreciated..

    Dan

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091
    One side note that I left out.... Within the VB6 design environment, there seems to be no problem with what I'm trying to do. In other words, I can make changes to the dll and then run the program and it has no problem using the updated dll.

    It just seems to happen when I have already compiled the program and then try to use the updated dll.

    Thanks,

    dan

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