Click here to Skip to main content
15,925,255 members
Home / Discussions / C#
   

C#

 
GeneralRe: storing application settings Pin
User 167325217-Aug-05 2:53
User 167325217-Aug-05 2:53 
GeneralProperty Grid Pin
mictenu16-Aug-05 22:57
mictenu16-Aug-05 22:57 
GeneralIcon from embedded resource Pin
Mridang Agarwalla16-Aug-05 22:54
Mridang Agarwalla16-Aug-05 22:54 
GeneralRe: Icon from embedded resource Pin
Bojan Rajkovic17-Aug-05 13:28
Bojan Rajkovic17-Aug-05 13:28 
QuestionHow to get Computers List in LAN using c# Pin
prasanna_ids16-Aug-05 22:51
prasanna_ids16-Aug-05 22:51 
AnswerRe: How to get Computers List in LAN using c# Pin
S. Senthil Kumar17-Aug-05 0:48
S. Senthil Kumar17-Aug-05 0:48 
AnswerRe: How to get Computers List in LAN using c# Pin
Mohamad Al Husseiny17-Aug-05 10:12
Mohamad Al Husseiny17-Aug-05 10:12 
GeneralHINSTANCE of a module Pin
Anonymous16-Aug-05 20:42
Anonymous16-Aug-05 20:42 
I am trying to use a C# DLL assembly from in-memory. This DLL uses a Win32 Native function which requires HINSTANCE of the module in DLL. So, I try to use the Marshal.GetHINSTANCE Method. It works fine if I use the DLL from physical drive. However, the moment I try to run the DLL from in-memory, I get an error. After some research in MSDN, I found the following remark in the help on Marshal.GetHINSTANCE Method:

"When dynamic or in-memory, modules do not have an HINSTANCE."

Now, my problem is that when DLL is run from in-memory, its modules do not have HINSTANCE as per MSDN documentation. However, the Win32 Native function requires HINSTNCE as one of the parameters. I tried to use null or (IntPtr) 0, etc., but they do not work.

Is there any solution to this problem?

Thanks in advance.
GeneralRe: HINSTANCE of a module Pin
Dave Kreskowiak17-Aug-05 4:16
mveDave Kreskowiak17-Aug-05 4:16 
QuestionHow to connect ASP.Net With SQL Server Pin
dwark10616-Aug-05 19:30
dwark10616-Aug-05 19:30 
AnswerRe: How to connect ASP.Net With SQL Server Pin
Christian Graus16-Aug-05 19:34
protectorChristian Graus16-Aug-05 19:34 
GeneralRe: How to connect ASP.Net With SQL Server Pin
dwark10616-Aug-05 19:45
dwark10616-Aug-05 19:45 
GeneralRe: How to connect ASP.Net With SQL Server Pin
dwark10616-Aug-05 20:13
dwark10616-Aug-05 20:13 
GeneralReading Text Files Pin
boomer194616-Aug-05 18:17
boomer194616-Aug-05 18:17 
GeneralRe: Reading Text Files Pin
Christian Graus16-Aug-05 18:23
protectorChristian Graus16-Aug-05 18:23 
GeneralRe: Reading Text Files Pin
boomer194617-Aug-05 16:35
boomer194617-Aug-05 16:35 
GeneralRe: Reading Text Files Pin
sean_mufc17-Aug-05 0:38
sean_mufc17-Aug-05 0:38 
GeneralRe: Reading Text Files Pin
boomer194617-Aug-05 16:38
boomer194617-Aug-05 16:38 
GeneralSpeech Recognition without using MSAGENT Pin
michaelreian16-Aug-05 15:38
michaelreian16-Aug-05 15:38 
GeneralRe: Speech Recognition without using MSAGENT Pin
Scott Serl16-Aug-05 16:24
Scott Serl16-Aug-05 16:24 
GeneralTimer Object Pin
binglin16-Aug-05 15:34
binglin16-Aug-05 15:34 
GeneralRe: Timer Object Pin
Mohamad Al Husseiny16-Aug-05 15:43
Mohamad Al Husseiny16-Aug-05 15:43 
GeneralRe: Timer Object Pin
binglin16-Aug-05 22:47
binglin16-Aug-05 22:47 
GeneralRe: Timer Object Pin
Mohamad Al Husseiny17-Aug-05 5:03
Mohamad Al Husseiny17-Aug-05 5:03 
GeneralRe: Timer Object Pin
sean_mufc17-Aug-05 0:52
sean_mufc17-Aug-05 0:52 

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.