Results 1 to 10 of 10

Thread: *.h

  1. #1

    Thread Starter
    Addicted Member ZanM's Avatar
    Join Date
    Oct 1999
    Location
    The here and now.
    Posts
    191

    *.h

    ok, say i hate windows and windows API and I want to use none of the VC++ .h file or VC++ at all and I am going to use some free C++ compiler today what *.h files could I get/find/use to make windows and do allot of the stuff Win32 API does for me? and what if what if i go crazy and want to write software for Win32, Linux, Mac, Unix, Solaris and have it all in one *.exe file, how would i do this?

    Thanks
    Magiaus
    Visual Basic 6.0 SP5
    Visual C++ 6.0 SP5


    The only sovereign you can allow to rule you is reason.

  2. #2
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    you want to write your own api?????

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

  3. #3
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827

    Re: *.h

    Originally posted by ZanM
    ok, say i hate windows and windows API and I want to use none of the VC++ .h file or VC++ at all and I am going to use some free C++ compiler today what *.h files could I get/find/use to make windows and do allot of the stuff Win32 API does for me? and what if what if i go crazy and want to write software for Win32, Linux, Mac, Unix, Solaris and have it all in one *.exe file, how would i do this?

    Thanks
    Do you want to write your own functions (API) to create and work with different windows(a bunch of pixels)?
    You need to know asm for access and working with the BIOS video memory. Even when you draw pixels on the screen, you, sometime, use DOS interrupt(s) in the asm, which will not work on any other OS.

    BTW, you can't directly call interrupts in VC++
    Baaaaaaaaah

  4. #4

    Thread Starter
    Addicted Member ZanM's Avatar
    Join Date
    Oct 1999
    Location
    The here and now.
    Posts
    191

    Re:Re: *.h

    no I was just curious to see if anybody thought it could be done without the API I had assumed it could not. as far a Pset type stuff goes yeah i would do it and I'm learning asm right now along with c++. i have this crazy nothin of making my resume in to a OS that runs on cd

    i.e. they put in the cd or floppy and it boots to a gui with my resume and a bunch of sample applications and so on......
    Magiaus
    Visual Basic 6.0 SP5
    Visual C++ 6.0 SP5


    The only sovereign you can allow to rule you is reason.

  5. #5
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    just curious, whats wrong with the API?

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

  6. #6

    Thread Starter
    Addicted Member ZanM's Avatar
    Join Date
    Oct 1999
    Location
    The here and now.
    Posts
    191

    nothing

    i love it (when it works right) I have been using it to make vb a better tool for years but sometimes I wake up in the middle of the night in a cold sweet because I had that dream about Bill pointing and laughing and saying I own you hahahahaha I own the world

    so maybe i never had that dream but who says you didn't
    Magiaus
    Visual Basic 6.0 SP5
    Visual C++ 6.0 SP5


    The only sovereign you can allow to rule you is reason.

  7. #7
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827

    Re: nothing

    Originally posted by ZanM
    i love it (when it works right) I have been using it to make vb a better tool for years but sometimes I wake up in the middle of the night in a cold sweet because I had that dream about Bill pointing and laughing and saying I own you hahahahaha I own the world

    so maybe i never had that dream but who says you didn't
    So, basically, you'll have to write everything API, that runs on all OSs, yourself.
    Draw everything pixel by pixel, and create fancy windows so you are not using any OS API.
    Baaaaaaaaah

  8. #8
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340

    Re: nothing

    Originally posted by ZanM
    i love it (when it works right) I have been using it to make vb a better tool for years but sometimes I wake up in the middle of the night in a cold sweet because I had that dream about Bill pointing and laughing and saying I own you hahahahaha I own the world

    so maybe i never had that dream but who says you didn't
    thats not as scary as all the code you would have to write.

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

  9. #9

    Thread Starter
    Addicted Member ZanM's Avatar
    Join Date
    Oct 1999
    Location
    The here and now.
    Posts
    191

    not entirely true

    i can use routines already defined if i really wanted to linux is open source i could pick through it and find what o need and mod it a little then use it

    like i'll every get the time anyway i have a wife and a kid and my wife hates it when i program at home
    Magiaus
    Visual Basic 6.0 SP5
    Visual C++ 6.0 SP5


    The only sovereign you can allow to rule you is reason.

  10. #10
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    You can't program windows without the API. You simply can't. At least not unless you know the source code of windows and understand it thoroughly. And even then it's damn hard.
    I don't know where to get instructions what is possible with linux, but I am sure there is one somewhere in the internet. There also should be APIs for things like KDE, window maker, WAPI (a linux emulation of the WIN API) etc. But it is the same here: you nearly can't avoid the API.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width