Results 1 to 7 of 7

Thread: A few questions

  1. #1
    wossname
    Guest

    A few questions

    1. Is it possible to write a DLL in DJGPP? And if so can it be called from VB?

    2. How much faster is a compiled PowerBasic app than a VB one? Is it comparable in speed to C++?

    3. How the hell do I add a form to a new VC++ Win32 App? I can't seem to find any reference to forms, controls or anything like that that I have become used to having in the VB IDE. All I want to do is have a small form and a couple of buttons on it. is that too much to ask?

    Damn you MS, damn you to heck!

    *sob* *bawl*

  2. #2
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    the only visual part of creating a program in C++ is if you use mfc...which everyone on here will tell you not to use. If you use the API everything is in code....no putting forms on graphically

  3. #3
    wossname
    Guest
    Bummer

    Anyone have answers to 1 and 2?

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    1. You might manage it, but DJGPP is for DOS, not Windows.

    2. No idea.

    3. You can, if you use dialogues. Add a new resource script and...ah whaddaheck.

    http://www.parksie.uklinux.net/RawDlg.zip
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5
    jim mcnamara
    Guest
    PowerBasic PB/DLL is a lot faster than VB - orders of magnitude.
    For a lot of things it's also faster (not much) than C++.

    We had some PB code, so we've kept it up. It's actually faster (execution speed and development time) to make dll's with PB.
    Plus, ALL of the api's work with it, like C.

    The only downside -it's a decent product - is that it's not used much, so finding people experienced with it is hard. Plus, A lot of GUI stuff looks a bit different from the standard windows look - right out of the box. You have to tweak it.

    DJGPP won't make 32bit windows - Parksie must know something extra if he thinks there's a way.

  6. #6
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Originally posted by jim mcnamara
    DJGPP won't make 32bit windows - Parksie must know something extra if he thinks there's a way.
    I didn't say I thought there was a way, I said you might manage it

    Anyway, I see very little reason to program for DOS now - you get smaller programs coding for pure Windows/Linux/Irix/whatever.

    And graphics stuff is faster using HW acceleration than trying to do it yourself - the most optimised asm can't outperform a chip doing it (especially on an SG - damn those demos look good )
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  7. #7
    wossname
    Guest
    Parksie = Hero

    I'll have a look at those files after Christmas. Thanks man.

    I wonder if PB is available for free download? I'll go off and have a look on Google.

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