Hello,
on our test workstations whose configuration is as follows: windows 10 with TD 7.2 SP4 32 bits, users sometimes get the following errors:
- Error encountered loading library:
- Internal memory has become invalid ...
We are unable to reproduce these errors on our development workstations. Could you tell us how to solve these problems? We didn't have them in TD 5.2 SP 5.
I thank you in advance.
Best regards
cribar
Error TD 7.2 SP4 32bits
Error TD 7.2 SP4 32bits
You do not have the required permissions to view the files attached to this post.
Re: Error TD 7.2 SP4 32bits
Hi cribar,
the first one could be due to a change of the current directory.
When an application starts the current dir is the one where the .exe is.
But when you change the current directory (maybe through file dialog or SalSetCurrentDirectory(..)),
and you don't have the app-directory in the path then this error can occur.
This would explain the experience that the error occurs on the workstation and not on the development machine,
where you might have the app-path in the path-variable.
Regards Thomas
the first one could be due to a change of the current directory.
When an application starts the current dir is the one where the .exe is.
But when you change the current directory (maybe through file dialog or SalSetCurrentDirectory(..)),
and you don't have the app-directory in the path then this error can occur.
This would explain the experience that the error occurs on the workstation and not on the development machine,
where you might have the app-path in the path-variable.
Regards Thomas
Re: Error TD 7.2 SP4 32bits
Hello Thomas,
Thank you for your answer. I had already analyzed your solution, but without improvement. I have now been developing for 20 years as a team developer (16-bit version, 1.5, 2.1, 3.1, 4.2, 5.2, 6.3 and 7.2) and I have never had these errors.
Does anyone have any other suggestions for these issues?
Should 7.3 or 7.4 be used instead? I admit that this solution would be complicated to implement because my client validated version 7.2.
Best regards,
Cribar
Thank you for your answer. I had already analyzed your solution, but without improvement. I have now been developing for 20 years as a team developer (16-bit version, 1.5, 2.1, 3.1, 4.2, 5.2, 6.3 and 7.2) and I have never had these errors.
Does anyone have any other suggestions for these issues?
Should 7.3 or 7.4 be used instead? I admit that this solution would be complicated to implement because my client validated version 7.2.
Best regards,
Cribar
-
- Founder/Site Admin
- Posts: 3512
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
Re: Error TD 7.2 SP4 32bits
When you can reproduce:
- Use Process Monitor (ProcMon) to trace actions done by the application to see which dll is failing (unable to find?). See where the trace stops and which action is performed.
https://learn.microsoft.com/en-us/sysin ... ds/procmon
- Use the TD profiling feature (TD72 and up) with command line or environment variables and use profiling level 2. Trace up until error occurs and see what TD is doing.
(info on page 5 section 2.1.3 Runtime code profiling)
https://samples.tdcommunity.net/samples ... 0Notes.pdf
- Use Process Monitor (ProcMon) to trace actions done by the application to see which dll is failing (unable to find?). See where the trace stops and which action is performed.
https://learn.microsoft.com/en-us/sysin ... ds/procmon
- Use the TD profiling feature (TD72 and up) with command line or environment variables and use profiling level 2. Trace up until error occurs and see what TD is doing.
(info on page 5 section 2.1.3 Runtime code profiling)
https://samples.tdcommunity.net/samples ... 0Notes.pdf
Regards,
Dave Rabelink

Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Dave Rabelink

Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Who is online
Users browsing this forum: [Ccbot] and 0 guests