AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Netzwerke Delphi Acessviolation "ieframe.dll" Read adrress 00..- fsStayOnTop
Thema durchsuchen
Ansicht
Themen-Optionen

Acessviolation "ieframe.dll" Read adrress 00..- fsStayOnTop

Ein Thema von mr_fahrrad · begonnen am 29. Jan 2007 · letzter Beitrag vom 29. Jan 2007
Antwort Antwort
mr_fahrrad

Registriert seit: 28. Dez 2006
46 Beiträge
 
#1

Acessviolation "ieframe.dll" Read adrress 00..- fs

  Alt 29. Jan 2007, 14:05
I have 2 buttons and one form. In the button 1 show the Form1 in fsNormal. in the button 2 show the Form2 in fsStayOnTop

the problem is:

When I press the button 1 (fsNormal) and after i press button2 (fsStayOnTop) I get the error

"Access violation in ieframe.dll' read address 0000000"

Anybody have a suggestion to fix this?
  Mit Zitat antworten Zitat
Benutzerbild von SirThornberry
SirThornberry
(Moderator)

Registriert seit: 23. Sep 2003
Ort: Bockwen
12.235 Beiträge
 
Delphi 2006 Professional
 
#2

Re: Acessviolation "ieframe.dll" Read adrress 00..

  Alt 29. Jan 2007, 14:09
it seems that form2 is not initialzed (nil).
Jens
Mit Source ist es wie mit Kunst - Hauptsache der Künstler versteht's
  Mit Zitat antworten Zitat
mr_fahrrad

Registriert seit: 28. Dez 2006
46 Beiträge
 
#3

Re: Acessviolation "ieframe.dll" Read adrress 00..

  Alt 29. Jan 2007, 14:25
No. I have just one form (form1) and the two buttons show the Form1 (the One with fsNormal and the Button2 with fsStayOnTop)

I believe that the error happens when I change the the formStyle from fsNormal to fsStayOnTop
  Mit Zitat antworten Zitat
Benutzerbild von SirThornberry
SirThornberry
(Moderator)

Registriert seit: 23. Sep 2003
Ort: Bockwen
12.235 Beiträge
 
Delphi 2006 Professional
 
#4

Re: Acessviolation "ieframe.dll" Read adrress 00..

  Alt 29. Jan 2007, 14:43
Can you please post the source code?
I hope you don't use:
FormXY.FormStyle := ...
Jens
Mit Source ist es wie mit Kunst - Hauptsache der Künstler versteht's
  Mit Zitat antworten Zitat
mr_fahrrad

Registriert seit: 28. Dez 2006
46 Beiträge
 
#5

Re: Acessviolation "ieframe.dll" Read adrress 00..

  Alt 29. Jan 2007, 15:39
at button1
Delphi-Quellcode:
Form1.FormStyle:=fsNormal;
Form1.Show;
at button2
Delphi-Quellcode:
Form1.FormStyle:=fsStayOnTop;
Form1.Show;
  Mit Zitat antworten Zitat
Robert Marquardt
(Gast)

n/a Beiträge
 
#6

Re: Acessviolation "ieframe.dll" Read adrress 00..

  Alt 29. Jan 2007, 15:44
From my D6 help: "Note: It is not advisable to change FormStyle at runtime"
  Mit Zitat antworten Zitat
Benutzerbild von SirThornberry
SirThornberry
(Moderator)

Registriert seit: 23. Sep 2003
Ort: Bockwen
12.235 Beiträge
 
Delphi 2006 Professional
 
#7

Re: Acessviolation "ieframe.dll" Read adrress 00..

  Alt 29. Jan 2007, 17:08
try to remove the "Form1." at the beginning of each line.
Jens
Mit Source ist es wie mit Kunst - Hauptsache der Künstler versteht's
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:51 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz