Results 1 to 4 of 4

Thread: Problem with my DLL at runtime...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    St-Élie d'Orford, Quebec, Canada
    Posts
    133
    Hi all,

    I'am having some problems with one of my DLL ( I think ).
    The problem is that when I leave the app that calls for functions in the DLL I almost always crash my computer !!!
    The problem doesn't seem to appear when I run my app from the EXE but only when I run it in VB ???

    Any idea ?

    Thanks

  2. #2
    Hyperactive Member
    Join Date
    May 2000
    Posts
    367
    Do you have api calls, such as overloading the window proc?

    If so this is known to crash, your vb program and the vb development environment as well.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    St-Élie d'Orford, Quebec, Canada
    Posts
    133
    do you mean in my vb prog ? ( yes )
    What can I do about this, fu**in' nothin' ???

  4. #4
    Hyperactive Member
    Join Date
    May 2000
    Posts
    367
    I have heard that Dan appleman's book, Visual Basic programmers guide to api (not sure if title is exactly correct) is supposedly great.

    I had to make a form that acted like a task/app bar (i.e. office, or task bar). In order for me to do so I needed to use the window proc, and if I ever tried to debug, or if I killed it with the stop button, it would come up with an error in my program and close that, then it would say vb had a reference error and would kill that. But if i exited my program by clicking the x (top right), it quit fine, it also quit fine via an exit option in a menu.

    I thought I had read somewhere about why this is caused by I am unable to find it right now. Ill keep looking, as for what can you do, not sure. I just made sure I saved often, and tried to hit the stop button.

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