Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / January 2006

Tip: Looking for answers? Try searching our database.

How do you use SDKs?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris Roden - 28 Jan 2006 18:47 GMT
I am a .NET developer and have learned everything from reading books. I would
like to start using SDKs but don't understand how to use header files,
library files, and so on. I have searched the internet and book stores
looking for something that would teach me what SDKs include and how to use
them, but have had no luck. Would someone be able to point me in the right
direction? Any assistance would be greatly appreciated!
Christopher Reed - 30 Jan 2006 01:21 GMT
For the most part, many SDKs come with their own documentation.  That will
probably be your first source of information.
Signature

Christopher A. Reed
"The oxen are slow, but the earth is patient."

>I am a .NET developer and have learned everything from reading books. I
>would
[quoted text clipped - 3 lines]
> them, but have had no luck. Would someone be able to point me in the right
> direction? Any assistance would be greatly appreciated!
"TerryFei" - 30 Jan 2006 02:56 GMT
Hi,
Welcome to MSDN Newsgroup!

Header files contain many prototypes of function, macro and so on. If we
omit some relevant header files, the complier will report compile error,
just like undeclared identifier error. You could use "#include headerfile"
direction to add header files.
Lib and Dll contain the implementation of function. When we call a function
whose code is not in our program itself, such as any Windows API, we need
to tell the linker where the function is so it can store information about
the function in your EXE. This is done with an import library. An import
library is a LIB file that contains the list of functions exported from its
corresponding DLL. For example, kernel32.lib contains the exports for
kernel32.dll. When Windows loads your EXE, it reads this information, loads
the correct DLL, and resolves the function calls. The VC AppWizard creates
projects with the most commonly-used LIBs (such as kernel32.lib,
user32.lib, etc.) already listed in the linker options, but if we use call
APIs in other DLLs, we'll need to add the corresponding LIB files.
Let's take for example the API PathAddBackslash(). When you get an
unresolved external error on this API, you need to find out which LIB file
its definition is contained in. Read the MSDN page on PathAddBackslash(),
and at the bottom you'll see: "Import Library: Shlwapi.lib". That tells you
that you must add shlwapi.lib to your linker options. To add import
libraries to the linker options, click Project->Settings and go to the Link
tab. Set the Category combo box to General, then add the LIB filenames in
the Object/library modules edit box.

I hope the above information is helpful for you. If you have any questions,
please feel free to let me know. Thanks and have a nice day!

Best Regards,

Terry Fei [MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security

--------------------
>Thread-Topic: How do you use SDKs?
>thread-index: AcYkO0lIpS1OIDm4Q5+xMaGb5H6dYg==
[quoted text clipped - 25 lines]
>them, but have had no luck. Would someone be able to point me in the right
>direction? Any assistance would be greatly appreciated!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.