I have only received this warning:
System.BadImageFormatException
when I've inadvertently built a .dll using a framework that AutoCAD is not set to handle. Have you modified the acad.exe.config file to target a specific framework version?
Also, when you plug the drive in and it's mapped as say 'F:\', is your .dll you're trying to load, attempting to load anything from this drive?
I can see if it is changed, but if so I didn't do it, and that scares me.
The .dll should not load anything from anywhere.
Be right back to see if it is targeting some specific language.
Edit:
It doesn't look like it is. I did notice that I have the framework for 3.0 installed, but code using 2.0. I don't think that should cause a problem, but I'm just trying to give all the information I can. Thanks for the help Glenn.
Edit: It does look like that was the issue. I had to read it a little harder than I did. YOU ARE THE MAN GLENN! I was scared I would have to use my lisp routines again until I fixed this, but that is not the case now. I'm happy again.
I don't know why it stopped working, but I'm glad it is again.