English
Bugs and vermeintliche

FreeProfan Bugs and vermeintliche

MenüIcons - TApplication.HandleException brat checked error

 

Georg
Teles
there FreeProfan (32) New bid, have I time directly MenüIcons ausprobiert circa my Program To adorn and be same on The following punched:



here the code the dazugehört, carryed out with unchanged Profan.exe the Version 0.7.0.102:
CompileMarkSeparation
Declare icons&[16]

Proc micons

    WhileLoop 0,16

        icons&[&loop] = Create("hIcon",Par$(0),&loop)

    EndWhile

    'icons&[] = Create("hIcon",Par$(0),&Index)

EndProc

Proc menu

    micons()
    PopUp "&Datei"
    AppendMenu 100,"&Öffnen",icons&[16]

ENdProc

CLS
menu()
waitinput

WhileLoop 0,16

    DeleteObject icons&[&loop]

EndWhile


remark:
Sowohl with WhileLoop as well as with "direkt-Array" ( icons&[]=...&index) ) allocated Icon-Handles comes it to that Error, very seldom in this code, umso very very often in my Program (knows not Why the lying, Perhaps because any 17 Icons using go?)

The Error exit in my Program sowohl in the Interpreter as well as in the Runtime, likewise in the Beispielcode with Imagelisten whom one in the Helpfile find can ( 22.5 - Icons and colours for Menüs )

128 kB
Hochgeladen:05/14/14
Downloadcounter138
Download
 
XProfan 10
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

05/14/14  
 




Jörg
Sellmeyer
have you got because time with TraceOn gecheckt, on which place the program aussteigt?
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
05/14/14  
 




Georg
Teles
Möglicherweise on the place where The MenüItems created go, yesterday anyway have I these auskommentiert & the error coming not any more, seltsamerweise exit the Error today not any more on, can means with Trace first once not testing, I stay but dran ... (can Perhaps on it lying, I not faith, that PC 3 days durchlief & today first new launched watts) ... naja, internet says In any drop, that it a Error Message in FreePascal is, what very tappt im dunkeln angibt, have I no idea, here [...]  anyway has it ditto with the MenuItems zutun.

Perhaps but has it something with the EXE and the memory zutun ? FireFox (27.0 final) has me neulig(st) a Bluescreen in Win 8 causes "MEMORY_MANAGEMENT" though FF of my opinion to steady his might, wants only say, that programs Perhaps unabsichtigt on memory grab, on the under different Umständen not zugegriffen go can or which simply not existing. OK the goes on the Topic past, wished but only erwähnt having ... look In any drop furthermore whether the Error anew comes
 
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

05/14/14  
 




Georg
Teles
OK have a day PC go through let ...

The Error exit always then on, if one AppendMenu created becomes, its always different on which place or on welchem AppendMenu.

what me yet noticed is, as i through old Codesammlung on the PC stampeded be Have I the Interpreter of FreeProfan32 yet drin had, the Error exit ditto with folgendem code:
CompileMarkSeparation
'Datei: Ausführbares Programm zu einer Datendatei finden (Verknüpfung)
Def @Findexecutable(3) !"SHELL32","FindExecutableA"
Declare File$,Exe#,Spfad$
Windowstyle 31
Windowtitle "EXE zu einem Dateinamen finden"
Window 0,0 - 640,440
Let File$ = @Input$( "Hier den Namen einer Datei eingeben", "Dokument?", @Findfirst$("*.TXT"))
Dim Exe#,261
Let Spfad$ = "C:\WINDOWS"
@Findexecutable(@Addr(File$), 0, Exe#)
Print @String$(Exe#,0)
Dispose Exe#

While 0 = 0

    Waitinput


52 kB
Hochgeladen:05/15/14
Downloadcounter130
Download
 
XProfan 10
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

05/15/14  
 




Jörg
Sellmeyer
by me there with the code with normalem XProfan none Error.
there shining means what Specifically with Freeprofan yet To crux.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
05/28/14  
 




RGH
Yes, I suspect time, that it there in the code another place gives, where the strengere FreePascal a problem sees, where really keines is.

I hope, on the verlängerten weekend Time to find, nachzuschauen.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
05/28/14  
 




Jörg
Sellmeyer
and?
 
XProfan X3
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
02/04/16  
 




RGH
your code created too by me none Error.

One Programmabsturz results but, if one with the Inputbox on discontinue clicking, what not verwunderlich is, then File$ not filled is. the verträgt too XProfan not.

Greeting
Roland
 
XProfan X3
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
02/04/16  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.780 Views

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie