Hi,
I am a user of telerik winforms and i am having severe problems using it on 64 bit windows with either 32 bit outlook or 64 bit process.
The problem is the process crashing, with little information, i got the process dump and i can see this
> 0000000000cc0020()
gdi32.dll!000007feff3f2000()
[Frames below may be incorrect and/or missing, no symbols loaded for gdi32.dll]
This happens if i am trying to display number of popups in taskbar in quick succesion. If it disable the popups, i don't get any crashes.
When it crashes it shows something related to StackHash, Maybe telerik control is trying to access some read/write memory within gdi32.
Stackhas seems something related to DEP.
Here is my code.
Image icon = message.IconName != null
? ImageResources.GetAlertImage(message.IconName)
: ImageResources.GetAlertImage(message.Alert, FormConstants.ImageSize.x32);
RadDesktopAlert popup = new RadDesktopAlert
{
CaptionText = message.Caption,
ContentText = message.Content,
ContentImage = icon,
AutoCloseDelay = (int)message.Duration,
ShowCloseButton = true,
ShowOptionsButton = false,
ShowPinButton = true,
AutoClose = true,
ScreenPosition = AlertScreenPosition.BottomRight,
FixedSize = (message.Action == null) ? new Size(330, 90) : new Size(330, 110),
};
if (message.Action != null)
{
RadButtonElement button = new RadButtonElement
{
Text = message.Action,
};
button.Font = new Font(button.Font, FontStyle.Underline);
if (message.Callback != null)
button.Click += (sender, e) => message.Callback(sender, message);
popup.ButtonItems.Add(button);
}
try
{
if (Application.MessageLoop)
{
Control sync = new Control();
var handle = sync.Handle;
sync.Invoke((Action)(() => { popup.Show(); }));
}
else
{
Application.Run(new AlertForm(popup));
}
}
catch (Exception ex)
{
}
Any help would be greatly appreciated.
Regards,
Raj