Search found 7 matches

by Gemorg
Wed Aug 26, 2015 1:56 am
Forum: Tricks 'n' Tips
Topic: Execution of the procedure with a timeout (Module)
Replies: 1
Views: 1450

Execution of the procedure with a timeout (Module)

Hi! :D

RunWithTimeout module helps to call procedures with a timeout, and to receive the returned value.

Run(*RProc, Timeout, Argument) - starts performance of the specified procedure with a timeout.
Wait(Info) - waits for end of RWT
Free(Info) - frees the used resources
LifeTime(Info ...
by Gemorg
Wed Aug 19, 2015 1:32 am
Forum: Tricks 'n' Tips
Topic: BitHelper
Replies: 7
Views: 2509

BitHelper

Hi guys! It may be useful. :)

GetBit(dw.l, nBitNumber) - gets a n-bit at number (the first bit as 0)
SetBit(*_dw, nBitNumber, nBitValue) - sets a n-bit at number (the first bit as 0)
GetBinDWord(dw.l) - works like a Bin()

The example is in a code.

; BitHelper.pbi
; by Gemorg

Procedure ...
by Gemorg
Mon Jul 27, 2015 10:27 am
Forum: General Discussion
Topic: FTPDirectoryEntryName CP1251
Replies: 1
Views: 1392

FTPDirectoryEntryName CP1251

Hi!
I am using this code:

InitNetwork()

If OpenFTP(0, "XXX.XXX.XX.XXX", "XXXXX", "XXXXXXX", 0)

If ExamineFTPDirectory(0)
While NextFTPDirectoryEntry(0)
Debug FTPDirectoryEntryName(0)
Wend
EndIf

Debug "finished"

Else
MessageRequester("Error", "Can't connect to the FTP server")
EndIf ...
by Gemorg
Sun Feb 22, 2015 5:38 pm
Forum: Applications - Feedback and Discussion
Topic: MP3D Engine Alpha 33
Replies: 1056
Views: 537952

Re: MP3D Engine Alpha 32

Thanks! Perfectly works!
by Gemorg
Sun Feb 22, 2015 1:46 pm
Forum: Applications - Feedback and Discussion
Topic: MP3D Engine Alpha 33
Replies: 1056
Views: 537952

Re: MP3D Engine Alpha 32

Maybe I don't understand something, but these libraries don't have the MP_2DPhysicBodyRemove(Body) function.
by Gemorg
Sun Feb 22, 2015 11:53 am
Forum: Applications - Feedback and Discussion
Topic: MP3D Engine Alpha 33
Replies: 1056
Views: 537952

Re: MP3D Engine Alpha 32

Hi to all,

@Gemorg,


1) new command MP_2DPhysicBodyRemove(Body) integrated, new lib created for download ready now (see answer before to load lib)

Greetings Michael

Thanks for answer!
But, where I can download a new library?

P.s. I saw Your message and tried to use Chipmunk4PB. After removal ...
by Gemorg
Tue Feb 17, 2015 9:40 pm
Forum: Applications - Feedback and Discussion
Topic: MP3D Engine Alpha 33
Replies: 1056
Views: 537952

Re: MP3D Engine Alpha 32

HI!
Can you help me?

How do I remove the 2d physic body?
There is something like MP_2DPhysicBodyRemove? I can't find that.

Thanks.