Page 1 of 1
Announcement: PBDev beta for the PureBasic v4 (beta)
Posted: Tue Feb 07, 2006 8:11 pm
by Edwin Knoppert
A few days ago i rewrote the internals to accomedate the new pb compiler.
A few minutes ago i have uploaded a new PBDev-beta with all the latest constants and functions highlited.
Follow link below to the PBDev website and you can find a special link for this v4 beta.
The 3.94 version remains as long the PB version is beta.

Posted: Tue Feb 07, 2006 9:40 pm
by Flype
tested and got a bug when compiling a project :
look like it is a pathname and 'quotes' problem somewhere in the compiling process, no ?
Posted: Tue Feb 07, 2006 9:57 pm
by Edwin Knoppert
Sometimes you'll get the weirdest error messages.
Don't know why a direct compile from the IDE delivers a different error message.
I think you have loaded an example project?
The example is not for v4.
Beta is beta and it ain't ptrofessional to imm. swap the 3.94 version for a v4 beta.
So you'll have to check what you are doing.
Download and install the full installation.
For update to 3.94 you better use the ordinary PBDev beta.
If you are using the v4 compiler, than you must use the special v4 PBDev beta.
Both beta zip files contain files you simply dump in the PBDev folder and overwrite the existing files of course.
If you need more info on the specific error you can temporarily use the F8 option.
This will generate the same code as on F5 but will open it in the PB IDE.
Then use the PB ide's F5 to compile and check the failure.
If it's IN the PBDev code then the above applies except the PBD_Main() procedure.
If the error is in there, leave the ide and PBDev restores.
Then make the necessary changes to the main module.
If you tried a new project and all the versions are ok, i would like to know what goes wrong.
Posted: Tue Feb 07, 2006 10:03 pm
by Edwin Knoppert
You have found a bug indeed.
There seems to be a change in the multiline editor gadget > EditorGadget.
Will check it out.
Note that the examples are rather old, when v4 is ready i'll update them all.
These examples come from version ~3.68
Thanks,
Posted: Tue Feb 07, 2006 10:31 pm
by Edwin Knoppert
I have uploaded a new beta which fixes the multiline issue.
Note that i don't have a helpfile for v4 so when it's out i'll check a few things.
Like the uppercase property is not working for the multiline.
Of course an almost never used option..
Here is a for v4 working multifrm example:
Code: Select all
' Title : MultiFrm
' Len : 7632
' Created : 2006-02-07, 22:29:16
' Using : PBDev PureBasic Developer (1.0.2.0, 2006-02-07, 22:22)
' Data : 1) Copy the hexdata to clipboard.
' : 2) Use the Open from clipboard menu.
504253434C42524450524A0000000000000000000100000058000000260E0000EB3500
0058000000010000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000789CAD5B0B9014C5193EA2C83B2082280A
0E1CCA9D9EC7CD9C3CE424B7B333737B83B33BEBCCEC3DC475DDBB9B830DCBEEB9BB07
1CF8C258788222265449D48A1A15F151520A2168B4A00C3E0A342AA9520A1F3C8C899A
8BA1226AD4C4A47B666E77BA67667BAECA555676E6FFFEEEFEFBEFFEFEFE663C20353E
3E7C6C85EDB33930057C2F69929570BC167ED7D72EE1DA544E118448FC80D4B80D35EF
77336FB7CCAF9EFADA5ED4BC2D70AEC35C924351B14D90D4B6F8D4A101DAE3F3CE78AC
1F059C6C9CEC0044253622A8F1FF6EFBEA146A1C089CE3300E8A9A6AB88F1F7C60C1D1
91C32A90CF24DCBE8A935855AD3E1D5C6FCAE6561C8B1F5F8B63CE7260226C58A81E6E
41EA1B0F7DF630D2AFC3FD8133718C243469952317A10378747360026EA8C9D197DEE3
C62376BFD8199888DBB58ABCD6DC2C76AD412CBF7836E0E86EB320869AB5CA494F1E22
464388B04149E04782EB347529A5E57AF5E52F1C7D9B886B11551100ED38E9DC6F7E87
E31CB9C646A302ABB011CE80D60168249BD1C75E5B77130E754C745056784151B57649
1803EE3100ABA6D6243BD2FADED8A70FE370C77C68429B06DB0CF751C6240EF4B7E838
C891BA9C1CD114596A92B9983ACAEA7053329DD7F7D4DFF90C71B06055C992146415D5
3ED8A79A5AB6901B96C4A8D5B86A0F72BFF4FA0DE476DB554D08878548CC0EE59FD8FE
571C7A360E0DB36DC198A6C91114B96C808C14234EE40F1BEE6571E4F938B2B599D554
AD59544D3C12E7CD81F8FB4407AAC62A5A2C1A95555113E5C804AB039C9E29E839B533
A7EB99CAA5EBC9490D5662585635A4031BBB673F429C2D73A2CD65076DEB84E7961788
096DA28C656D80D67FF0F183E4B11A2035CC822F4D8842737AFD354FA57C0225560909
10F813707F41DDEDA1CFC82B8797B92B9198CC3A3E2384A3A63A8209D61B33B8DB8E00
77357D7521985D1DCF9DE82706D40217B75D88652EDF78FF781C39DD0B09FE1352E458
B41AE9F9C0C11DCD3E7BAEB1411524843D9BD77D74610BB2F9F6DFE56453130D77FF5D
77ECBF18313FB639E0583656637274F17395CF22D6637FEB243BD3DA4899AFBA97DE81
D86FBFDF49BDA6BD99986FA4762EF639761756B8EDB557FD46CE851B6E7875ECED387A
9A3BBAC41067580EEAF977DA1BBB71F878F0478C70528C179A4449D0DAA3C269E012CF
6B978FF9F7D8E1A7DB6D4F36C24846157931F8134DC8312D1AD312165A651E8BEFC3ED
A7B9D84B32CB4B625061155150270636BC8B83A6DA412CCF73322F24C078E4E06281D3
466C7A799D5BA58135333810A14DF8CD3F9F8CE06D9C6D472842586E11004FA8328840
ED2207DF1B091496F99824000017AF5D1266C548BC16F68C05F11D379A029F682E5BD0
3B0B7A17B5AC35D3154EA632B56978BD816A4AE5F2056A552AD3955D353B6FDCAEC531
D05EE44D840B06DCC211ADC6BD414C43F1375595CD75A532C974358E0825BB96EA8512
62F0B73742580976FF62B71AA8B09ECF2797EA54A1AF471F37DAB46EA0B4653AD56DF4
B71BD404545FB6975A95CC14A84296CA2FCBAEAAA13A93E97447B2733995CA53D99E42
2A0BDAB2C633182B6A11150DF2092EA7270B3A2C2DAAA84A98D0740D15803FE9046739
A9AAA6AC7E8ADD7678DD42D8F14EBDAB37A72B7AA13797A1E8859490E912BB4B5D953B
0AD0DA8C2B95EAAAA156E9546F5EA752050A005399A554018C269DCDF6581D3427C6EA
5E482F5861EEAA2AB55D5DF26F0508E2CD4B8ADE0346346860CD5412B496CD502B4CE3
DAD23D2BDEA035686336655CABAA465D808E181DED0183ED48E6539DA5215155996CC1
E85CB5CD73313B16998D98BF51B7AA9E06D35E342DDDE09220426620ECF656A6C2394F
66BAE66473D45223A374D840BE1635B49C5B2344EF19FE2BA3C1847137C1A5B379DDEC
05DE9C615DBA5D551A57B5D3B0387575B81BACC1B09EE9756BA9C1DE696854E5D24A83
E1AC0E86E28A4B41BDB42C99812B240BD7418E82283027E9D4727D215529F2E18491D5
09A14DD45C7CC12F986830A8C638D13473D883F436FB08BBDF506688E65A7758C18F7D
90A6191CA6C3ACEC304D9C7DA0D638CD6A9406FE9CBD37476C2D492369E0BE02371190
DB60AB30B3A9D6A52FF8DC6800E7DAE9E2FC1423014D1392DE5DE0D2A9CEE51E9DF20E
2BFC207789371C176399422A8D24E7BB817557E0A4739E837478492AF1CEFE8A41DEB1
E29051F4643E9B31AF1943A66174012801F182AA26584D63B9669B451D6EC10B980533
68A1352B02CB3B5DD46306760F8E913BF6E771A38735ADFB0067E7F3ECECDC024EABE0
3822469A64904CA2C4D3FF8BBFE82801282F08AC6AACDFB07CA66BEBE03FC3FA666DC2
5D547AB90017F818A739BD7CEE9091B6E0952C6D93913E77C8480ED589B6CB48137155
E85ABC34A5511969680043461A499091E8928CF4382E232DC02B6B1A9391DE229C1569
1719A98F2023D1988C44371E3A8ECA48D107711989B664A42B4EE18613704343463A0D
95916E71C8487451465A8D589E72C8487449467A99180D7719691F11E7725448936524
DA4B464A106524BAAC8C748C7418A68D434A7106076E216A48B4B786B495AC21D15E1A
5284A821D19E1AD276B286447B684801B28644BB6B4801B286447B6948B79334249AA0
2185491A12ED53432267B4AB8694216A48B48B86B493A821D12E1AD297240D89F6D090
FE40D29068770D892B1CBC1547CEA8289600BC142A6D3D115E6E858C6D14020D15B010
68B05502D619C4BA68563FADE1842A5E2D58D76CC47C84CC618C8DC38E90398CB173D8
7422253128870D0D6070D8EB040E638A1C76A3E3518883C3188CC3DE23E42AE3C2616B
081CC6601CC6341EFA07CA61FC6E9CC34C31ACB21F7B1472EC799CC31893C33A491CC6
14396C2D62B9F5699CC39812871D2146C39DC30E13712E1C760D99C3180F0EBB93FC28
8429CB6103240E630C0E1B072E6AF0A802FE356672E04E229731DE5CB69DCC658C1797
05895CC67872D9563297311E5CD644E632C69DCB9AC85CC67871D983242E63085C1623
7119E393CBC899EDCA651D442E639C5CF60AF97908E3C2657F277119E3C1658F90B88C
F1E2B23FFBE232E647E6B2BB1EFFE2339F8F366C6BDFBE8A86B5CF6A213E18B41E3658
25ACF150A57F60D5033E9579F7E52BED7CC5B1E37849FB9AA68820A90515EE3E302563
3D3D7A0EC68639F6D6DDC447589617490C45C062D62658BD809208B5B8375F4875F7CD
FD307787CFA74B92CC5D29F04872AFCF0E73641CE58E6E167941152481832BCCBEC415
E5D5633E47023617498884AC747F6119F5B55F604CD244498C20A433EBF88C84AF2734
B4CB53B96B0E2C3A8490E9BE8E80D7C30348E7733686EEC3AB9D291EF6601BD936E9E3
7B50F72F9BC5918BB9B1016CB9AAE36E0440BD1898EA0130F7999B3EDAF33926C7EC9D
E681008117C36021F2FBD9D1AF9759EF08C82C0CC302C861CEE4A03AE6B29AF9F31670
85F77D6D1AF53FF2A6F1DD253F7D7AF8A8529B818D2702B01CE0594D007D05DFFCDA4D
A792C49DD0123A07B3023E760BF6160AD9CCEEA30BD2AEE29E2BDA280C4714C1B4D697
69272C263BDAFD81EDCE47D7647C0FC0E591EDBC5DBBBF45F228709BB32A1FC4C3C43E
F1977947D1C45EEB2CB48B0DCAD16FFEB6E74DC47EC23D81A95EF6466A4F3FF8D20A74
2DAC0D7846D5CCED5F9DD1ED9808CF28B8D4B1EF6F3FCB7F145DEAD9DDF5BFFF9648FA
C5A08099B4A5C1F7F3B72C24505B095BDCDB61213FBF58B380BF84459E9784AF47ECF6
DF912689456B97CA0DB9AB7C77456E8D080AAFB0AD888B25571DF11FC9A8C8693105A1
E9FCDEB59CEF2EB86EF3E73CD4F2046159192BC1AA968BCB7A34B0D1921D5C3653C865
D36BEEAB998C7BB9A0AC1763798F419CD01F09FD8E97E76695F7E2BECC677CA26067E1
258169E51CC1A5BA2F33FA721CE4902CEC20B05C23D9FB8208A6EEB9C0F4721863C91E
DAF4C4245480DD11281B2D73D99EACDAFFE890A6CA65E9EE59FFECB621F97059BE6F6F
383C341F2E1BE9A81D174CC47DCC2CE7A3B894470C7AC9F6A4536F3A9E1695CD177325
18C5EEE88AC155945B914C8F7A66ABA3C4AF2CE7A9496C1378633291C47B77DD2F8384
F588F981475FB42FEB0F2E7284F7A2F23E144E10C14F98C5487726BFD1311577359BE8
4A628382E4F035EDE9C425AE658967D2CAA03E67B177BDD6CD3EB97C48F35EDCB41037
0B0FE5FF33A49937DC980536E2E89D89DF3A1EB494ED8FFB3E1E9B78F243DCCD85E5DC
2870412F8EA99AD8D48E781AF1AF958E8357D929338F51B2793C47A334ED70E3FC214D
9926CB204C51548BD9FD61FB1F87964480285521CA2AAC262BA82F61DBF5EF0C2D4E42
4804E7691071398A46BC73EC45431A1B385F811D4450E051B5AAB6B6B6BA63CEF33FB7
D7BBD70D9C08C09FB0DE55D91681EF98F3EBE37813D04013C3A601DCD0186621337761
7DFD4A3EFF1DCA1E3303705DAB1136AAC92145E43F4D768EC2DD19850D1B0AB121E162
F0D7A52B6FBE7165339F5B3E6CF5CA8EBE883C6636D3B6A06BC4EC9AB93FBB68BEB024
72FE98091757CD6F6E581289B7BF356F6853CB06E1451576B1C650E88CEFFA7B77ED71
CC88B1DB98A70DA1056CB97821C1492277A571E4B8AC021E39ACF783CCC386A25FDFAB
E741955545CD6CD6D3E9ECCC1A6AA675AF23BB1AFCAAA3AAAFFFD314099565B799EF32
3A8411B80F3D79F0D66A54EC7D2430D9D51AB0CC81B93BAFC3CF86535C8D8DEDFBCBAB
3F1E8E9F0CCF71353749F89333BF7790F005AEF6C8010FE60DCD2CA8AB81A7BC78EEC4
465FAA028DBDB34A3FBFC1E73BABDEB5D1C0C11D519FE77AD77756ABD17756EB36BABF
B36AD654BB46BD82BDB37A8BFB3BABB4F9CE2A87BEB3FAC343EEEFACD2C577563720F6
0F15DCDF59A54BEFAC2A3EC7EEFECEAADFC8B9FDFF0C7EDF59A55DDF591DB7CDA7A447
7B4B7A55FE243D1A91F4E83D7E253DAFA7CB37F895F4689BA4677770995F358F26AA79
1B7CAE3B37356FBC4F358FF656F334BF6A1E8DA9792FFA55F3BC2AA68AFF0371513D7C
Posted: Tue Feb 07, 2006 10:43 pm
by ts-soft
Doesn't work, error at line 124
Code: Select all
hWndc = EditorGadget( 102, PBD_T2PX( 945 ), PBD_T2PY( 1080 ), PBD_T2PX( 2310 ), PBD_T2PY( 1770 ), "Text2" )
This work:
Code: Select all
hWndc = EditorGadget( 102, PBD_T2PX( 945 ), PBD_T2PY( 1080 ), PBD_T2PX( 2310 ), PBD_T2PY( 1770 ), @"Text2" )
Posted: Tue Feb 07, 2006 10:44 pm
by Edwin Knoppert
See above

