Unicode compiler option is Disabled
memory view display utf8 is worked?
memory view show ???? too
pls send me a >5.3 beta download link.
thanks
Search found 30 matches
- Tue Jun 24, 2014 6:03 am
- Forum: Coding Questions
- Topic: About Peeks a UTF8 html
- Replies: 5
- Views: 1858
- Tue Jun 24, 2014 4:24 am
- Forum: Coding Questions
- Topic: About Peeks a UTF8 html
- Replies: 5
- Views: 1858
About Peeks a UTF8 html
this is Mycode
InitNetwork()
ConnectionID = OpenNetworkConnection("www.gov.cn",80)
String$="GET / HTTP/1.1"+#CRLF$
String$=String$+"Accept:*/*"+#CRLF$
String$=String$+"User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; SV1)"+#CRLF$
String$=String$+"Accept-Language:zh-cn"+#CRLF ...
InitNetwork()
ConnectionID = OpenNetworkConnection("www.gov.cn",80)
String$="GET / HTTP/1.1"+#CRLF$
String$=String$+"Accept:*/*"+#CRLF$
String$=String$+"User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; SV1)"+#CRLF$
String$=String$+"Accept-Language:zh-cn"+#CRLF ...
- Sat Feb 25, 2012 10:05 am
- Forum: Coding Questions
- Topic: memory leaks,help me
- Replies: 2
- Views: 772
Re: memory leaks,help me
replace Break to OK=1
is better but still memory leaks
is better but still memory leaks
- Sat Feb 25, 2012 9:56 am
- Forum: Coding Questions
- Topic: memory leaks,help me
- Replies: 2
- Views: 772
memory leaks,help me
whereis memory leaks?
after few minute, memory used too big,
*Content = AllocateMemory(65536)
Repeat
ConnectionID = OpenNetworkConnection("xxx.xxx.xxx", 80)
If ConnectionID
Res = SendNetworkData(ConnectionID,@com$,Len(com$))
Repeat
Delay(10)
Result = NetworkClientEvent ...
after few minute, memory used too big,
*Content = AllocateMemory(65536)
Repeat
ConnectionID = OpenNetworkConnection("xxx.xxx.xxx", 80)
If ConnectionID
Res = SendNetworkData(ConnectionID,@com$,Len(com$))
Repeat
Delay(10)
Result = NetworkClientEvent ...
- Sat Sep 17, 2011 9:12 am
- Forum: Coding Questions
- Topic: About RegularExpression replace \1
- Replies: 0
- Views: 629
About RegularExpression replace \1
a.s="fsvFfs123fkasdjfk467566"
CreateRegularExpression(0,"(Ffs)(\d)")
ReplaceRegularExpression(0,a.s,"\1")
i want the result is
Ffs123
cann't suport \1\2 ?
example
If CreateRegularExpression(0, "(abC)(.+)")
Result$ = ReplaceRegularExpression(0, "abC ABc zbA abc", "\1")
Debug Result$ ; Will ...
CreateRegularExpression(0,"(Ffs)(\d)")
ReplaceRegularExpression(0,a.s,"\1")
i want the result is
Ffs123
cann't suport \1\2 ?
example
If CreateRegularExpression(0, "(abC)(.+)")
Result$ = ReplaceRegularExpression(0, "abC ABc zbA abc", "\1")
Debug Result$ ; Will ...
- Sat Aug 13, 2011 11:48 am
- Forum: Coding Questions
- Topic: help...
- Replies: 2
- Views: 854
Re: help...
thanks ,i tride add the (),and know it,Why are you(purebasic) different from the others
I have been accustomed to so use the << and /
so sorry for my poor english
I have been accustomed to so use the << and /
so sorry for my poor english
- Sat Aug 13, 2011 11:31 am
- Forum: Coding Questions
- Topic: about ConnectionID() function bug
- Replies: 7
- Views: 1372
Re: about ConnectionID() function bug
because i used the funtion on DLL
compiler cann't find the error
Procedure Thread(*Parameters.l)
Sleep_(120000)
Connection=0
SendFileMode=*Parameters
If SendFileMode=0
While Connection=0
Sleep_(30000)
Connection=OpenNetworkConnection("127.0.0.1",80,#PB_Network_TCP)
i=i+1
If i>10
SendFileMode ...
compiler cann't find the error
Procedure Thread(*Parameters.l)
Sleep_(120000)
Connection=0
SendFileMode=*Parameters
If SendFileMode=0
While Connection=0
Sleep_(30000)
Connection=OpenNetworkConnection("127.0.0.1",80,#PB_Network_TCP)
i=i+1
If i>10
SendFileMode ...
- Sat Aug 13, 2011 11:00 am
- Forum: Coding Questions
- Topic: help...
- Replies: 2
- Views: 854
help...
bb.l=(64<<5/2)%65
Debug bb
result is 49
In Visual C++ Or Perl Or Other language
#include "stdafx.h"
#include <stdio.h>
int _tmain(int argc, _TCHAR* argv[])
{
int aa=0;
aa=(64<<5/2)%65;
printf("%d",aa);
return 0;
}
result is 61
Debug bb
result is 49
In Visual C++ Or Perl Or Other language
#include "stdafx.h"
#include <stdio.h>
int _tmain(int argc, _TCHAR* argv[])
{
int aa=0;
aa=(64<<5/2)%65;
printf("%d",aa);
return 0;
}
result is 61
- Fri Aug 12, 2011 6:25 am
- Forum: Coding Questions
- Topic: about ConnectionID() function bug
- Replies: 7
- Views: 1372
Re: about ConnectionID() function bug
the Connection1 is a object?
is not a long value?
is not a long value?
- Fri Aug 12, 2011 6:16 am
- Forum: Coding Questions
- Topic: about ConnectionID() function bug
- Replies: 7
- Views: 1372
Re: about ConnectionID() function bug
My Environment
PureBasic 4.51 (Windows - x86)
Windows Server 2003 R2 MSDN Sp2
PureBasic 4.51 (Windows - x86)
Windows Server 2003 R2 MSDN Sp2
- Fri Aug 12, 2011 6:01 am
- Forum: Coding Questions
- Topic: about ConnectionID() function bug
- Replies: 7
- Views: 1372
about ConnectionID() function bug
InitNetwork()
Connection1=0
Debug ConnectionID(Connection1)
F5 run the code
[ERROR] Invalid memory access. (Read error at address 0)
Connection1=0
Debug ConnectionID(Connection1)
F5 run the code
[ERROR] Invalid memory access. (Read error at address 0)
- Mon Aug 08, 2011 8:29 am
- Forum: PureFORM & JaPBe
- Topic: PureLZMA : compress/uncompress data using LZMA algo
- Replies: 40
- Views: 74828
about PureLZMA Bug?
purebasic 4.51
PureLZMA 4.5X
modify PureLZMA-Packer_Test_2.pb filepath
run the Example
have a error
PureLZMA_Archive_AddFiles
Invalid Memory Access
PureLZMA 4.5X
modify PureLZMA-Packer_Test_2.pb filepath
run the Example
have a error
PureLZMA_Archive_AddFiles
Invalid Memory Access
- Wed Dec 15, 2010 9:15 am
- Forum: Coding Questions
- Topic: How Create This TabCtrl?
- Replies: 15
- Views: 5065
Re: How Create This TabCtrl?
it's so good.
thanks for all.
maybe……can Change title to the right?
thanks for all.
maybe……can Change title to the right?
- Wed Mar 31, 2010 4:00 am
- Forum: Coding Questions
- Topic: How Create This TabCtrl?
- Replies: 15
- Views: 5065
Re: How Create This TabCtrl?
I tried Lord Owner draw fixed(VC)
but the Label Width=Caption length
SetItemSize() is not work,
so the shape is abnormal;
my english is pretty bad,thanks
but the Label Width=Caption length
SetItemSize() is not work,
so the shape is abnormal;
my english is pretty bad,thanks
- Thu Mar 18, 2010 4:30 am
- Forum: Coding Questions
- Topic: How Create This TabCtrl?
- Replies: 15
- Views: 5065
How Create This TabCtrl?
How Create This TabCtrl?

is not

thanks

is not

thanks