Search found 92 matches

by loadstone
Sat Dec 30, 2023 7:41 pm
Forum: Coding Questions
Topic: Source code file format of ide is set to ascii cannot input chinese~
Replies: 8
Views: 1510

Re: Source code file format of ide is set to ascii cannot input chinese~


Try to convert your file in UTF-8 with the old PB and see if it opens correctly with the new version. Chinese and Russian files should be in UTF-8 anyway, using ASCII for that is crying for errors.

XIncludeFile "d:\其他程序源码\PUREBASIC_XXXXXX\include\tdb_600.pbi"

@Fred bigboss,Now version 6.04 ...
by loadstone
Fri Dec 29, 2023 7:42 pm
Forum: Coding Questions
Topic: Source code file format of ide is set to ascii cannot input chinese~
Replies: 8
Views: 1510

Re: Source code file format of ide is set to ascii cannot input chinese~


ASCII only has the simple character set up to 0 - 255 (32 to 127)

You are right, I mean that the version before 6.02 supports ascii file format input Chinese, now 6.03 can not input Chinese, can only open ansi format containing Chinese files, but can not change the Chinese inside, the old source ...
by loadstone
Fri Dec 29, 2023 8:01 am
Forum: Coding Questions
Topic: Source code file format of ide is set to ascii cannot input chinese~
Replies: 8
Views: 1510

Source code file format of ide is set to ascii cannot input chinese~

6.02 is normal, to 6.03 onwards,When the source code file format of ide is set to ascii, Chinese characters cannot be input. All the inputs are question marks.(????)
by loadstone
Sat Dec 16, 2023 6:20 am
Forum: Coding Questions
Topic: [bug?]xincludefile cannot have Chinese or Asia characters
Replies: 8
Views: 1303

Re: [bug?]xincludefile cannot have Chinese or Asia characters

6.04 final demo

@fred

6.03 compilation prompt from can not find the directory,6.04 version click to compile becomes unable to open the directory, the Chinese directory in the error prompt is still garbled,6.02 Everything is ok :|
by loadstone
Sun Nov 05, 2023 4:04 am
Forum: Coding Questions
Topic: IDE font switching issue with the new 6.03 version
Replies: 0
Views: 503

IDE font switching issue with the new 6.03 version

I encountered a problem,In the new version 6.03 of IDE, switching fonts may result in many fonts not displaying properly and being replaced with the Windows default font. However, in version 6.02, everything is ok (test win7)
by loadstone
Thu Oct 26, 2023 4:30 am
Forum: Coding Questions
Topic: [bug?]xincludefile cannot have Chinese or Asia characters
Replies: 8
Views: 1303

Re: [bug?]xincludefile cannot have Chinese or Asia characters

Fred wrote: Tue Oct 24, 2023 9:13 am I will take a closer look, the compiler on Windows isn't using Unicode file function for now, so as we change the communication between the IDE and the compiler as UTF8, it could be the issue.
:) thanks!
by loadstone
Wed Oct 18, 2023 4:59 am
Forum: Coding Questions
Topic: [bug?]xincludefile cannot have Chinese or Asia characters
Replies: 8
Views: 1303

[bug?]xincludefile cannot have Chinese or Asia characters

Under the new version 6.03 final:

The directory contained after xincludefile (includefile) cannot have Chinese or Asia characters, otherwise it will prompt that the file cannot be found. However, double-click on the ide to open the file. The file exists and the directory is correct

For example ...
by loadstone
Mon Jun 05, 2023 2:59 pm
Forum: General Discussion
Topic: I cannot run at 6.02 XP
Replies: 8
Views: 1444

Re: I cannot run at 6.02 XP



PureBasic 6.02 cannot run on one of my XP computers, but versions below 6.02 can run, and the startup prompts the error in the messagebox, while the other XP computer can boot 6.02 and runs normally

---------------------------
Error
---------------------------
An Error has been detected in the ...
by loadstone
Mon Jun 05, 2023 7:09 am
Forum: General Discussion
Topic: I cannot run at 6.02 XP
Replies: 8
Views: 1444

Re: I cannot run at 6.02 XP

Thank you, boss
by loadstone
Sun Jun 04, 2023 6:52 pm
Forum: General Discussion
Topic: I cannot run at 6.02 XP
Replies: 8
Views: 1444

I cannot run at 6.02 XP

PureBasic 6.02 cannot run on one of my XP computers, but versions below 6.02 can run, and the startup prompts the error in the messagebox, while the other XP computer can boot 6.02 and runs normally

---------------------------
Error
---------------------------
An Error has been detected in the IDE ...
by loadstone
Fri Jan 18, 2019 5:22 pm
Forum: Announcement
Topic: ACME Media Player
Replies: 6
Views: 4457

Re: ACME Media Player

:) Very nice! Can add "APE" music ,an "CUE" file,
by loadstone
Wed Mar 26, 2014 5:33 am
Forum: Coding Questions
Topic: Have a sendmessage problem
Replies: 2
Views: 944

Re: Have a sendmessage problem

[quote="netmaestro"]do it good:
quote]

I'm from inside to outside both thank your help :P
by loadstone
Wed Mar 26, 2014 4:19 am
Forum: Coding Questions
Topic: Have a sendmessage problem
Replies: 2
Views: 944

Have a sendmessage problem

Code: Select all

txt$="Hello World!"
For i = 1 To Len(txt$)
   SendMessage_(456321,#WM_CHAR,Mid(txt$,i),0)
Next
Up code sendmessage , the destination window display "??????????" ,how can I use this api send message #WM_CHAR do it good ?
thanks :)