Additional
dbCAP
AnyDAC
ThinDAC
NCOCI8
Topic: Use the AnyDac in DLL's
Use the AnyDac in DLL's
Posted: 2005/06/30 20:42
 
Hi, i'm trying to use some components in a DDL, but i'm getting several errors like "Cannot assign a TADParams to a TADParams"

Do have any ideia of what is causing those errors, and if it is possible to use the components in a DDL?
RE: Use the AnyDac in DLL's
Posted: 2005/07/01 00:24
 
Hi !

You can use AnyDAC in DLL. But you cant transfer AnyDAC components across DLL boundaries. In other words, DLL export function cant take AnyDAC component / object as parameter. The same about any Delphi object.

Regards,
Dmitry
RE: Use the AnyDac in DLL's
Posted: 2005/07/01 14:16
 
I still have another related problem. When I add one TADPhysMSSQLDriverLink to the DLL, when calling LoadLibrary in the main program, I get the error "...raised too many consecutive exceptions...”.

I can send one TADQuery through the DLL exported function, and work with it, but what I really wanted was to send one TADConnection, and assign it to the existing components inside the DLL.
RE: Use the AnyDac in DLL's
Posted: 2005/07/01 15:30
 
Hello !

I will test all that ...

Regards,
Dmitry
RE: Use the AnyDac in DLL's
Posted: 2005/07/05 19:12
 
Any results??

Regards.
RE: Use the AnyDac in DLL's
Posted: 2005/07/10 04:44
 
...
RE: Use the AnyDac in DLL's
Posted: 2005/07/12 01:19
 
Hi !

I would really appreciate, if you will send me little test project. Thank you !

Regards,
Dmitry
RE: Use the AnyDac in DLL's
Posted: 2005/07/14 20:03
 
Hi Diman,
Have you received the sample application that I send?
Did you manage to replicate the error, or did you have any problem with the source I sent?
If you have any question we can "speak" by MSN or ICQ.

Thanks.
Valter Silva
RE: Use the AnyDac in DLL's
Posted: 2005/07/15 01:51
 
Hi !

Yes, here are few issues. I have answered by private mail. If you does not get it, let me know.

Regards,
Dmitry