Search found 59 matches

by NikitaOdnorob98
Sun Mar 15, 2015 5:42 pm
Forum: Coding Questions
Topic: Linker Error
Replies: 11
Views: 4350

Re: Linker Error

luis, thank you very much!! Code works!!! I get a 4 seconds speed up on file 5.38 GB (74s vs 78s)
Did you wait exactly a month on purpose biting your lips in restrain before asking for help again or it was just a coincidence ?
No, it's coincidence :)

P.S. Is it bug or not?
by NikitaOdnorob98
Sun Mar 15, 2015 3:30 pm
Forum: Coding Questions
Topic: Linker Error
Replies: 11
Views: 4350

Re: Linker Error

Dude
The standard function is slow. I specifically was looking for the code in assembler, because speed is important to me
by NikitaOdnorob98
Sun Mar 15, 2015 3:14 pm
Forum: Coding Questions
Topic: Linker Error
Replies: 11
Views: 4350

Re: Linker Error

Unfortunately, this did not help :( This code doesn't work :cry: :cry:
POLINK: fatal error: Invalid or corrupt object 'Purebasic.obj'
DisableDebugger
EnableASM

; // MD5 context.
!Struc MD5_CTX
!{
! .state rd 4
! .buffer rb 128
! .bitsize rd 2
! .padLen rd 1
! .blocks rd 1
! .readblocks rd 1 ...
by NikitaOdnorob98
Sun Mar 15, 2015 11:05 am
Forum: Coding Questions
Topic: Linker Error
Replies: 11
Views: 4350

Re: Linker Error

Please! Somebody, help me. Why I get a linker error when debugger is disabled?
by NikitaOdnorob98
Fri Feb 20, 2015 7:14 pm
Forum: Coding Questions
Topic: StringGadget and AddKeyboardShortcut
Replies: 5
Views: 2818

Re: StringGadget and AddKeyboardShortcut

Windows 8, PureBasic 5.22, this code works normaly.
by NikitaOdnorob98
Sun Feb 15, 2015 2:17 pm
Forum: Coding Questions
Topic: Linker Error
Replies: 11
Views: 4350

Re: Linker Error

@infratec Sorry, I forgot about DataSection

Code: Select all

DataSection
  ctx:
  !ctx MD5_CTX
EndDataSection
by NikitaOdnorob98
Sun Feb 15, 2015 1:35 pm
Forum: Coding Questions
Topic: Linker Error
Replies: 11
Views: 4350

Linker Error

Hello everybody! I found this code on Assembler for calculating MD5 hash of file.
DisableDebugger
EnableASM

; // MD5 context.
!Struc MD5_CTX
!{
! .state rd 4
! .buffer rb 128
! .bitsize rd 2
! .padLen rd 1
! .blocks rd 1
! .readblocks rd 1
! .pbuf rd 1
! .remainedbytes rd 1
! .lastBlocks rd 1 ...
by NikitaOdnorob98
Wed Jan 14, 2015 1:39 pm
Forum: PureFORM & JaPBe
Topic: Using a Gnozal's libraries in commercial programs
Replies: 2
Views: 16462

Using a Gnozal's libraries in commercial programs

Hello! I don't know English very well, sorry!!

Can I use a Gnozal's libraries in commercial programs? Where may read a license? I can't ask Gnozal because Gnozal published last post in Julay 2013.
by NikitaOdnorob98
Thu Aug 14, 2014 9:00 am
Forum: Feature Requests and Wishlists
Topic: TestMemory(*mem)
Replies: 2
Views: 2125

TestMemory(*mem)

Please, add this function
Procedure.b TestMemory(*Pointer) ;Only Windows
Protected mbi.MEMORY_BASIC_INFORMATION
Protected Result.b = #False, dwWrote

dwWrote = VirtualQuery_(*Pointer, @mbi, SizeOf(MEMORY_BASIC_INFORMATION))
If dwWrote
If mbi\BaseAddress+mbi\RegionSize >= *Pointer+1
If mbi ...
by NikitaOdnorob98
Sat Aug 09, 2014 10:20 am
Forum: Announcement
Topic: Removing 'ASCII' switch from PureBasic
Replies: 210
Views: 134567

Re: Removing 'ASCII' switch from PureBasic

Fred, please make a poll. It will be better.

P.S. I think what it's bad idea
by NikitaOdnorob98
Fri Mar 07, 2014 5:43 pm
Forum: Applications - Feedback and Discussion
Topic: D3hexeditor
Replies: 19
Views: 17047

Re: D3hexeditor

Tried to open the EXE file. The error.
Name: Couldn't open file
Description: 'C:\Users\Никита\Desktop\Scr Prog.exe' couldn't be opened. The file object now behaves like a new file.
Place: Object_File.pbi:Object_File_HDD_Open:186
by NikitaOdnorob98
Fri Nov 29, 2013 6:56 pm
Forum: Coding Questions
Topic: Search In Memory
Replies: 8
Views: 2799

Re: Search In Memory

Mem1: 43 6F 00 AC C1 31 00 76 99 FF
Mem2: 6F 00 AC C1
FindString isn't working because the zero symbol there
by NikitaOdnorob98
Fri Nov 29, 2013 6:14 pm
Forum: Coding Questions
Topic: Search In Memory
Replies: 8
Views: 2799

Search In Memory

Please tell me fast code for the search of bytes in memory. Only to work with ASCII, and Unicode. Thanks in advance.
by NikitaOdnorob98
Wed Nov 20, 2013 1:32 pm
Forum: Feature Requests and Wishlists
Topic: FillString
Replies: 10
Views: 2132

FillString

Code: Select all

Procedure$ FillString(Symbol$, Lenght)
  Protected String$ = ""
  Protected i
  For i = 1 To Lenght
    String$ + Symbol$
  Next
  ProcedureReturn String$
EndProcedure

a$ = FillString("1", 10)
Debug a$