Dlls working and then not working-VBForums
Results 1 to 5 of 5

Thread: Dlls working and then not working

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    113

    Dlls working and then not working

    I have an issue with several softwares.

    They use the same dlls.

    Now sometimes the program loads up fine no issues.

    Then the following day Il start windows, run the program and il get an error saying its had a problem defiining one of the functions in the DLL.

    Now these arent COM dll's but most likely made using Pascal, C, Delphi or assembly code.

    Now the question is why would this happen. Is the Dll having mood swings? or is there something running (or not running in background) that could cause this?

    If I gave a link to DLL would that allow anyone to have a look and figure out why?

  2. #2
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    3,157

    Re: Dlls working and then not working

    Can you give more specific descriptions of the dlls and the softwares? Where are the dlls located?
    On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
    Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    113

    Re: Dlls working and then not working

    dll in application folder.

    dll made using c or assemblycode

    the dll accesses windows api functions and checks if a specific window is active/visible

  4. #4
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    3,157

    Re: Dlls working and then not working

    It seems you've posted in the wrong forum. I'll help you get your thread moved to the proper forum by notifying the moderators.
    On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
    Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)

  5. #5
    Super Moderator Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,335

    Re: Dlls working and then not working

    Who created the DLL's in question?

    The answer to that question is in a better position to answer your question than any of us are.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum section.

    Creating A Wizard In VB.NET
    Paging A Recordset
    What is wrong with using On Error Resume Next
    Good Article: Language Enhancements In Visual Basic 2010
    Upgrading VB6 Code To VB.NET
    Microsoft MVP 2005/2006/2007/2008/2009/2010/2011/2012/Defrocked

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.