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 / call a dll

Author
Message
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 15th Mar 2006 06:16 Edited at: 15th Mar 2006 06:20
im sorry if this is the wrong place to post, but this is what i need to know...
what is the command within a DLL (using C++) that will allow it to be called by its command?

please help, if this is the wrong place to post, i'll post in another forum.

thanks

[EDIT] Is it "dll.call"? if it is, how would i use that, i'm not using anything but the <iostream> or <windows.h> programs, so nothing extra.

thanks again.

DarkSONIC -signatures change quickly...
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 15th Mar 2006 10:59
No, its not dll.call - whatever that is.

Assuming your refering to exporting functions, so that they will be availiable from another DLL or executable, you need something like :

__declspec(dllexport) for exporting functions

and __declspec(dllimport) for importing them - these are usually set in headers, like :

#ifdef DATAENTRY_EXPORTS
#define DATAENTRY_API __declspec(dllexport)
#else
#define DATAENTRY_API __declspec(dllimport)
#endif

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 15th Mar 2006 14:30
Quote: "dll.call"


hehe

FREE Automatic file updates for your distributed Games and Apps - see Program Announcements Forum - DBP Demo
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 17th Mar 2006 03:35
thanks! that should help alot!

now i can make my dlls!

DarkSONIC -signatures change quickly...

Login to post a reply

Server time is: 2024-11-21 23:47:18
Your offset time is: 2024-11-21 23:47:18