Results 1 to 5 of 5

Thread: Problems with .dll file

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2004
    Posts
    23

    Question Problems with .dll file

    Hi
    I have worked in a small vb6 application, that application was using a .dll file, now I am working for the next version of the application with a small change in the application along with a small change in the .dll file as well [the name of both the .dll files are same], the new .dll file is taking an array of string instead of a string. both application is placed in different directory, but if I want to work with the old version, in my machine, I need to compile the old .dll, and to work with the new application, the same machine needs to recompile the new .dll file this time. I have changed the version of the new .dll file from 1.0.0 to 2.0.0, but still the problem exists.
    how can I solve this problem, where the .dll file may have the same name with different functions

    kajol

  2. #2
    Lively Member
    Join Date
    Sep 2004
    Posts
    74
    Is it an normal DLL or Com component?

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Oct 2004
    Posts
    23
    no, it is a normal .dll file created in vb6, it is not an ActiveX Component.

  4. #4
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Originally posted by kajol
    no, it is a normal .dll file created in vb6, it is not an ActiveX Component.
    VB6 DLLs are ActiveX components.

    You can't change the signature of a method and expect it to work in both places. And the location of the DLL doesn't make any difference. You still have to register it, and if the lib name and class names are the same, the old info will be replaced by the one just registered.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Oct 2004
    Posts
    23
    Hi
    Thanks for the reply

    I am sorry, In wanted to mean ActiveX Control. Okay then, I can use the new version with a different name, and I think it will work.

    Kajol

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