Wrox Programmer Forums
|
.NET 4 and Visual Studio 2010 General Discussions For discussing anything about .NET 4, WPF, WCF, the rest of the .NET 4 Framework, and Visual Studio 2010 that isn't about a specific Wrox book. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET 4 and Visual Studio 2010 General Discussions section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 8th, 2011, 06:38 AM
Registered User
 
Join Date: Mar 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default DLLIMPOR

Hi
Sorry for my beginner question..
Im writing a c# program which need to use a large number of unmnaged DLLs
The use of the unmanaged dll depends upon user actions, so I need to support all DLLs , even if the user will not use them every time the software launches.
I would like to use DLLimport to import all DLLs and to write the headers of all their functions.
Is it ok to do it like this and not dynamically loading the libraray?
Are all DLLs being loaded once DLLIMPORT is executed or only when a cerain DLL function is called?
Help will be highly appreciated !









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.