
Search found 6 matches
- Fri Mar 13, 2015 1:22 pm
- Forum: Coding Questions
- Topic: Structure as a procedure parameter
- Replies: 6
- Views: 2693
Re: Structure as a procedure parameter
Thank you Shardik, I don't know how I missed that! Now it works nicely 

- Fri Mar 13, 2015 12:30 pm
- Forum: Coding Questions
- Topic: Structure as a procedure parameter
- Replies: 6
- Views: 2693
Structure as a procedure parameter
Hello,
Here is a simplified example to show the problem I'm having :
Structure Config
Colour$
EndStructure
Procedure showSettings(*settings.Config)
MessageRequester("", *settings\Colour$)
EndProcedure
Procedure updateSettings(*settings.Config)
*settings\Colour$ = "blue"
showSettings ...
Here is a simplified example to show the problem I'm having :
Structure Config
Colour$
EndStructure
Procedure showSettings(*settings.Config)
MessageRequester("", *settings\Colour$)
EndProcedure
Procedure updateSettings(*settings.Config)
*settings\Colour$ = "blue"
showSettings ...
- Mon Nov 28, 2011 2:00 pm
- Forum: Coding Questions
- Topic: [PB 4.60] GetActiveGadget doesn't give the right value ?
- Replies: 2
- Views: 947
Re: [PB 4.60] GetActiveGadget doesn't give the right value ?
Thanks idle, I get the idea 

- Thu Nov 24, 2011 11:18 am
- Forum: Coding Questions
- Topic: [PB 4.60] GetActiveGadget doesn't give the right value ?
- Replies: 2
- Views: 947
[PB 4.60] GetActiveGadget doesn't give the right value ?
Hi,
I'm writing a cross-platform program (Windows/Linux), it works as expected in Windows, however in Linux I'm running into some trouble with GetActiveGadget.
This is with PureBasic 4.60 x86 Final, with Arch LInux.
Here is a simplified program to show the trouble :
Enumeration
#Window_0 ...
I'm writing a cross-platform program (Windows/Linux), it works as expected in Windows, however in Linux I'm running into some trouble with GetActiveGadget.
This is with PureBasic 4.60 x86 Final, with Arch LInux.
Here is a simplified program to show the trouble :
Enumeration
#Window_0 ...
- Sun Jul 11, 2010 5:12 pm
- Forum: Linux
- Topic: missing libpng12.so.0 ?
- Replies: 9
- Views: 4514
Re: missing libpng12.so.0 ?
Thanks, that will be useful ! 

- Mon Mar 15, 2010 6:13 pm
- Forum: Linux
- Topic: missing libpng12.so.0 ?
- Replies: 9
- Views: 4514
Re: missing libpng12.so.0 ?
Glad to find a fellow Arch Linux and PureBasic user
I had the same trouble, and created a symbolic link, but it still doesn't work

I had the same trouble, and created a symbolic link, but it still doesn't work

Code: Select all
./purebasic: /usr/lib/libpng12.so.0: version `PNG12_0' not found (required by ./purebasic)