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 / creating dll's in visual c++2005 express

Author
Message
all of the above
17
Years of Service
User Offline
Joined: 2nd Sep 2007
Location: Anywhere an elf or kithkin may be hiding
Posted: 3rd Sep 2007 06:04 Edited at: 4th Sep 2007 20:42
Anyone have any links to resources on how to create dll's (title)? I'd like to learn, but visual c++ 6 isn't available anymore, an I downloaded express 2005. *feels like a total noob*

EDIT: What I am trying to do is create a command allowing me to create an error box. Here are my files:

Header

And my source file:

Every time I build it it gives me an error for line 9 of the header file: syntax error; char should be preceded by ':'
Also, the Third Party Commands Tutorial should be updated. Visual C++ 6 isn't available anymore.
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 9th Sep 2007 14:12
@all of the above
You can use my DBPPluginSDK for MSVC++ 2005/2008 if you like. It appears to work pretty good in MSVC++ 2008.


Cheers,

-naota

DBP, $80. DBP's plugins, $320. Watching DBP Crash, Priceless.
NG Website Aex.Uni forums
all of the above
17
Years of Service
User Offline
Joined: 2nd Sep 2007
Location: Anywhere an elf or kithkin may be hiding
Posted: 9th Sep 2007 22:09
Thank you so VERY much Aaron! You have saved me so much confusion (and over 1.5 gigs of C: space!) with your plugin! Not to mention, with your references to c++ tutes, I can learn more. Maybe sometime I could learn how to mess around with DirectX...
Raven
19
Years of Service
User Offline
Joined: 23rd Mar 2005
Location: Hertfordshire, England
Posted: 15th Sep 2007 18:42
DBP doesn't understand namespaces, so you have to link them as either a standard c extern or just with declspec itself.

there's documentation about it and examples in you're dbp documentation

ionstream
20
Years of Service
User Offline
Joined: 4th Jul 2004
Location: Overweb
Posted: 22nd Sep 2007 21:34
Holy crap, googling "msvc++ 2008" brings up this thread as the first entry!

That's not as bad as you think you said.

Login to post a reply

Server time is: 2024-11-22 22:54:52
Your offset time is: 2024-11-22 22:54:52