|
-
Dec 23rd, 2001, 09:35 AM
#1
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*
-
Dec 23rd, 2001, 09:41 AM
#2
Frenzied Member
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
-
Dec 23rd, 2001, 10:07 AM
#3
Bummer 
Anyone have answers to 1 and 2?
-
Dec 23rd, 2001, 01:59 PM
#4
Monday Morning Lunatic
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
-
Dec 23rd, 2001, 02:20 PM
#5
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.
-
Dec 23rd, 2001, 02:25 PM
#6
Monday Morning Lunatic
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
-
Dec 24th, 2001, 11:18 AM
#7
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|