ywybetter Posted February 9, 2009 Posted February 9, 2009 My application is a little complex,just like this: main section is a windows service,with interactive mode.In this service,I use JNI to create JVM and call a ".class" File(named A.class for e.g.),In the A.class,I call B.dll with java native method; And in the B.dll,I call the AutoItX3.dll(THE HERO comes out at last,haha) the relation is: My Service->A.class->B.dll->AutoItX3.dll But when I call a funtion of AutoItX3.dll(AU3_WinActive for e.g.),the service crashed. I steped it and found that, the crash happend as the function was called. I tried several funtions,AU3_WinActive,AU3_ControlClick and so on,the service crashed allways. Did it happen to anyone else? Or I just use AutoItX3.dll with a wrong way? Please help me Thansks a lot
ywybetter Posted February 10, 2009 Author Posted February 10, 2009 (edited) I have known the problem don't call the functions with NULL paras Edited February 10, 2009 by ywybetter
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now