Trying to build a simple ASM IDE editor from VB6. I just shell to a batch file that assembles & links which works fine. However, when I try to test the DLL, after calling one its functions in VB6, Link complains that the DLL is in use.

Tried the LoadLibrary/FreeLibrary pair before the function call but got a big fat GPF.

Any thoughts?
Posted on 2003-02-10 09:11:00 by nc_2003
What does it have to do with this forum?
Posted on 2003-02-10 10:03:55 by roticv
Well, I've seen other posts about using a MASM32 DLL to speed up critical sections of VB. Sorry if my post offended you.
Posted on 2003-02-10 10:22:26 by nc_2003
visual basic acts stupid when it comes to non typical vb programming at all.
oh and that is a fact. forget LoadLibrary... you can not use it because you don't
have real pointers in vb (well, you CAN use LoadLibrary but try to execute a function
after you called GetProcAdress ;) ). in the most cases these steps helped me alot:

- delete all occurences of your dll
- compile dll again and throw it in the same dir the vb project resides in
- reboot :grin:
- compile your vb project
- run it
Posted on 2003-02-10 10:34:25 by mob