Search found 8 matches

by POedBoy
Thu Sep 30, 2004 8:13 pm
Forum: Coding Questions
Topic: Structures containing pointers to Structures
Replies: 6
Views: 1631

Thanks for the help guys.. :)
by POedBoy
Thu Sep 30, 2004 4:02 pm
Forum: Coding Questions
Topic: Structures containing pointers to Structures
Replies: 6
Views: 1631

I've converted the above procedure to your method, but I still get the same syntax error...

Procedure.l HTTP_Create()
Protected *hc.HTTP_Connection

;*hc = AddElement(HTTP_GlobalList())

If AddElement(HTTP_GlobalList())
*hc = @HTTP_GlobalList()
; ... etc
Else
Debug "Run out of memory ...
by POedBoy
Thu Sep 30, 2004 3:19 pm
Forum: Coding Questions
Topic: Structures containing pointers to Structures
Replies: 6
Views: 1631

Structures containing pointers to Structures

Hi all,

I have a procedure that 'creates' and returns a pointer to a structure. I've already tested that and it works fine on its own.

However, I'm having problems using this pointer within another structure. This will come back with syntax errors..(extraneous code snipped):

Structure HTTP ...
by POedBoy
Sat Aug 28, 2004 5:44 pm
Forum: Coding Questions
Topic: Pointers to structs / Problems ?
Replies: 3
Views: 1124

Thanks for the quick reply :D

That solves the garbage issue but creates a new one--- with static (or shared) it keeps referencing the same structure over and over... how can I instantiate new structs within the same procedure? Would i have to use an array or list?
by POedBoy
Sat Aug 28, 2004 5:27 pm
Forum: Coding Questions
Topic: Pointers to structs / Problems ?
Replies: 3
Views: 1124

Pointers to structs / Problems ?

Hi all,

I'm unsure whether this is a bug with pb or just me doing something stupid...I'm returning the address of a structure from a procedure. A couple issues arise.

With the debugger on, I seem to be getting garbage values within its member fields. With it off, things seem to be okay... ( on ...
by POedBoy
Fri Jun 18, 2004 9:48 am
Forum: Coding Questions
Topic: Show Desktop Node in ExplorerTree/List
Replies: 1
Views: 901

Show Desktop Node in ExplorerTree/List

Am I just being thick here?

I don't see a "built in" way of having the users desktop show up in either the explorer treeview or list gadgets. Is there any way around this within pure? And how would this be done using win32? I'm looking around on msdn, but I feel like I'm going around in circles ...
by POedBoy
Wed Jun 02, 2004 9:13 pm
Forum: Feature Requests and Wishlists
Topic: Procedures that can return structures
Replies: 9
Views: 2445

This would be *very* nice.
by POedBoy
Tue Jun 01, 2004 10:03 pm
Forum: Feature Requests and Wishlists
Topic: Ditch the INDEXING system - Use HANDLES
Replies: 13
Views: 3485

Hmmm........If I knew how to vote I would. Maybe the voting buttons don't show up in Opera :? *EDIT* now they show up :D *EDIT*

Anyways, I've been using blitz for a long time, and finally decided to purchase pure a couple of days ago. I prefer using handles to an indexing system, but with #PB_Any ...