Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to link to external .dll files

Status
Not open for further replies.

Jason231

MIS
Apr 15, 2006
43
0
0
NL
Hi i want to write an application that make uses of some external .dll files. How i can obtain the list of functions inside the external .dll file if i do not have its source code? i want to make static or dynamic link between my program to those functions inside dlls
I be happy if some experets tell me how this can be then.Thanks
 
Try Visual Studio depends utility.
 
Well, that won't help you much... You will see a list of functions, but to call them, you also need to know their signatures, and that's the problem as far as you only have a dll. You either need to have a header file (C/C++ program) or some kind of a document (maybe help file) that describes the functions in that dll.

------------------
When you do it, do it right.
 
Thank u all for u replies. I have the follwing information about one of the functions . How i can use this function from with in my program? Which part is the function signature as u mentioned? May i know what is the format of function signature should be ?Thanks

Code:
211 DIALOGEX 0, 0, 156, 166, 0
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUPWINDOW | WS_DLGFRAME
CAPTION "Welcome"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "MS Sans Serif"
{
  DEFPUSHBUTTON   "&Login", 1, 84, 139, 50, 14
  PUSHBUTTON   "&Cancel", 2, 23, 139, 50, 14
  LTEXT   "...", 1013, 12, 46, 138, 10
  RTEXT   "Nickname:", 1014, 2, 58, 41, 10
  RTEXT   "Password:", 1015, 2, 82, 41, 10
  COMBOBOX   "", 1016, 56, 57, 94, 73, NOT CBS_SIMPLE | CBS_DROPDOWN | CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL
  EDITTEXT   "", 1017, 57, 83, 93, 12, ES_PASSWORD | ES_AUTOHSCROLL
  AUTOCHECKBOX   "Remember my Password", 1018, 25, 113, 110, 8
  PUSHBUTTON   "Account Management", 1019, 28, 15, 80, 14, NOT WS_VISIBLE
  RTEXT   "Forgot Password?", 1021, 86, 99, 64, 10
  RTEXT   "Help", 1189, 109, 39, 41, 10
  AUTOCHECKBOX   "Login as invisible", 1248, 25, 126, 98, 8
  LTEXT   "Login ", 1330, 10, 37, 68, 10
  LTEXT   "New user?", 1348, 62, 73, 88, 10
}
 
This is not a function, it's a dialog resource definition.

------------------
When you do it, do it right.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top