momo2012
@momo2012
New Member
Joined: Feb 14, 2024
Topics: 93 / Replies: 207
Reply
RE: How to find a string or binary data from a stream buffer?

start = timeStamp() ( f = fopen @”C:\binary_big.txt” “rb” fseek f 0 #seek_end end = ftell f fseek f 0 #seek_set ss = StringStream …

7 years ago
Forum
Reply
RE: How to find a string or binary data from a stream buffer?

20~600M per file,so the performance is very important,and I am not good at C#

7 years ago
Forum
Reply
RE: How to find a string or binary data from a stream buffer?

Cool,it works,I use the similar code to find string yesterday,just like you said,it is good for small files,it is too much slow for big files,is there…

7 years ago
Forum
Reply
RE: How to find a string or binary data from a stream buffer?

How about this one?:sad: f = openFile @”c:\binary_03.txt” mode:”rb” contains123 = ( skipToString f “123” ) != undefined close f print contains123 -…

7 years ago
Forum
Reply
RE: How to find a string or binary data from a stream buffer?

wow,It works,but only for regular characters,if I will find a string among irregular\special\funny characters,it can not work.please check this file: …

7 years ago
Forum
Reply
RE: How to find a string or binary data from a stream buffer?

Hi,Serejah,thanks for help,I just tested,it seemed the “getBuffer” type cannot use directly: file = @”C:\binary.txt” –a “aaaaaa123cccccc” string …

7 years ago
Forum
Topic
Topic
Reply
RE: No input in Dotnet textbox – DotNetObject Form

Use enableAccelerators=false,below codes should work: theform = dotnetobject “form” ——————————————– theform.TopMost=tru…

7 years ago
Forum
Reply
RE: Dotnet style TabControl color/sytle question

Thanks for great help,I just tested the codes,it seems still looks like a max style,is it possible let the tab part background color and style changes…

7 years ago
Forum
Topic
Forum
Replies: 5
Views: 21
Reply
Forum
Reply
RE: WebBrowser in Rcmenu,possible?

Oh,I see,I tested in 3ds max 2013.thanks!

7 years ago
Forum
Reply
RE: WebBrowser in Rcmenu,possible?

Actually,I found some codes and put them together after searched forum topic,it seems can align the menu now,but not finish,I need to press the WebBro…

7 years ago
Forum
Reply
RE: WebBrowser in Rcmenu,possible?

Serejah: How can I get rcmenu position and size before creating a webb dialog? try (destroydialog X ) catch () rollout X “” ( button btn “—…

7 years ago
Forum
Page 7 / 20