I migrated from odac 5.55 to odac 6.25 and get this message when distributed my application on clients machines.
My C++ application send pointer on OraSession component in other dll's.
In main application is not work query parameters and dll's show me "Oci functions is not linked again".
What's wrong? Help me please!
Oci functions is not linked again
-
Phantom666
- Posts: 4
- Joined: Tue 01 Nov 2005 07:32
- Location: Kazakhstan
If you build your main application and DLLs without ODAC runtime packages, you need to call InitOCI procedure from OraCall unit (or InitNet from OraNet unit for connection in Direct mode) in the DLL before using ODAC.
If you build your main application and DLLs with ODAC runtime packages, it is not required to call InitOCI.
If you build your main application and DLLs with ODAC runtime packages, it is not required to call InitOCI.
-
Phantom666
- Posts: 4
- Joined: Tue 01 Nov 2005 07:32
- Location: Kazakhstan
I built my main application and DLLs with ODAC runtime packages and distributed their together. But it's not work.Plash wrote:If you build your main application and DLLs without ODAC runtime packages, you need to call InitOCI procedure from OraCall unit (or InitNet from OraNet unit for connection in Direct mode) in the DLL before using ODAC.
If you build your main application and DLLs with ODAC runtime packages, it is not required to call InitOCI.
And why in main application is not work next code:
Query->ParamByName("rUserID")->DataType = ftInteger;
Query->ParamByName("rUserID")->Value = uid; // uid =631
ShowMessage(IntToStr(Query->ParamByName("rUserID")->Value)); // Query->ParamByName("rUserID")->Value = 7428374682 - it's wrong