Home > Back-end >  The.net Winform procedure call DLL written in Delphi error, for help!!!!!
The.net Winform procedure call DLL written in Delphi error, for help!!!!!

Time:09-27

The inside of the winform call DLL of Delphi, Delphi code is connected to a remote server, sending data, and deal with in a DLL, I'm in. Net with a delegate invocation interface of Delphi method, and access to the Delphi, real-time data, but when get to 6 minutes is not obtained, connection works, also is not an error, can't find the reason, ask ace to solve!!!!!

Winform code:


The.net statement calling DLL:

The method of data processing come back, do nothing at present:

Delphi interface code:

Entry:

The method of triggering event calls:

The method of processing data:

Statement of the entrusted:




Now Delphi code encapsulated into a DLL, however. Net calls for a while will not fetch the data, any mistakes don't quote, try catch also hold the data.
Feeling in.net declaration calling DLL which block has a problem, because when processing doRealGPS in Delphi method, made a try in Delphi, except can produce 6 minutes before the end, the success, but was soon hit expect, an error occurred when feeling in the callback, but there is no any structure, so the feeling in the. Net statement errors, but don't know what wrong,,, I am using debugview print the results, will print out the error expect, test for a long time, about 6 minutes would be an error,
For the great god help resolve!!!!!

CodePudding user response:

Feeling do you have any questions or make sure the data source, data error is 6 minutes, causes the DLL is a wrong, so don't come out

CodePudding user response:

I think the first test connection, do not take data; And then, apply a small amount of data, and gradually increase the amount of data block; Feel like data quantity of memory error

CodePudding user response:

Error should be in a DLL

CodePudding user response:

Data source is no problem, because is more than 6 minutes, is likely to go wrong at any time, and sometimes for an hour, sometimes a few minutes

reference 1st floor BDMH response:
feeling do you have any questions or make sure the data source, data error is 6 minutes, causes the DLL is a wrong, so the hair not to come out
  • Related