Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Microsoft Visal C++ Express 2005

Author
Message
Kenjar
18
Years of Service
User Offline
Joined: 17th Jun 2005
Location: TGC
Posted: 25th Nov 2005 23:44
Hi all. I've just heard that MS are giving away express versions of their popular visual studio software. Anyway my question is, can Visual C++ 2005 express be used to write DLL's for DarkBASIC Pro? I'm very new too all of this, and need to make sure that I'm using the correct language or I'm just wasting my time learning it.


Run before you can walk, always raise the stakes higher, always keep moving, because you never know who's catching up.
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 26th Nov 2005 08:23
It appears the DLL option is missing, so you may not be able to.

BealziBob
19
Years of Service
User Offline
Joined: 9th Jul 2004
Location: The Grim North (UK)
Posted: 26th Nov 2005 18:38
Also, if you read the small print, the free beta versions will stop working fully sometime next year. Which portions will deactivate themselves I don't know, but you can bet it will be the compiler.


Just a casual observer.
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 26th Nov 2005 20:17
Don't know anything about the 'beta' versions, but express will work forever as long as it's registered. The free download however will be stopped in a years time.

For free Plug-ins and source code http://www.matrix1.demon.co.uk
Seppuku Arts
Moderator
19
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 26th Nov 2005 21:38
No you can't, thats a removed feature of the Express versions

Your signature has been erased by a mod because it's larger than 600x120...
Habatar
19
Years of Service
User Offline
Joined: 9th Aug 2004
Location: Madrid (Spain)
Posted: 28th Nov 2005 07:55
I have made a DLL whit Visual Studio 2005 Express.
First, you need to install the Microsoft Platform Software Development Kit (SDK).
See this instrucctions:
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 28th Nov 2005 09:41
TKF15H
20
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 29th Nov 2005 14:22
You can make DLLs in MSVC2005 Express beta 2, haven't tried the latest one though.
Click on New project, select Console App, click "Next" (rather than Finish) and then a few options will show up, "DLL project" being one of them.

WarBasic Scripting engine for DarkBasicPro
DC emulator code size: 14.3MB, 553,214 lines
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 29th Nov 2005 14:35
Ooh, thats why I was having trouble - the Express version wont create DLL's (the option is greyed out).

Habatar
19
Years of Service
User Offline
Joined: 9th Aug 2004
Location: Madrid (Spain)
Posted: 29th Nov 2005 15:35
When you install correctly the Microsoft Platform Software Development Kit (SDK), you can create a DLL as TKF15H said, but this DLL dont work correctly whit DBP.

I recommend open the TESTCOMMANDS VC6 proyect that come whit DarkBasicPro and convert to MSVS 2005 Express.
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 29th Nov 2005 16:17
Ah - so the DLL creation needs some part of the PSDK then - do you know which part - got most of it installed...

Habatar
19
Years of Service
User Offline
Joined: 9th Aug 2004
Location: Madrid (Spain)
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 30th Nov 2005 09:59
Unfortunately I dont have enough disk space for everything, on the machine that has 2005...

Habatar
19
Years of Service
User Offline
Joined: 9th Aug 2004
Location: Madrid (Spain)
Posted: 30th Nov 2005 12:40

Is a lot of Space.
My Visual Studio= 625 MB
My Plataform SDK = 900 MB
Total = 1525
Mason
20
Years of Service
User Offline
Joined: 20th Mar 2004
Location: Arizona
Posted: 8th Dec 2005 00:38
How big is your hardrive I am greatest fan? I'm downloading the Sdk right now, but I'm only half way through my first c++ book (C++ Primer 4th edition) so I probably won't know enough c++ yet .


Check out Penguin in the Projects Section!!!
http://www.prodigyarts.5gigs.com
Antdizzle
20
Years of Service
User Offline
Joined: 6th Mar 2004
Location: Las Vegas
Posted: 8th Dec 2005 08:24
There is no make DLL project for VS2005 that I know of. But to make a DLL you need to specify that in your project properties. Start with an empty project and change the configuration type from .exe to .dll. Press ALT+F7 to get the properties window, and then press configuration properties.
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 8th Dec 2005 08:49
Its a 9 GB hard drive (yes, it really is small)...

Habatar
19
Years of Service
User Offline
Joined: 9th Aug 2004
Location: Madrid (Spain)
Posted: 8th Dec 2005 13:33
My HD is 80 GB and are full.
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 11th Dec 2005 01:37
DLLs can be made if config files are modified.

JoelJ
20
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 14th Dec 2005 05:22
in my copy of C++ VS2005 express, you say new project, CLR -> Class library.

Will those libraries not work with DBP?

Appointed by Jimmy as "MR. GAME REVIEW WIZARD GUY"
IanG
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 14th Dec 2005 17:28 Edited at: 14th Dec 2005 17:30
i'm sure a class lib is a .net dll - the clr part makes me think that as the common language runtime is a .net thing - in case you didn't know, .net dlls won't work with dbpro, you need to use unmanaged dlls


amd athlon xp 2600+,1280mb,FX 5200 128mb,200gb,xp pro sp2
TKF15H
20
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 19th Dec 2005 23:07
I've used MSVC2005 to make DBP plugins before, they work fine... if you manage to enable the DLL option. Had to edit one of the configuration files to do that, I think. Don't remember anymore.

WarBasic Scripting engine for DarkBasicPro
DC emulator code size: 14.3MB, 553,214 lines
Scilynt
21
Years of Service
User Offline
Joined: 13th Nov 2002
Location: .-#-.
Posted: 20th Dec 2005 02:44
You can follow the steps here to enable Win32 application building (including DLLs).
Three Score
19
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 21st Dec 2005 23:45
Does the compiler support making dll's because im using an alternative ide(codeblocks) which is fully compatable with the toolkit and can detect msvc as it but will it all work right?

tutorials,programs,useful but simple php scripts, a place for code snipplets and more at
http://hackr83.0z0.co.uk
(still under construction)
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 8th Mar 2006 17:08 Edited at: 9th Mar 2006 22:39
I'm using VS Express to create DBP dlls. It's working so far (although I am having some trouble with strings. *EDIT* I will get there though. I'm new to all this DLL stuff, although I am quite fluent in C++.

EDIT: I AM having trouble with Express. I'm sure it's the complete lack of MFC that is causing my problems. (Although I guess I don't really NEED MFC).

Login to post a reply

Server time is: 2024-05-09 17:09:56
Your offset time is: 2024-05-09 17:09:56