Hello Barry,
Thank you for your question and for reaching out with your question today.
The issue you are experiencing with the CEdit control in your ATL DLL when running on Windows 11 22H2 Traditional Chinese OS seems to be a compatibility problem or a bug in the operating system. Since the issue does not occur in other versions of Windows or in the English version of Windows 11 22H2, it is likely specific to that particular combination.
As a language model AI, I don't have access to external resources such as the files you linked, but I can suggest some general steps to try to mitigate the issue:
- Check Windows Updates: Ensure that the Windows 11 22H2 Traditional Chinese OS is fully up to date with the latest updates and patches. Microsoft often releases updates to address compatibility issues and bug fixes.
- Verify Language Settings: Double-check that the language settings for both the OS and your ATL DLL project are consistent and properly set to Traditional Chinese.
- Contact Microsoft Support: If the issue persists and it seems to be specific to the OS version and language combination, you may want to contact Microsoft Support for further assistance. They can help investigate the issue and provide guidance on any known issues or workarounds.
- Try Different Versions: If possible, test your ATL DLL project on different versions of Windows 11 and in different languages to see if the issue is consistently reproducible or if it is limited to specific configurations.
- Debug and Logging: Implement thorough logging and debug statements in your ATL DLL to identify any potential error messages or unexpected behavior. This can help pinpoint the exact point where the problem occurs.
- Review Windows API Calls: Review the Windows API calls and usage of the CEdit control in your ATL DLL project. Ensure that all calls are correctly handled and follow best practices for working with controls in a Windows shell extension.
- Use WinDbg: If you are familiar with debugging tools like WinDbg, you can use it to analyze the issue further. It can help you inspect the program state and gather more information on the problem.
Please keep in mind that debugging compatibility issues and system-specific behaviors can be challenging, and the steps provided here are general suggestions. It is always best to have a deep understanding of the code and the underlying system architecture or seek assistance from experts familiar with Windows development and troubleshooting.
I used AI provided by ChatGPT to formulate part of this response. I have verified that the information is accurate before sharing it with you.
If the reply was helpful, please don’t forget to upvote or accept as answer.