This Program was written to give a Linux user an Applet to access the data file the CARDFILE.EXE Windows 3.x applet creates: to edit, add, and delete cards. It is currently written in C, using the GTK widget set. Some modifications/completions required.
Be the first to post a text review of CardWin Windows 3.x CARDFILE Handler. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Try out this applet. It can read/write the Windows 3.x CARDFILE.EXE's '.CRD' file. There are some items that I haven't touched yet(graphics images in an entry, for one) but it's a start. The Gtk is a good language to program in, with callback parameters that are interesting to examine. More information to follow. So give it a try and let me know what you think. - C.
25 jun/2K - sub to calculate buffer length in Bytes 30 jun/2K - int altered var to indicate if changes made 26 Aug/2K - sub for file stat (Sam's text) 27 Aug/2K - move stat to main from file_exists sub. flen var 28 Apr/2K1 - Callbacks for menu segfaulting: parm error? 30 Apr/2K1 - Record section of menu works properly (gpointer) is OK 8 May 2K1 - rewrite menubar entries to call single sub, calling same Fn's as buttons 9 May 2K1 - AddCard sub to take index field. (req'd: chop length to 37 characters) 10 May 2K1 - CloseandAdd sub: set up dummy call from AddCard 18 May 2K1 - Rewrite some code to use list pointers for index, data 21 May 2K1 - And to get ready for AddCard's CloseandAdd to alter cardlist 21 May 2K1 - currstat sub for statdata info created 21 May 2K1 - can't copy ptr list for appending lists. use address instead 23 May 2K1 - eval_items sub for insertion of array elements 23 May 2K1 - re_sort sub to repopulate listbox with sized array items 23 May 2K1 - re_sort calculates index length, data start, end file (datpos+1) - indpos+1: start of file data 24 May 2K1 - ToggleButton sub to create Edit button 24 May 2K1 - make listbox a global for easier population 24 May 2K1 - entries not added properly?? re_sort gets garbage from new list entries 26 May 2K1 - corrected - g_strdup_printf allocates memory for strings properly 26 May 2K1 - UpdateData sub for editing of rdata array 27 May 2K1 - remove Edit button: not used 28 May 2K1 - AddCard focus to ndex object: gtk_widget_grab_focus() 1 Jun 2K1 - Checking array manipulation for node->data edit 3 Jun 2K1 - Card edit directed through l_select(). UpdateData sub unused 3 Jun 2K1 - Transients allow better window control for YesNo, ShowMessage subs 10 Jun 2K1 - separate parsebuf from get_card_data to allow parses from modification subs 15 Jun 2K1 - Identify AddCard as transient window for better placement. 16 Jun 2K1 - addcr and killcr subs to convert between DOS and Linux format strings 16 Jun 2K1 - start on savbuff, sub creating and filling new buffer for file storage 17 Jun 2K1 - savbuff works: parsebuf called at end, proper data adjustment 20 Jun 2K1 - DelCard calls CardOut for removal: removal problem caused by selected unit - fixed by setting first=TRUE to prevent reading in of current card. 20 Jun 2K1 - new buffers using g_list_free to clear data in CardOut, parsebuff 20 Jun 2K1 - change: get_card_data sub returns instead of exits on bad file 20 Jun 2K1 - New File in menu set to create pointer to 5 bytes, clear entries 24 Jun 2K1 - load & parse files properly 24 Jun 2K1 - remove flen from get_card_data parameters - sub finds length 28 Jun 2K1 - Add 'Altered' display to statdata window, multi-use statdata's head string
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?