Click here to Skip to main content
15,889,484 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi When i send sms with kylix component ,i get this error:
C#
Cannot evaluate expression because a native frame is on top of the call stack


why i get this error and how can i solve it?


thanks in advance.

What I have tried:

........................................................................
Posted
Updated 30-Jul-16 4:43am
v2

1 solution

The error message is trying to tell you that the thread is currently executing unmanaged code, and therefore cannot be used to evaluate the expression.
Basically, the execution has hit a problem in kylix code rather than yours and can't examine your variables because they aren't directly available - and the kylix code isn't built to be debugged so it can't look at that either.
So start by looking at what you called and what you passed to the component - chances are that you passed the wrong thing and it crashed as a result.

We can't do that: we don't have access to your code, and even if we did we couldn't run it under exactly the circumstances you do!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900