Search found 45 matches

by PurePWNRER
Mon Dec 10, 2007 12:20 pm
Forum: Coding Questions
Topic: Window handle from process handle?
Replies: 24
Views: 12726

I'd say Karma kicked in when he saw the wrapper this guy is writing :wink:
by PurePWNRER
Wed Dec 05, 2007 5:26 am
Forum: Coding Questions
Topic: Change Image Depth
Replies: 17
Views: 3822

You are writing an icon creator, yet; you don't understand how dithering works. May I ask why are you even writing this uber icon creator if you don't know what you're doing?.

Reading through color dithering WILL allow you to later on write dithering functions for your application, meaning; at the ...
by PurePWNRER
Wed Dec 05, 2007 5:18 am
Forum: Coding Questions
Topic: Question regarding CreateFileMapping_()
Replies: 7
Views: 2093

Mistrel wrote:
PurePWNRER wrote:What are you, wrapping PB to use in DBP??
This has nothing to do with the question.
Yet it has to do with the license you agreed upon buying purebasic.
by PurePWNRER
Tue Dec 04, 2007 8:11 am
Forum: Coding Questions
Topic: Pass array by reference and allocate inside proc?
Replies: 12
Views: 3014

lol? I dont want easy I want speed and theres a reason of why one would interleave pixels, even though im using planar representation, the reason you would go about manipulating pixels this way is speed. when you must get pixels from certain coordinates and you dont use any extensions such as mmx or ...
by PurePWNRER
Tue Dec 04, 2007 7:29 am
Forum: Coding Questions
Topic: Pass array by reference and allocate inside proc?
Replies: 12
Views: 3014

Perhaps I'll have to allocate the memory and calculate the displacement / offsets by my own?, how could I calculate this? (3 dimensions, byte array).
by PurePWNRER
Tue Dec 04, 2007 6:22 am
Forum: Coding Questions
Topic: Pass array by reference and allocate inside proc?
Replies: 12
Views: 3014

Did I forget to mention they are multidimensional and dynamic?, 3 dimensions to be exact.

I wouldn't be asking if that wasn't the case :)
by PurePWNRER
Tue Dec 04, 2007 4:36 am
Forum: Coding Questions
Topic: Question regarding CreateFileMapping_()
Replies: 7
Views: 2093

What are you, wrapping PB to use in DBP??
by PurePWNRER
Tue Dec 04, 2007 4:22 am
Forum: Coding Questions
Topic: Setting the window callback for a window outside of PB?
Replies: 10
Views: 3057

LOL, talk about limited languages.
Why would anyone use that language when it doesn't even support this...
by PurePWNRER
Tue Dec 04, 2007 4:17 am
Forum: Coding Questions
Topic: Calling procedure from variable passed to another procedure?
Replies: 6
Views: 1462

Re: Calling procedure from variable passed to another proced

I am trying to call a procedure from within a procedure but the one I'm trying to call is not known (a variable procedure call?). Any ideas? Maybe there's something I'm missing...




Proc1("Proc2")

Procedure Proc1(WhatToCall$)
WhatToCall$() ; I know this won't work but it shows what I'm trying ...
by PurePWNRER
Tue Dec 04, 2007 4:12 am
Forum: Off Topic
Topic: php question
Replies: 26
Views: 3774

I'm not sure if I fully got this right, but if it's a windows server chances are
high that it's not even running apache but IIS instead.
If so, there's no .htaccess available.

If the server is running apache, your provider should really allow you to
access the .htaccess. I've never come across any ...
by PurePWNRER
Tue Dec 04, 2007 4:08 am
Forum: General Discussion
Topic: Using MouseX, MouseY with Wacom tablet
Replies: 3
Views: 1699

You need to use the wacom sdk... that's the only way you'll support pen pressure, tilt, and gathering packets from the tablet itself (well, you gather from the driver actually...)

And by only way I mean "best real way" using wrappers or work-around solutions is not an option in the real world ;)
by PurePWNRER
Tue Dec 04, 2007 4:03 am
Forum: Coding Questions
Topic: Purebasic dll return string as pchar to Delphi application
Replies: 5
Views: 1878

have your dll allocate the string data to a memory address, then pass this address to your delphi application. if delphi reads normal ascii strings then it'll work. if not, drop delphi, it's crap.
by PurePWNRER
Tue Dec 04, 2007 4:01 am
Forum: Coding Questions
Topic: Change Image Depth
Replies: 17
Views: 3822

GIMP and many other programs create color-tables out of the original image, to later on suit the needs of the limited 8bit image.

For instance, you would go through all the pixels of the original image creating an array that contains the most used pixels in that image, so you can later on map your ...
by PurePWNRER
Tue Dec 04, 2007 3:57 am
Forum: Coding Questions
Topic: Pass array by reference and allocate inside proc?
Replies: 12
Views: 3014

Pass array by reference and allocate inside proc?

How can I allocate arrays in a procedure, to later on pass by reference to other procedures? I don't want to use global / shared method, I need to pass the actual pointer of the array to later on access the array inside each proc. I also need to allocate the array inside a procedure (ie it returns a ...
by PurePWNRER
Thu Mar 22, 2007 6:23 pm
Forum: Coding Questions
Topic: Is it possibel to know which program executed my appl??
Replies: 2
Views: 676

thanks! parent was the KEYword :)
now i am using reals routine but i modified to suit my needs