SEAL Forum Index SEAL
The SEAL Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

installer / uninstaller for dos

 
Post new topic   Reply to topic    SEAL Forum Index -> Programming Related
View previous topic :: View next topic  
Author Message
dr_linux



Joined: 10 Jun 2002
Posts: 45
Location: Germany

PostPosted: Sat Jul 20, 2002 1:02 am    Post subject: installer / uninstaller for dos Reply with quote

is there any installer combined with an uninstaller in the world? i can't find anyone in the web ( freeware! ).
Back to top
View user's profile Send private message Visit poster's website
_xduffy_
Administrator


Joined: 15 Mar 2002
Posts: 894
Location: Sweden

PostPosted: Sat Jul 20, 2002 7:12 am    Post subject: Reply with quote

No, I don't think so...

There was a project to create a package management system like rpm and deb it's name was fdpm freedos package management, and it would take care of install/uninstall issues... But I don't think they ever got anywhere...
_________________
http://xduffystuff.sourceforge.net/Desktop/
www.xduffy.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
dr_linux



Joined: 10 Jun 2002
Posts: 45
Location: Germany

PostPosted: Wed Jul 24, 2002 2:15 am    Post subject: Reply with quote

ok ... i'm writing now the installer (self-extracting exe) and have problem, because i'm a beginner with c and c++, so i have some simple (maybe funny) questions that came over me, when i noticed, that's not a simple job to write a installer and unistaller:
> i know, that in java you can make classes. these are libs in c, right?
> how can i make a header file and the lib file?
> how can i compile these files?
> what must i consider writing these files?
Back to top
View user's profile Send private message Visit poster's website
dr_linux



Joined: 10 Jun 2002
Posts: 45
Location: Germany

PostPosted: Thu Jul 25, 2002 4:13 am    Post subject: Reply with quote

hello? ... is there anybody? ... ... nobody talks with me ... ... ok! ... ... i will go ... ... and buy a book for beginners (i hate this word ) at amazon ...
Back to top
View user's profile Send private message Visit poster's website
WinstonEwert



Joined: 11 Jun 2002
Posts: 27
Location: Bug Land

PostPosted: Thu Jul 25, 2002 12:18 pm    Post subject: Reply with quote

i know, that in java you can make classes. these are libs in c, right?
um.. Well i haven't done much java but i really doubt it. A lib in c/c++ is a bunch of functions, classes, structs whatever which you link into your main program.

> how can i make a header file and the lib file?
save the header file with a .h extension add the line #include "header.h" in the files where you need the headers.
> how can i compile these files?
gcc -c prog.c
gcc -c lib.c
gcc prog.o lib.o -o prog.exe
> what must i consider writing these files?
Back to top
View user's profile Send private message
dr_linux



Joined: 10 Jun 2002
Posts: 45
Location: Germany

PostPosted: Thu Jul 25, 2002 1:20 pm    Post subject: Reply with quote

thanks! that's what i wanted to know ... Mr Green
Back to top
View user's profile Send private message Visit poster's website
ganesh



Joined: 11 Jul 2002
Posts: 133
Location: Vancouver, BC, CA

PostPosted: Thu Jul 25, 2002 2:19 pm    Post subject: Reply with quote

Quote:

> i know, that in java you can make classes. these are libs in c, right?


Not quite. You can make classes in C++. In C they are structs. Lib is a groups of object code together in a .a file with ar.

Quote:

> how can i make a header file and the lib file?


Put your function prototypes into the header file. Also put

Code:

#ifndef __HEADER_FILE__
#define __HEADER_FILE__

//prottypes here

#endif


Quote:

> how can i compile these files?


gcc -c foo.c -o foo.o
gcc foo.o -o foo.exe

Quote:

> what must i consider writing these files?


Cross compatibility. Send the sources to me and Ill review them and see if I can put it into SEAL itself.
_________________
Ganesh lives @
www.iamganesh.com
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
dr_linux



Joined: 10 Jun 2002
Posts: 45
Location: Germany

PostPosted: Sun Jul 28, 2002 10:14 pm    Post subject: Reply with quote

thanks ganesh! i have a question related to the cross compatibility: is there also a conio.h library under linux?
Back to top
View user's profile Send private message Visit poster's website
ganesh



Joined: 11 Jul 2002
Posts: 133
Location: Vancouver, BC, CA

PostPosted: Mon Jul 29, 2002 12:15 am    Post subject: Reply with quote

Nope. No conio.h. You will have to use escape sequences to get the same effect. If doubt if even cprintf works.

If you are writing code, please publish the engine first. UI is immaterial.
_________________
Ganesh lives @
www.iamganesh.com
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    SEAL Forum Index -> Programming Related All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group