Recent content by Lars Hammer

  1. L

    DOA and .NET

    We have been really happy working with DOA and the utilities in it, also in major projects. We are now moving forward in our tools selection, and it seems like we are going the MS .NET way. We have also been using TurboPower's products in many applications. They have now decided to go out of...
  2. L

    Suggestion - Type Wizard

    We have been working a bit with the TOracleObject type, and it gives us some really interesting possibilities. Especially, if we save some of the information as Oracle Objects in the Oracle tables. We have also enjoyed the Package Wizard which generates some really decent code from the Oracle...
  3. L

    Access Violation in TOracleQuery

    I found a fix and maybe an explanation. The explanation: The first time InitOCI() is called, it is not yet relocated. The second time it is called, it is relocated, and somehow looses some information. The OCISection is NULL the second time InitOCI() is called and thus the calls are invalid and...
  4. L

    Access Violation in TOracleQuery

    I have investigated further into the problem. The problem occurs when InitOCI() is called. The first time it is called in the logon process, it looks and works just fine. Later my Query->Execute() is called, and down the line it also calls InitOCI(), and this is the one that fails. In the last...
  5. L

    Access Violation in TOracleQuery

    I tried to debug the application using Turbopower's Sleuth QA Suite 3 - codewatch. Codewatch states that there is a GetProcAddress that fails, namely, when it tries to get the address of OCIEnvCreate. Time Thread ID Event 0.12:407 E9h API Failure:GetProcAddress : Error:The specified...
  6. L

    Access Violation in TOracleQuery

    I just made a simple project using this component, and in this simple project nothing fails. The AV is: Access violation at address 77f6750B in module 'ntdll.dll'. Read of address 00000018 Does this make any sense?
  7. L

    Access Violation in TOracleQuery

    I guess you mean calling the overloaded FQuery->Field(FDisplayField). It makes an AV the same way as FQuery->Field(FieldIndex) does. Actually this was the function that I called in the first place. But when I got the AV, I tried calling the other functions, to debug into the problem. Yours Lars...
  8. L

    Access Violation in TOracleQuery

    Sorry, it is obviously not easy to see what is going on in the code: int FieldNum = FQuery->FieldIndex(FDisplayField); // Value of FieldNum is 1 int FieldCount = FQuery->FieldCount(); // Value of FieldCount is 2 int FieldSize = FQuery->FieldSize(FieldNum); // Value of field size is 30 - it is...
  9. L

    Access Violation in TOracleQuery

    I made a combobox component, that uses a TOracleQuery to get its data from the database. When the query is performed I get an access violation (write of some address). The access violation arrives, when I call FQuery->Field(). The other functions are working correctly. See the code sample...
  10. L

    Using collections and packages.

    OK, I thought that we could only use "normal" types, when creating objects, but isn't it somehow possible to use the Insertrow(), Updaterow() and Selectrow() functions described in the first mail, using TOracleObject?
  11. L

    Using collections and packages.

    We are using packages in our oracle database. In the packages we have functions for inserting, updating and selecting collections of a type defined in the package. E.g. We have a table called t_parentblade. We have a package named apiparentblade based on t_parentblade. In the package the type...
Back
Top