Click here to Skip to main content
15,899,124 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Wrong forum Pin
goodideadave5-Mar-08 12:10
goodideadave5-Mar-08 12:10 
QuestionHow to create a folder dynamically and upload file in that folder using ASP.NET 2.0(C#) Pin
Chakouri5-Mar-08 6:07
Chakouri5-Mar-08 6:07 
AnswerRe: How to create a folder dynamically and upload file in that folder using ASP.NET 2.0(C#) Pin
pmarfleet5-Mar-08 9:08
pmarfleet5-Mar-08 9:08 
GeneralRe: How to create a folder dynamically and upload file in that folder using ASP.NET 2.0(C#) Pin
Chakouri6-Mar-08 1:08
Chakouri6-Mar-08 1:08 
GeneralRe: How to create a folder dynamically and upload file in that folder using ASP.NET 2.0(C#) Pin
pmarfleet6-Mar-08 1:49
pmarfleet6-Mar-08 1:49 
GeneralRe: How to create a folder dynamically and upload file in that folder using ASP.NET 2.0(C#) Pin
Chakouri6-Mar-08 4:01
Chakouri6-Mar-08 4:01 
GeneralMsChart Control in VB 2005 Pin
Melichar5-Mar-08 5:21
Melichar5-Mar-08 5:21 
GeneralASP.NET server that call unmanaged DLL Pin
Le Sourcier5-Mar-08 3:49
Le Sourcier5-Mar-08 3:49 
Hello,

I have a critical problem Mad | :mad: with my ASP.NET server Unsure | :~ .
In fact, I want my ASP.NET code behind (C#) to call a DLL (C++, unmanaged and without COM).

I tried to use
<br />
[DLLImport("MyDLL.DLL")]<br />
public extern static void instanciate_unmanaged_process();<br />


Unfortunately, each time I call instanciate_unmanaged_process(); a new System.DLLNotFoundException is thrown. I have tried to put my DLL in many directories (current, system32, asp.net bin) and it does not work. Then I tried to write the full path in DLLImport("c:\\projects\\bin\\MyDLL.DLL"), but the same exception appears. Sigh | :sigh: Sigh | :sigh: Sigh | :sigh: Sigh | :sigh: Sigh | :sigh: Sigh | :sigh:

I have tried to make a managed dll wrapper, but it does not work anymore. (same exception) OMG | :OMG:
I tried the old LoadLibrary/GetProcAdress way, and GetProcAdress is still returning null. WTF | :WTF:

It works fine through a Winforms application but not through asp.net.Confused | :confused:


Someone could help me ?

Using:
VS2008 Pro
Framework 3.5 (almost 2.0 for ASP.NET server)
Web server with IIS 6.0 (win xp)
Unmanaged DLL compiled with Visual C++ 6


Thanks a lot.

Le Sourcier

GeneralRe: ASP.NET server that call unmanaged DLL Pin
Ernest Laurentin5-Mar-08 4:52
Ernest Laurentin5-Mar-08 4:52 
GeneralRe: ASP.NET server that call unmanaged DLL Pin
Fastfootskater4-May-08 20:41
Fastfootskater4-May-08 20:41 
GeneralRe: ASP.NET server that call unmanaged DLL Pin
Le Sourcier4-May-08 21:14
Le Sourcier4-May-08 21:14 
Questionconvert querystring value to textbox control id Pin
janetb995-Mar-08 3:44
janetb995-Mar-08 3:44 
GeneralRe: convert querystring value to textbox control id Pin
J4amieC5-Mar-08 3:56
J4amieC5-Mar-08 3:56 
GeneralRe: convert querystring value to textbox control id Pin
janetb995-Mar-08 6:35
janetb995-Mar-08 6:35 
GeneralIssue with Grid View Pin
dotman15-Mar-08 2:06
dotman15-Mar-08 2:06 
GeneralHej Pin
Burim Rama5-Mar-08 1:41
Burim Rama5-Mar-08 1:41 
GeneralRe: Hej Pin
Marco van der Linden5-Mar-08 2:00
Marco van der Linden5-Mar-08 2:00 
GeneralRe: Hej Pin
Burim Rama5-Mar-08 2:15
Burim Rama5-Mar-08 2:15 
GeneralRe: Hej Pin
eyeseetee5-Mar-08 2:22
eyeseetee5-Mar-08 2:22 
GeneralRe: Hej Pin
Burim Rama5-Mar-08 2:24
Burim Rama5-Mar-08 2:24 
GeneralRe: Hej Pin
Christian Graus5-Mar-08 10:20
protectorChristian Graus5-Mar-08 10:20 
GeneralRDF xml file as dataset Pin
i gr85-Mar-08 1:15
i gr85-Mar-08 1:15 
GeneralRe: RDF xml file as dataset Pin
Ernest Laurentin5-Mar-08 5:17
Ernest Laurentin5-Mar-08 5:17 
GeneralSuggestion to CP team Pin
Muhammad Gouda5-Mar-08 0:53
Muhammad Gouda5-Mar-08 0:53 
GeneralRe: Suggestion to CP team Pin
Vasudevan Deepak Kumar5-Mar-08 0:54
Vasudevan Deepak Kumar5-Mar-08 0:54 

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.