Click here to Skip to main content
15,922,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need I define a function as "extern"? Pin
George222-Aug-03 2:10
George222-Aug-03 2:10 
AnswerRe: Need I define a function as "extern"? Pin
Maxwell Chen21-Aug-03 20:09
Maxwell Chen21-Aug-03 20:09 
GeneralRe: Need I define a function as "extern"? Pin
George221-Aug-03 23:24
George221-Aug-03 23:24 
GeneralRe: Need I define a function as "extern"? Pin
Dangleberry22-Aug-03 4:09
sussDangleberry22-Aug-03 4:09 
GeneralRe: Need I define a function as "extern"? Pin
George224-Aug-03 0:47
George224-Aug-03 0:47 
General3D layer visualization Pin
coda_x21-Aug-03 15:29
coda_x21-Aug-03 15:29 
GeneralRead DLL source code Pin
wow999921-Aug-03 15:24
wow999921-Aug-03 15:24 
GeneralRe: Read DLL source code Pin
Brad Sokol21-Aug-03 16:18
Brad Sokol21-Aug-03 16:18 
The short answer is you can't.

DLLs - and other types of Windows executable files like .exe, .scr, .cpl, ocx, and so on - contain machine code that has been compiled from higher level source languages.

With the exception of open source projects, the original source files - which are separate from the DLL - are almost never provided with an application.

Depending on what you're trying to learn, there may be other ways.

The web is an amazing place to find code that demonstrates how to do almost anything. CodeProject and MSDN are great places to start.

Using development tools that come with Visual Studio, the Platform SDK or sites on the web such as SysInternals, it is possible to view the DLL's external interface. From this, you may be able to learn a bit about what the DLL can do, but not how it does it.

Have a look at "OLE-COM Object Viewer" (Platform SDK) or "OLE Viewer" (Visual Studio 6.0. If the DLL implements COM objects, you can view the type library which show you the interfaces, methods, etc.

"Depends" which comes with Visual Studio lets you look at the functions and data exported by a DLL, as well as what other DLLs it depends on.

Process Explorer from SysInternals lets you see what DLLs a running program is using.

Hope that helps.
GeneralRe: Read DLL source code Pin
Ryan Binns21-Aug-03 16:31
Ryan Binns21-Aug-03 16:31 
QuestionWhat project type to choose to run on all windows Pin
Chris Ormerod21-Aug-03 14:23
Chris Ormerod21-Aug-03 14:23 
AnswerRe: What project type to choose to run on all windows Pin
David Crow22-Aug-03 3:19
David Crow22-Aug-03 3:19 
Questionaccess JS vars on page in web browser control? Pin
Scott H. Settlemier21-Aug-03 11:59
Scott H. Settlemier21-Aug-03 11:59 
GeneralIs this bad to do? (Networking question) Pin
RobJones21-Aug-03 11:53
RobJones21-Aug-03 11:53 
GeneralRe: Is this bad to do? (Networking question) Pin
Ryan Binns21-Aug-03 16:35
Ryan Binns21-Aug-03 16:35 
Questionpossible to provide VB app access to VC++ dll? Pin
michael thomas21-Aug-03 10:32
michael thomas21-Aug-03 10:32 
AnswerRe: possible to provide VB app access to VC++ dll? Pin
David Crow21-Aug-03 10:45
David Crow21-Aug-03 10:45 
GeneralRe: possible to provide VB app access to VC++ dll? Pin
michael thomas21-Aug-03 11:02
michael thomas21-Aug-03 11:02 
GeneralRe: possible to provide VB app access to VC++ dll? Pin
vcplusplus21-Aug-03 11:27
vcplusplus21-Aug-03 11:27 
GeneralRe: possible to provide VB app access to VC++ dll? Pin
michael thomas21-Aug-03 11:37
michael thomas21-Aug-03 11:37 
GeneralColor of a pixel set by coordinates Pin
Archigal21-Aug-03 10:24
Archigal21-Aug-03 10:24 
GeneralRe: Color of a pixel set by coordinates Pin
zeki yugnak21-Aug-03 12:39
zeki yugnak21-Aug-03 12:39 
GeneralRe: Color of a pixel set by coordinates Pin
Archigal22-Aug-03 6:10
Archigal22-Aug-03 6:10 
GeneralRe: fatal error C1010: unexpected end of file while looking for precompiled header directive Pin
John R. Shaw21-Aug-03 10:14
John R. Shaw21-Aug-03 10:14 
GeneralRe: fatal error C1010: unexpected end of file while looking for precompiled header directive Pin
Member 34642221-Aug-03 19:09
Member 34642221-Aug-03 19:09 
Generalfatal error C1010: unexpected end of file while looking for precompiled header directive Pin
act_x21-Aug-03 9:41
act_x21-Aug-03 9:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.