Search found 180 matches

by ale870
Thu Oct 09, 2014 7:19 am
Forum: Coding Questions
Topic: Web Viewer: how to get image link inside an anchor
Replies: 3
Views: 2381

Re: Web Viewer: how to get image link inside an anchor

if I understand you correctly, you are trying to grab an image from an HTML page - one that is encapsulated by an anchor.

you'll need to grab the complete text of the anchor; that is, everything between the <a> and </a>
as most images in html are referenced as a link in their SRC attribute, like ...
by ale870
Wed Oct 08, 2014 7:01 pm
Forum: Coding Questions
Topic: Web Viewer: how to get image link inside an anchor
Replies: 3
Views: 2381

Web Viewer: how to get image link inside an anchor

Hello,

i wish to use Web widget to navigate to a web page, then I wish to get the http address of an image. The problem is this image is inside an anchor. So how can I get image url and not anchor url?

Thank you for your help!
by ale870
Sun Jan 25, 2009 7:58 pm
Forum: Announcement
Topic: PureGDK - 3D Programming for PureBasic
Replies: 346
Views: 166579

Well, follow these steps...

1) You open a new window, and open it to cover all the screen.

If you do that, it means that if you have a screen resolution at 1680x1050 (my screen resolution), you will open a window so big (1680x1050).

2) Draw a 640x480 in a back-buffer, then show it on the screen ...
by ale870
Sun Jan 25, 2009 7:11 pm
Forum: Announcement
Topic: PureGDK - 3D Programming for PureBasic
Replies: 346
Views: 166579

I talked with Mistrel some times ago.
I even red somewhere else in internet that full screen-exclusive mode is not really needed, since most graphic cards now work well in this mode.
The problem could be you are setting a resolution not well managed by your graphic card.

Try to "ask" to your card ...
by ale870
Sun Jan 25, 2009 6:19 pm
Forum: Announcement
Topic: PureGDK - 3D Programming for PureBasic
Replies: 346
Views: 166579

Mistrel, one question (I even need a suggestion):

1) Which Newton Engine are you implmenting (I cannot find version number in your posts)?

2) I worked, until now, using Dark Physics Ageia, but I have serious problems in vehicles (I made some tests using Dark Basic Pro). In fact, there are some ...
by ale870
Sun Jan 25, 2009 6:11 pm
Forum: Announcement
Topic: PureGDK - 3D Programming for PureBasic
Replies: 346
Views: 166579

Did you try to use non exclusive full screen using the "old" method?

See here (I use it):

Procedure SetResolution(Width, Height, Depth, Flag=#CDS_FULLSCREEN)
Protected Result,dmScreenSettings.DEVMODE
dmScreenSettings\dmSize=SizeOf(DEVMODE)
dmScreenSettings\dmPelsWidth=Width
dmScreenSettings ...
by ale870
Sat Jan 24, 2009 12:15 am
Forum: Announcement
Topic: PureGDK - 3D Programming for PureBasic
Replies: 346
Views: 166579

Now I get, using this procedure:

Procedure ErrorHandler()
description.s=GetErrorDescription()
module.s=GetErrorModuleName()
string.s+dbGetErrorDescription(@description.s)+#CRLF$
string.s+"Line: "+Str(GetErrorLineNR())+#CRLF$
string.s+"AFile: "+dbGetErrorFilename(@module.s)+#CRLF ...
by ale870
Fri Jan 23, 2009 11:42 pm
Forum: Announcement
Topic: PureGDK - 3D Programming for PureBasic
Replies: 346
Views: 166579

Ok, solved (I forgot to install Dark basic 7.1 :-)
by ale870
Fri Jan 23, 2009 11:03 pm
Forum: Announcement
Topic: PureGDK - 3D Programming for PureBasic
Replies: 346
Views: 166579

Hello,
first of all: thank you!
I just downloaded it and upgraded PureBasic.

Now I tried to install it but I get an installation error:

Couldn't copy the file.
c:\program files\The game creators\Dark basic online\compiler\effects\quad.fx


EDIT: I have no "quad.fx" file inside.
by ale870
Thu Jan 22, 2009 10:16 pm
Forum: Announcement
Topic: PureGDK - 3D Programming for PureBasic
Replies: 346
Views: 166579

I'm sorry but I cannot reproduce it now, since I have no other pc (clean).
I'm sure no media is missing, since I made everything inside current dir, and if I copy program + other files in a new dir (in my computer) everything works.
Now I'm asking to a friend of mine to make a test.
I hope he will ...
by ale870
Thu Jan 22, 2009 10:08 pm
Forum: Announcement
Topic: PureGDK - 3D Programming for PureBasic
Replies: 346
Views: 166579

Hello,

I made a demo but I cannot distribute the program. It seems something (like dll) is missing, but I cannot detect which is missing.
Consider I'm using advanced terrain and dark physics.

Do I need to distribute dll?
by ale870
Wed Jan 21, 2009 10:58 pm
Forum: Announcement
Topic: PureGDK - 3D Programming for PureBasic
Replies: 346
Views: 166579

Ok, I see.
Now I have no more main loop - sync() inside a DLL.

But I will be able to test heavily concurrency, since my game is heavily multi-thread (multi core) based on.
by ale870
Wed Jan 21, 2009 10:44 pm
Forum: Announcement
Topic: PureGDK - 3D Programming for PureBasic
Replies: 346
Views: 166579

Mistrel, please explain me what can I do to help you.

Basically, my game will include HEAVY multithreading usage, parallel processes (I need to connect several separate processes to connect main game with newLisp engine). Furthermore, every newLisp engine is used as a DLL.

So...


MAIN_GAME ...
by ale870
Wed Jan 21, 2009 10:08 pm
Forum: Announcement
Topic: PureGDK - 3D Programming for PureBasic
Replies: 346
Views: 166579

Thank you!
Thread safe will be one of the best features for me, since I don't like Dark Basic since there are huge problems in multithreading, and now multi-threading is a key-feature for a SDK for games (multi-CPU and multi-core usage).

Thank you.
by ale870
Wed Jan 21, 2009 9:52 pm
Forum: Announcement
Topic: PureGDK - 3D Programming for PureBasic
Replies: 346
Views: 166579

Mistrel, one question:
I noticed that DarkPhysics is not thread-safe (I'm making some physics update in a separated thread), and my program crash when I recall dbPhyUpdate()

Can you tell me if next PureGDK version support thread-safe implementation in Dark Physics?

Thank you.