Thread: GUIs and combining files

  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    31

    GUIs and combining files

    I'm still relatively new to C, so I'm no expert. However, I'd like to use some complied C programs in conjunction with programs I've made in higher level languages.

    For example, I've made a C program. I want to give it a GUI I've made in another language (don't know which one yet, open to suggestions). How would I do this (which would require them to share variables, I'm assuming)?

    Does C have something similar to AutoIt's FileInstall function that will let me embed an exe into my C program for later extraction?

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    You could create a DLL in C and create your app w/ GUI in another language, then call the DLL functions from the GUI code.
    How this can be done depends on what language you want to use other than C.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    Jan 2009
    Posts
    31
    Thank you!

Popular pages Recent additions subscribe to a feed