Very nice work. I tried OOP myself with instances in linkedlist, but your solution is more sophisticated. I altered your example a little bit with my ideas, perhaps you could improve your code with it.
Greetings
Leo
; POO_Heritage.pb [http://drac.site.chez.tiscali.fr/Tutorials Programming ...
Search found 21 matches
- Fri May 13, 2005 7:17 pm
- Forum: Announcement
- Topic: Tutorial: PureBasic and the OOP
- Replies: 34
- Views: 16966
- Tue Mar 15, 2005 10:38 am
- Forum: Off Topic
- Topic: SHA1 Cracked :P
- Replies: 13
- Views: 3474
The use of MD5 or SHA1 for integrity checks is no problem. But as Rescator wrote for (X.509) certificates there will be. Depending on the needed securitylevel (e.g. for financial transactions) MD5 should not be used and SHA1 is not recommended for future use. The end of the SHA1 life cycle is in the ...
- Sun Mar 13, 2005 3:10 pm
- Forum: Tricks 'n' Tips
- Topic: Throw with Rings TryError Library (Exception Handling)
- Replies: 1
- Views: 1537
Throw with Rings TryError Library (Exception Handling)
With the TryError (Try and Catch) library of Rings it is also easy to implement Throw. With Throw you can trigger an exception in a (nested) procedure and process the exception at the mainlevel (the GUI level).
Below an example to play around. The Try and Catch library can be found at http://www ...
Below an example to play around. The Try and Catch library can be found at http://www ...
- Wed Mar 02, 2005 10:44 am
- Forum: Tricks 'n' Tips
- Topic: Outlook Gadget
- Replies: 11
- Views: 6225
- Fri Feb 04, 2005 2:47 pm
- Forum: Coding Questions
- Topic: ListBoxList, let Bill Gates do all the work
- Replies: 5
- Views: 1392
- Wed Feb 02, 2005 3:31 pm
- Forum: Coding Questions
- Topic: ListBoxList, let Bill Gates do all the work
- Replies: 5
- Views: 1392
ListBoxList, let Bill Gates do all the work
A hidden sorted ListBox (i.e. ListView Gadget) may be an alternative for
LinkedLists, Balanced Trees, Hashmaps, SkipList or Associative Arrays.
I made a simple example program to demonstrate that. In the ListBoxList
10.000 records are inserted consisting of a 4 character key (only lower
case ...
LinkedLists, Balanced Trees, Hashmaps, SkipList or Associative Arrays.
I made a simple example program to demonstrate that. In the ListBoxList
10.000 records are inserted consisting of a 4 character key (only lower
case ...
- Tue Feb 01, 2005 9:34 am
- Forum: Tricks 'n' Tips
- Topic: IncludeBinary for creating EXE out of Java Jar files
- Replies: 0
- Views: 1376
IncludeBinary for creating EXE out of Java Jar files
Code updated for 5.20+
Writing Java means often multiple Jar files and a batchfile to start the
Java program. Multiple files cause version control. To eliminate this problem you can easily convert these files to one executable with help of a small Purebasic Program using the IncludeBinary ...
Writing Java means often multiple Jar files and a batchfile to start the
Java program. Multiple files cause version control. To eliminate this problem you can easily convert these files to one executable with help of a small Purebasic Program using the IncludeBinary ...
- Mon Jan 31, 2005 1:19 pm
- Forum: Coding Questions
- Topic: Bypassing the clipboard
- Replies: 0
- Views: 664
Bypassing the clipboard
Sometimes you need to feed edit controls with a lot of text from a text file.
Using copy and paste is then enconveniant. I wrote a little program to overcome this inconveniance.
How does it work.
1. Open a txt file with the "Open Text File" button
2. Click the "GetContol" button and then click at ...
Using copy and paste is then enconveniant. I wrote a little program to overcome this inconveniance.
How does it work.
1. Open a txt file with the "Open Text File" button
2. Click the "GetContol" button and then click at ...
- Mon Jan 03, 2005 1:06 pm
- Forum: General Discussion
- Topic: PB for Windows binding to GTK?
- Replies: 34
- Views: 10718
- Mon Dec 20, 2004 1:53 pm
- Forum: Tricks 'n' Tips
- Topic: Using COM and SOAP to get temperature at XMethods
- Replies: 3
- Views: 2767
Using COM and SOAP to get temperature at XMethods
To promote the use of ActiveX and of Axend's InterfaceGenerator, I post here a small example how to use the pocketSOAP component that can be downloaded from http://www.pocketsoap.com/ The example retrieves the temperature from the http://services.xmethods.net:80/soap/servlet/rpcrouter site
For some ...
For some ...
- Thu Dec 09, 2004 2:27 pm
- Forum: Coding Questions
- Topic: OpenFileRequester with ZIP integration
- Replies: 2
- Views: 1463
OpenFileRequester with ZIP integration
Inspired by the OpenFileRequester_with_Preview from the CodeArchiv, I wrote a customized OpenFileRequester (and SaveFileRequester) with ZIP compression support. For the handling of the zipfiles I use the ZLIBWAPI.dll that can be downloaded from the www.zlib.org website. The following customizations ...
- Fri Nov 26, 2004 4:52 pm
- Forum: Tricks 'n' Tips
- Topic: Using COM and XMLRPC to get the time at Userland
- Replies: 9
- Views: 6461
- Fri Nov 26, 2004 4:37 pm
- Forum: Tricks 'n' Tips
- Topic: Using COM and XMLRPC to get the time at Userland
- Replies: 9
- Views: 6461
XMLRPC in PureBasic without COM
XMLRPC clients and servers can be easily written in purebasic without the use of components. The advantage is that only 1 executable has to be installed and no dll's or com's. I wrote a small OOish includefile that can be used to program XMLTPC clients or servers. The design is not fully OO and ...
- Mon Mar 29, 2004 7:20 pm
- Forum: Coding Questions
- Topic: PCSC Wrapper to access smartcards
- Replies: 1
- Views: 4033
PCSC Wrapper to access smartcards
Hello,
I wrote a little PCSC wrapper to access smartcards. Only the basic functions of the winscard.dll are implemented. I did use the Interface command that is new in PureBasic 3.81. The source code is listed below
;*******************************************************
;
; PureBasic : PCSC ...
I wrote a little PCSC wrapper to access smartcards. Only the basic functions of the winscard.dll are implemented. I did use the Interface command that is new in PureBasic 3.81. The source code is listed below
;*******************************************************
;
; PureBasic : PCSC ...
- Tue Jan 06, 2004 6:42 pm
- Forum: Coding Questions
- Topic: Activex coding
- Replies: 15
- Views: 8230