hello all. I have got the problem...
I have MS SQL server 2000 and java application started as nt service that connects to MSSQL using ms jdbc driver (via com.microsoft.jdbc.sqlserver.SQLServerDriver)... Both applications are working on the same machine with windows xp...
Everything worked all...
Yes. That's it. I'm getting access violation after DllMain detach. Explorer tryes to do something else with my dll after it's been unloaded.
But I don't have any obvious deletings inside my code (I have commented them). And I don't know how to make the explorer to skip unloading...
I guess I...
sorry. I need to define more exactly. I meant windows explorer not internet explorer.
I commented all logic that was not related with loading and unloading of dlls. That was not helpful. Maybe the problem lives somewhere in registering/unregistering classes or creating/destroying local windows?
Hello, Ion.
I tryed to comment all destroying methods, but it was not helpful.
I can only tell that explorer crashes because of access violation just after dllMain method has finished. Consequently the error appears not in my own code, explorer generates it. I just have something in my code...
I've got problem. I have self designed toolbar.
I have two related dlls. First is main and just translates requests to second. The second one contains implementation of all internal logic.
Some part of sources is here. It's for Visual C++ 6.0
header 1:
class ATL_NO_VTABLE Dashboard :
public...
Hi, Elle.
First of all this structure should be declared as simple not as abstract class, because you will use many instances of it... The second is you have to add public constuctor for creating it in future. I should get something like that:
public class PrintingRecord {
public...
Hi, Elle.
You can put different types in one array, of course, but this solution is not good and will bring you a lot of problems. For example you'll be forced to use "instanceof" every time when you get elements stored in this array in order to avoid ClassCastException.
There are...
Every class you want to use in your application should be located either in current directory or been written into CLASSPATH environment variable.
All classes of java runtime environment (i.e. class java.lang.Object) are packed in rt.jar archive in your java installation. Look for it and write...
Thanx to all.
I have found how to resolve the problem.
Need to look in the registry:
HKLM/SOFTWARE/Microsoft/.NETFramework
I created the AssemblyFolder/MyLibName structure here and set the default value to "Full-Path-To-My-Lib"...
It really works.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.