I try to convert the Code from http://blog.devart.com/using-batch-oper ... nents.html to C++. With one exception successfully:
Query1.Params[0].DataType := ftInteger;
if try:
Query1->Params[0]->DataType = ftInteger;
=> Both Pointer to structure required on left side of -> oder ->*
Query1->Params[0].DataType = ftInteger;
=> 'DataType' is not a member of 'TMSParams'
hmm...
Query1->Params[0][0]->DataType = ftInteger;
=> No Compile error, no program error (i have 5 Params)
Query1->Params[1][0]->DataType = ftInteger;
=> Access Violation
Have one a C++ solution?
How do use Batch-Update in C++ (Step: Define Datatype of Params)
Re: How do use Batch-Update in C++ (Step: Define Datatype of Params)
The similar question has already been discussed on our forum. Follow the link viewtopic.php?f=5&t=32517 for details.