English
Forum

Problem with gettext$() in the SubscriptionVersion

 

Dieter
Zornow
I have the Topic already in the Forum of Roland posted. unfortunately has Forum whom code verstümmelt.
therefore here over again to that Download.

One code is a Minimalbeispiel of my Originalcode and the others one wirkliches Minimalbeispiel to that Test. the Example of my code functions with XProfan 10 but not any more with the Subscritionversion of XProfan 11, that is I can The Editfields not Gettext$() read. with the minimalen example functions it seltsamerweise too with XProfan 11. that is something prevented with my Originalcode the Reading. Please test times who The Subscriptionversion has, because XProfan 10 functions Yes.

in the on the Schluß erscheinenden Messagebox ought to C: stand. The benötigte Skcontrol.dll is in the pkg thereby

Greeting from Bangkok

Dieter

42 kB
Hochgeladen:11/01/07
Downloadcounter166
Download
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
11/01/07  
 



Yes already interestingly - too that the GetText very so many Chars wiedergibt How one at create the Edits in the string commit.
 
11/01/07  
 




RGH
Hm, are your sure, that your my corrected version (a day to the fehlerhaften) using? there functions getText$() again. here an example, with the I it straight tested have:
CompileMarkSeparation
declare text$, text&, ok&, cancel&
windowstyle 15 + 512
window 100, 100 - 700, 400
text& = create(edit, %hwnd, , 50, 50, 200, 20)
ok& = create(button, %hwnd, Ok, 50, 80, 80, 20)
cancel& = create(button, %hwnd, Ende, 50, 110, 80, 20)

while 1

    waitinput

    if clicked(ok&)

        messagebox(gettext$(text&), Text:, 0)

    elseif clicked(cancel&)

        break

    endif

endwhile

end

alas Yes: and if it too with the korrigierten Delivery Problems gives, make time Please one Minimal-example without SK-Control, the Problems bereitet.
(its Yes always imaginable, the extensions on the new Version first angepaßt go must. the was too at SK-Control and XProfan 10 so, though I here really on the first look none occasion see ... but I know Yes The Internas of SK-Control not.)

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
11/01/07  
 




Dieter
Zornow
So I be me sure, I use The File of 26.10.2007 - 20:53 - XPROFAN INTERPRETER 11.0ß s2
If it on the SkControl lying would might Yes the second example neither functions. i think its
difficult an example produce not functions, there the Yes somehow a amount of Ereignissen need circa not To functions. but I versuchs time

Greeting from Bangkok

Dieter
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
11/01/07  
 




Dieter
Zornow
Habs found out, shining still with the SKControl zusammenzuhängen, If I one leeres Edit beget can not More read go, I have time to that Test one Edit with a characters prepares.
It can then too only one characters read go. that is soviele characters How with the Creation prompt go can I again read. Why it with XProfan 10 goes and 11 not must Roland know. with Profanedits goes everything.
CompileMarkSeparation
Declare sl$,skdll&,tl&,ed&
 $I SKControl.inc
cls
skdll& = Usedll(SKControl.dll)
SKCTRL_INITDLL()
tl& = SKCtrl_CreateColorEdit(%hwnd,1,RGB(0,0,0),RGB(0,180,255),0,59,(width(%hwnd)/2),20,%hInstance)
ed& = Create(Edit,%Hwnd,,50,100,100,20)
sl$ = C:
settext tl&,sl$
settext ed&,sl$
Messagebox( Gettext$(tl&),Gettext$(ed&),0)
freedll skdll&
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
11/01/07  
 




Jac
de
Lad
Something like beklopptes...
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
11/01/07  
 



The Error is well clear - The Message for investigation the length the To beziehenden Textes won't from the SkControl abgefangen/umgelenkt as Message for the relating the Textes self.
 
11/01/07  
 




RGH
Dieter Zornow
Why it with XProfan 10 goes and 11 not must Roland know.


there the trouble only with the DLL appears, becomes it only its Author know. it depends presumably so together, I no solid maximum String-Length of 32767 characters More have, separate a dynamic of 0 To MAXINT. there too Sebastian a Subscriptionsversion own, would I your place the trouble time in the SK-Control-Forum post.

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
11/01/07  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.372 Views

Untitledvor 0 min.
Andre Rohland12/25/14

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