[ Home  |  FAQ-Related Q&As  |  General Q&As  |  Answered Questions ]


    Search the Q&A Archives


Consider a case,ive written a small Graphics Programming...

<< Back to: comp.os.msdos.programmer FAQ part 5/5

Question by somasundaram
Submitted on 8/22/2003
Related FAQ: comp.os.msdos.programmer FAQ part 5/5
Rating: Not yet rated Rate this question: Vote
Consider a case,ive written a small Graphics Programming Using "Borlandc C" which initializes the graphics system.when
i transfer the .exe file to another system its looking for .BGI files and .CHR files

where as i wish Bind all these graphics version .LIB files or .H files along with my .EXE itself,thus to avoid copying .BGI files also along with .EXE file...

Ive tried using IMPLIB and all the borlandc "C" stuffs,nothing works for this..
but ive seen an executable which has all CGA and VGA graphics drivers statically compiled.and working with out the external presence of these Graphics Device Drivers ??
Any way out to do this ??


Answer by Ashutosh_trappedvector
Submitted on 3/1/2004
Rating: Not yet rated Rate this answer: Vote
Copying the .lib or .h files will not work as the graphics routines from the pre-compiled .lib files is embedded into the resulting exe.
        To achieve what you want use the functions -

      :registerbgifont( char *fontname);  
      :registerbgidriver(char drivername);

for proper documentation look in the help file.
    Tell me of the results.

ashu_indian2001@yahoo.com


 

Answer by vicky
Submitted on 3/9/2004
Rating: Not yet rated Rate this answer: Vote
Nothing

 

Your answer will be published for anyone to see and rate.  Your answer will not be displayed immediately.  If you'd like to get expert points and benefit from positive ratings, please create a new account or login into an existing account below.


Your name or nickname:
If you'd like to create a new account or access your existing account, put in your password here:
Your answer:

FAQS.ORG reserves the right to edit your answer as to improve its clarity.  By submitting your answer you authorize FAQS.ORG to publish your answer on the WWW without any restrictions. You agree to hold harmless and indemnify FAQS.ORG against any claims, costs, or damages resulting from publishing your answer.

 

FAQS.ORG makes no guarantees as to the accuracy of the posts. Each post is the personal opinion of the poster. These posts are not intended to substitute for medical, tax, legal, investment, accounting, or other professional advice. FAQS.ORG does not endorse any opinion or any product or service mentioned mentioned in these posts.

 

<< Back to: comp.os.msdos.programmer FAQ part 5/5


[ Home  |  FAQ-Related Q&As  |  General Q&As  |  Answered Questions ]

© 2008 FAQS.ORG. All rights reserved.