Posted: Tue Feb 07, 2006 11:25 pm
by ts-soft
Edwin Knoppert wrote:See above

Tested with v4 "working" MultiFrm, loaded from Clipboard
Posted: Wed Feb 08, 2006 12:02 am
by Flype
not for me. but i may have found the problem :
pbdev stores the temp file (PBDMain.pb) in such directory :
C:\DOCUME~1\natys\Local Settings\Temp\PB898
the temp file is really created, but pb4 can't open it.
if i manually open the temp file in pb4 it's ok (run and compile).
if i press F8:
Purebasic display in a box (in french):
Impossible de charger le fichier
C:\DOCUME~1\NATYS\LOCAL
And just after, another box :
Impossible de charger le fichier
C:\DOCUME~1\NATYS\LOCAL SETTINGS\TEMP\PB898\SETTINGS\TEMP\PB898\PBDEVMain.pb
Note the concatenation bug of the paths...
Sorry for bringing little bad news, just trying to help.

Posted: Wed Feb 08, 2006 6:57 am
by Edwin Knoppert
That's odd then.
I do not recall a problem with the previous version.
Also i did not encounter this problem with the beta yet.
Did you try to use a new project?
Just start PBDev, click the form symbol and a form appears.
This is also a new project, project1
Now F5 should create an exe.
F8 is actually never required unless you want to solve a problem like a code change in PB like this beta.
Do you think i can reproduce the problem?
Posted: Wed Feb 08, 2006 7:06 am
by Edwin Knoppert
I just did it myself.
Once you done a F5 or F8 there is a tempfolder.
Leave thePB-ide and click project menu for OPEN temp folder.
In my case folder D:\DOCUME~1\EDWINK~1\LOCALS~1\Temp\PB27 was created.
Normally a converted to 8.3 notation dir should have all chars in uppercase.
In my case you see ...Temp maybe there is an issue with the folder stuff.
I really want to encourage you to do what i told in the previous post and then open the PBDMain.pb again via this temp folder and Explorer.
Try to run that again.
There can not be a failure, if you keep getting a failure it's very odd since there is no path issue in that code at that time.