In C++Builder, I wrote the following code (in Button1Click handler), When I run in debug mode, I get the ‘Int3 DbgBreakPoint’ (Stack corrupted?). This doesn’t happen for AnsiSting (Maybe reference counting).
WideString boshluq; boshluq=L' ';
Is this normal? What do you suggest me to fix this code?
WideStrings are pointer referenced variables for Windows WideStrings, maybe the problem is in your windows system library.
I have the same problem with breakpoint in the ntdll.dll, I dont know if it is the same for you.
I solve with this unit http://www.tbosystems.bluehosting.com.br/dbx4/int3.pas (Thanks to Leonel Togniolli), maybe you can check this out and see if can help you out, or try the same code in other windows machine.