Page 1 of 2

CreateImage(0,4096,4096) = 0 ?

Posted: Wed Mar 08, 2006 4:31 pm
by doodlemunch
i have 512 megs of ram and i call CreateImage(0,4096,4096) it gives me a 0
y?!!?

i think i have enouhg ram no ??

i just put to testt ''Debug CreateImage(0,4096,4096)'' compiel w/debug and it gives 0

not even usin 2048,2048 it works :(:(:(:( y??!

Posted: Wed Mar 08, 2006 4:38 pm
by Fred
If you use the v4, you can specify a depth (for example 32) and it should get ride of this Windows limitation.

Posted: Wed Mar 08, 2006 5:10 pm
by doodlemunch
i though pb comands were made by u and not wrapers of windows api :?

Posted: Wed Mar 08, 2006 5:14 pm
by Fred
Did you tried it ?

Code: Select all

CreateImage(4096, 4096, 32)

Posted: Wed Mar 08, 2006 5:46 pm
by doodlemunch
but i use demo :cry:
can i create an image by other ways ?

Posted: Wed Mar 08, 2006 9:08 pm
by PB
> but i use demo :cry:

Demo of PureBasic? I thought you had a registered version of PureBasic?
How did you run that LaunchTaskManager code that has API commands?
Please don't tell me you're running a pirated copy of PureBasic? :evil:

Posted: Thu Mar 09, 2006 12:58 am
by doodlemunch
i called tem by my own usin the dlls in windows sys dir!!
dont u know u can call api that way ?

Posted: Thu Mar 09, 2006 8:43 am
by PB
> i called tem by my own usin the dlls in windows sys dir!!
> dont u know u can call api that way ?

No, I didn't know. Can you give me an example then? And I'm glad to hear
you're not using a pirated version then. You had me worried for a moment!

Posted: Thu Mar 09, 2006 8:54 am
by blueznl
hey doodle waarom koop je niet een licentie? duur is het niet

Posted: Thu Mar 09, 2006 9:53 am
by Fred
Actually, having around 250 forum posts and using the demo version sounds a bit wierd to me, as you asking for support on a product you don't own.

Posted: Thu Mar 09, 2006 10:35 am
by Kale
doodlemunch wrote:but i use demo :cry:
Hmmm... i think you are telling porky pies!

in this post you are using inline WinAPI:
http://www.purebasic.fr/english/viewtopic.php?t=19063

which is impossible using the trial version!

Posted: Thu Mar 09, 2006 11:25 am
by josku_x
Well,, we KNOW that he has a pirated version, but I think that's NOT enough to prove he has a pirated license.

Posted: Thu Mar 09, 2006 9:13 pm
by PB
> in this post you are using inline WinAPI [...]
> which is impossible using the trial version

But he's claiming he's calling the API commands via Windows DLLs... and I've
yet to see an example, using the demo, of how this is done. Maybe Fred needs
to stop that possibility for the v4.00 release?

Posted: Fri Mar 10, 2006 1:30 am
by doodlemunch
OpenLibrary(1,"kernel32")
Debug "jo"
CallFunction(1,"Sleep",3000)
Debug "jo"
CloseLibrary(1)
End


bye i do not want to be here anymore
u guys laughed of my english made fun and too say i use pirate of pb u guys are ugly i was saving to buy it
now i will look somewere else
i hate pb and u

Posted: Fri Mar 10, 2006 1:52 am
by Dare2
Just a thought here.

doodlemunch has often said he is using the demo. Not every post, but over time.

IIRC, in one post somewhere, somehow explained how to use DLL's instead of API calls.

Maybe rethink what is going down here? You may be right, but perhaps hurry slowly. :)


@doodlemunch. Nobody made fun of your english, you are overreacting. But that is, of course, your choice. You own your attitude or it owns you.