Search found 13 matches

by raska
Tue Oct 09, 2007 12:05 am
Forum: Coding Questions
Topic: Need help with some coding in Memory
Replies: 6
Views: 1317

Well, here you have more or less what program does. As you can see the variable tg$ got increased several times for every file loaded depending if differences between 2 files are found. This happens a lot of times for every file of a total of 20 in this pseudo code. In the reality they are the total ...
by raska
Sun Oct 07, 2007 12:01 am
Forum: Coding Questions
Topic: Need help with some coding in Memory
Replies: 6
Views: 1317



The answer is "yes," though it would seem that there would be a more efficent way. What that way would be depends on whether you will share enough code to describe the process more completely, since you say that you have already written code that performs the needed task.

The program is ...
by raska
Sat Oct 06, 2007 10:05 pm
Forum: Coding Questions
Topic: Need help with some coding in Memory
Replies: 6
Views: 1317

Hi DEmivex:

Thanks for the tip.

I think I've understood what you mean in your code, but I see same lacks and a question (the main one) don't answered.

Lemme explain exacttly what I wanna do



1 - Allocate memory for the first file. i.e. FileID1=AllocateMemory (len (file1$))

2 - Copy the whole ...
by raska
Sat Oct 06, 2007 7:54 pm
Forum: Coding Questions
Topic: How to show a 3D Wavefront obj file in PB ?
Replies: 6
Views: 1871

Re: How to show a 3D Wavefront obj file in PB ?

I need to know if there is some way to use any library or something to show a Wavefront *.obj file in solid, points and edges mode. At same time that it can be moved with the mouse in Zoom, Pan and rotate options.

Thanks

May be you can use Deled to convert your Wavefront to Mesh ?

For my own ...
by raska
Sat Oct 06, 2007 7:48 pm
Forum: Coding Questions
Topic: How to show a 3D Wavefront obj file in PB ?
Replies: 6
Views: 1871

Actually the dll itself is about 1.2 megs. If thats till too much you could use this as a converter / loader.

Use Irrlicht to load your object file and dump vertex / Indice / UV Data to a custom file ( which you in the final exe could include via includebinairy or paste as text - depending how you ...
by raska
Sat Oct 06, 2007 5:49 pm
Forum: Coding Questions
Topic: How to show a 3D Wavefront obj file in PB ?
Replies: 6
Views: 1871

Thanks a lot but I am looking for a very small thing, My program is 100 k. big and only that library is more than 9 meg. :roll:

I am looking for something simple with only those few functions that I explained in my firt post. Something like the Total commander's wcpfrep32.wlx list 3D viewer that ...
by raska
Sat Oct 06, 2007 5:25 pm
Forum: Coding Questions
Topic: How to show a 3D Wavefront obj file in PB ?
Replies: 6
Views: 1871

How to show a 3D Wavefront obj file in PB ?

I need to know if there is some way to use any library or something to show a Wavefront *.obj file in solid, points and edges mode. At same time that it can be moved with the mouse in Zoom, Pan and rotate options.

Thanks
by raska
Sat Oct 06, 2007 2:14 pm
Forum: Coding Questions
Topic: Need help with some coding in Memory
Replies: 6
Views: 1317

Need help with some coding in Memory

Hi, I just made a program to manage some ASCII files. As they are so big files (until 100 meg or so), I need to optimize the code to write these files
Actually the code I have is the one below. I would like to translate it to make the same but in memory, then when finish save it to disk.

Any help ...
by raska
Sun Sep 30, 2007 8:21 pm
Forum: PureFORM & JaPBe
Topic: PureFORM 1.99 (yet another FORM designer)
Replies: 1537
Views: 599226

LOL

You were right

F9 was the culprit. Some coffee was there. :D

That things happens when you are a cofffee addict. :D:D

Many thanks for your help.
Now I will begin to enjoy it :)

Regards!!
by raska
Sun Sep 30, 2007 4:38 am
Forum: PureFORM & JaPBe
Topic: PureFORM 1.99 (yet another FORM designer)
Replies: 1537
Views: 599226

PBForm got frozen

Hello:

I just downloaded your PureBasic Form Editor and after to execute it, it just got frozen.

When run, it shows a window telling that there is no preferences, I just click OK and then all got opened, but ...

- The only Windows able to do something are the Gadget Group Window, that only permit ...
by raska
Wed Sep 13, 2006 7:24 pm
Forum: Coding Questions
Topic: Fast search in files
Replies: 3
Views: 761

Thanks Trond,

i will try to play with the memory commands. I had no idea of those commands.

Btw, I found the function I was looking for. It speed the program a lot.

when the line containing "v " is found I only need to make this to get the values: :D

dx$=StringField(a$,2," ")
dy$=StringField(a ...
by raska
Wed Sep 13, 2006 4:19 pm
Forum: Coding Questions
Topic: Fast search in files
Replies: 3
Views: 761

Answering myself.....

Sorry for the mistake...

I was testing the file with the debugger on..

Now, it takes just 1 second to compare 2 files 10 meg big. LOL

What a beatiful speed. :D

I will continue testing this thing and if all is as good as this, one more PB addict will be soon here. :D ...
by raska
Wed Sep 13, 2006 2:08 pm
Forum: Coding Questions
Topic: Fast search in files
Replies: 3
Views: 761

Fast search in files

Hi:

I am just making a try to get how fast PB can be making some comparations searching in 2 files at time...

I've tested the ReadString command and it is fast enough, but when looking for words in the line the process is slow...

My question is if there is some instruction to get the words in a ...