You know what guys... this is a good forum... the FASM one has no support compaired to here... i have only asked two questions there and neither one answered...

i know this is not a linux forum at all but maybe one of you know the answer..

struct _GtkFileSelection
{
/*< private >*/
GtkDialog parent_instance;

/*< public >*/
GtkWidget *dir_list;
GtkWidget *file_list;
GtkWidget *selection_entry;
GtkWidget *selection_text;
GtkWidget *main_vbox;
GtkWidget *ok_button;
GtkWidget *cancel_button;
GtkWidget *help_button;
GtkWidget *history_pulldown;
GtkWidget *history_menu;
GList *history_list;
GtkWidget *fileop_dialog;
GtkWidget *fileop_entry;
gchar *fileop_file;
gpointer cmpl_state;

GtkWidget *fileop_c_dir;
GtkWidget *fileop_del_file;
GtkWidget *fileop_ren_file;

GtkWidget *button_area;
GtkWidget *action_area;

/*< private >*/
GPtrArray *selected_names;
gchar *last_selected;
};

the above is a GCC Stuc example i need it converted into a FASM Struc formant..

also i need help converting a C file into ASM

/* example-start filesel filesel.c */

#include <gtk/gtk.h>

/* Get the selected filename and print it to the console */
void file_ok_sel( GtkWidget *w,
GtkFileSelection *fs )
{
g_print ("%s\n", gtk_file_selection_get_filename (GTK_FILE_SELECTION (fs)));
}

int main( int argc,
char *argv[] )
{
GtkWidget *filew;

gtk_init (&argc, &argv);

/* Connect the ok_button to file_ok_sel function */
gtk_signal_connect (GTK_OBJECT (GTK_FILE_SELECTION (filew)->ok_button),"clicked", (GtkSignalFunc) file_ok_sel, filew );


gtk_widget_show(filew);
gtk_main ();
return 0;
}

if any of you can help please do..
Posted on 2003-10-31 18:59:09 by devilsclaw