Click here to Skip to main content
15,895,084 members
Home / Discussions / C#
   

C#

 
GeneralRe: unique identifier on a thread Pin
Stefan Troschuetz11-Feb-05 0:18
Stefan Troschuetz11-Feb-05 0:18 
GeneralClient/Server Pin
Soumya Mulukutla10-Feb-05 6:58
Soumya Mulukutla10-Feb-05 6:58 
GeneralRe: Client/Server Pin
Michael P Butler10-Feb-05 8:15
Michael P Butler10-Feb-05 8:15 
GeneralRe: Client/Server Pin
S. Senthil Kumar10-Feb-05 8:15
S. Senthil Kumar10-Feb-05 8:15 
GeneralRe: Client/Server Pin
Judah Gabriel Himango10-Feb-05 9:01
sponsorJudah Gabriel Himango10-Feb-05 9:01 
GeneralRe: Client/Server Pin
Soumya Mulukutla10-Feb-05 9:46
Soumya Mulukutla10-Feb-05 9:46 
GeneralRe: Client/Server Pin
Judah Gabriel Himango10-Feb-05 9:59
sponsorJudah Gabriel Himango10-Feb-05 9:59 
QuestionDllImport() with flexible DLL name? Pin
mav.northwind10-Feb-05 6:41
mav.northwind10-Feb-05 6:41 
Hi!

In my program I've got to call a function from a third-party DLL to perform audio conversion.
Basically no big deal, but I have to be able to set the path and name of the DLL at runtime, because there are different DLLs that can be called. Frown | :( Each of these DLLs publishes a function with the same name and signature, but performs the conversion in a different way.

Setting the path works by p/invoking LoadLibrary() and FreeLibrary(), so that the DLL is already loaded when the function is called. This works fine.

But for my DllImport() attribute I have to give the DLL name and this name cannot be changed at runtime, as far as I know.

Does anyone know how to solve this dilemma?

TIA,
mav
AnswerRe: DllImport() with flexible DLL name? Pin
Dave Kreskowiak10-Feb-05 6:52
mveDave Kreskowiak10-Feb-05 6:52 
AnswerRe: DllImport() with flexible DLL name? Pin
Phil Hobgen10-Feb-05 7:32
Phil Hobgen10-Feb-05 7:32 
GeneralRe: DllImport() with flexible DLL name? Pin
mav.northwind10-Feb-05 8:40
mav.northwind10-Feb-05 8:40 
GeneralCollections and ISerializable Pin
Clickok10-Feb-05 5:09
Clickok10-Feb-05 5:09 
GeneralFast Fourier Tarnsformation Pin
9-Feb-05 23:31
suss9-Feb-05 23:31 
GeneralRe: Fast Fourier Tarnsformation Pin
Jon Sagara10-Feb-05 6:00
Jon Sagara10-Feb-05 6:00 
GeneralCombo Box in Datagrid Cell Pin
Glaivas9-Feb-05 23:02
Glaivas9-Feb-05 23:02 
GeneralWMI Win32_Process Pin
skrishnasarma9-Feb-05 21:51
skrishnasarma9-Feb-05 21:51 
GeneralCapturing global keystrokes Pin
SnuhEyeless9-Feb-05 21:12
SnuhEyeless9-Feb-05 21:12 
GeneralRe: Capturing global keystrokes Pin
SnuhEyeless9-Feb-05 21:29
SnuhEyeless9-Feb-05 21:29 
GeneralRe: Capturing global keystrokes Pin
Stefan Troschuetz9-Feb-05 21:51
Stefan Troschuetz9-Feb-05 21:51 
Generalcreate a screen program same as like report from a xml file Pin
dhol9-Feb-05 19:35
dhol9-Feb-05 19:35 
GeneralRe: create a screen program same as like report from a xml file Pin
Dave Kreskowiak10-Feb-05 5:17
mveDave Kreskowiak10-Feb-05 5:17 
GeneralRe: create a screen program same as like report from a xml file Pin
dhol10-Feb-05 16:36
dhol10-Feb-05 16:36 
GeneralRe: create a screen program same as like report from a xml file Pin
Michael P Butler10-Feb-05 8:18
Michael P Butler10-Feb-05 8:18 
GeneralRe: create a screen program same as like report from a xml file Pin
dhol10-Feb-05 16:36
dhol10-Feb-05 16:36 
Generalretreiving metadata information of s database Pin
padvit9-Feb-05 18:10
padvit9-Feb-05 18:10 

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.