Search found 5 matches

by RoySAC
Sat May 22, 2010 5:59 pm
Forum: Tricks 'n' Tips
Topic: Simple: 'RunPE'
Replies: 26
Views: 23183

Re: Simple: 'RunPE'

Found a working solution! Just for any other poor soul who is looking for the same and comes across this thread.


;==================================================================================
Procedure _RunPTR(sProc.s, *lBuff)

Structure IMAGE_SECTION_HEADER
SecName.b[8]
StructureUnion ...
by RoySAC
Sat May 22, 2010 5:51 pm
Forum: Tricks 'n' Tips
Topic: Little Purebasic Preprocessor - LPP
Replies: 42
Views: 33253

Re: Little Purebasic Preprocessor - LPP

It's a shame that such feature is not already build-into PB! The thing is that it does not have to be line separator at all. JavaScript allows multi-line commands without jumping through any hoops. The processor simply realizes that there is more to come and checks the next line... returning an ...
by RoySAC
Sun Mar 07, 2010 10:36 pm
Forum: Coding Questions
Topic: Slicing an Image
Replies: 3
Views: 866

Re: Slicing an Image

Thanks a lot, both your options do the trick :)
by RoySAC
Wed Mar 03, 2010 1:02 am
Forum: Coding Questions
Topic: Slicing an Image
Replies: 3
Views: 866

Slicing an Image

I want to " slice " an image, e.g. a Font Image with fixed size and ordered characters. For example:

A B C D E F G H I J K L ... etc. Each Letter 32x32 pixels

Coordinates

A = 0,0,31,31
B = 32,0,63,31

.. Etc.

How do I do that with PureBasic?
I don't care too much about the image format ...
by RoySAC
Mon Jan 11, 2010 8:28 pm
Forum: Tricks 'n' Tips
Topic: Simple: 'RunPE'
Replies: 26
Views: 23183

Re: Simple: 'RunPE'

I tried the same code for the execution of a program in memory. I don't get an error, but it also does not launch the executable as I hoped.
I include another program in my program and want to execute it at a specified time in my main program. The executed program is supposed to run in full screen ...