I'm trying to use "JaWin", a tool that wraps JNI in order to allow a ddl to be accessed by Java Code.
What I'm trying to do is reproducing (in Java) the example i found at
I succeed in getting the connection, and from the resulting object I can "see" the databases registered on the system.
Then, I try to create the Database, setting the requested parameters... but the creation fails, returning me an Access Violation error (my thread seems not to have the permission to read the location of the virtual memory).
At the moment, can't understand if the error is given by the interface built with JaWin or by my code, perhaps because of some wrong parameter...
What I'm asking is:
- What's the meaning of the "DTO.DtoSession.1" and "DTO.DtoDatabase.1" strings, passed as parameters in the CreateObject methods?
- Are access violation errors possible also in COM programming? If so, what would you suggest me to check?
- Are there other aspects I should have to take care of (such as inizializations, allocating and so on), if I ran the InstallScript Sample linked above?
Any help will be very appreciated!!
What I'm trying to do is reproducing (in Java) the example i found at
I succeed in getting the connection, and from the resulting object I can "see" the databases registered on the system.
Then, I try to create the Database, setting the requested parameters... but the creation fails, returning me an Access Violation error (my thread seems not to have the permission to read the location of the virtual memory).
At the moment, can't understand if the error is given by the interface built with JaWin or by my code, perhaps because of some wrong parameter...
What I'm asking is:
- What's the meaning of the "DTO.DtoSession.1" and "DTO.DtoDatabase.1" strings, passed as parameters in the CreateObject methods?
- Are access violation errors possible also in COM programming? If so, what would you suggest me to check?
- Are there other aspects I should have to take care of (such as inizializations, allocating and so on), if I ran the InstallScript Sample linked above?
Any help will be very appreciated!!