Click here to Skip to main content
15,886,963 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Express Edition - Deployment Pin
econner26-Apr-06 16:38
econner26-Apr-06 16:38 
QuestionMDIcontainer transparency Pin
CiberwizZ26-Apr-06 8:08
CiberwizZ26-Apr-06 8:08 
Questionplaying an audio Pin
hafz26-Apr-06 7:55
hafz26-Apr-06 7:55 
QuestionSystem Notify Pin
Sabry190526-Apr-06 7:07
Sabry190526-Apr-06 7:07 
AnswerRe: System Notify Pin
Ravi Bhavnani26-Apr-06 7:26
professionalRavi Bhavnani26-Apr-06 7:26 
QuestionProblem using COM dll Pin
shezh26-Apr-06 6:59
shezh26-Apr-06 6:59 
AnswerRe: Problem using COM dll Pin
Judah Gabriel Himango26-Apr-06 8:16
sponsorJudah Gabriel Himango26-Apr-06 8:16 
GeneralRe: Problem using COM dll Pin
shezh26-Apr-06 21:28
shezh26-Apr-06 21:28 
blockquote class="FQ">
Judah Himango wrote:
As far as the error, there's no way that we can know. Can you show us the function signature (both native COM and .NET wrapper) for that function that's causing the error?

Sure:

in 'original COM dll' (shown in VB6):

<br />
Public Sub ConnectProjectEx(_ByVal DomainName As String,_ByVal ProjectName As String,_ByVal UserName As String,_ByVal UserName As String,_Optional ByVal Password As String = " "_)<br />


and in the interop wrapper (using ildasm):

<br />
.method public hidebysig newslot virtual <br />
        instance void  ConnectProjectEx([in] string  marshal( bstr) DomainName,<br />
                                        [in] string  marshal( bstr) ProjectName,<br />
                                        [in] string  marshal( bstr) UserName,<br />
                                        [in][opt] string  marshal( bstr) Password) runtime managed internalcall<br />


When I pass to this function an invalid username or password, it actually throws an exception, saying 'The user so and so does not exist'. However, when I give it a correct user, it throws the application error I mentioned before - it seems that it gets further in the dll function, and then fails, and since I can't see the actual code in the COM dll (since it's third party), I don't know what to do!

Thanks for your help.

Shehzad
QuestionGlobal variables (WinForms) Pin
benqazou26-Apr-06 6:25
benqazou26-Apr-06 6:25 
AnswerRe: Global variables (WinForms) Pin
Ravi Bhavnani26-Apr-06 6:50
professionalRavi Bhavnani26-Apr-06 6:50 
AnswerRe: Global variables (WinForms) Pin
Ravi Bhavnani26-Apr-06 7:48
professionalRavi Bhavnani26-Apr-06 7:48 
AnswerRe: Global variables (WinForms) Pin
Raffi Basmajian12-Jun-06 17:34
Raffi Basmajian12-Jun-06 17:34 
QuestionAdding Rows in underlying BindingSource / DataGridView Pin
StyleGuide26-Apr-06 4:47
StyleGuide26-Apr-06 4:47 
QuestionWindows authentication Domainname\Userid Pin
krishna nimmalapudi26-Apr-06 4:35
krishna nimmalapudi26-Apr-06 4:35 
Questiondatagridview + IDictionary + ComboBoxCell Pin
g00fyman26-Apr-06 4:14
g00fyman26-Apr-06 4:14 
QuestionExecuting code continuously while button is pressed Pin
shultas26-Apr-06 3:59
shultas26-Apr-06 3:59 
AnswerRe: Executing code continuously while button is pressed Pin
Ravi Bhavnani26-Apr-06 4:16
professionalRavi Bhavnani26-Apr-06 4:16 
QuestionHelp Pin
yantir26-Apr-06 3:53
yantir26-Apr-06 3:53 
AnswerRe: Help Pin
g00fyman26-Apr-06 4:23
g00fyman26-Apr-06 4:23 
AnswerRe: Help Pin
J4amieC26-Apr-06 4:46
J4amieC26-Apr-06 4:46 
AnswerRe: Help Pin
V.26-Apr-06 5:00
professionalV.26-Apr-06 5:00 
AnswerRe: Help Pin
Richard Parsons26-Apr-06 10:27
Richard Parsons26-Apr-06 10:27 
AnswerRe: Help Pin
Josh Smith26-Apr-06 10:33
Josh Smith26-Apr-06 10:33 
QuestionA strange problem with method parametrs Pin
t4ure4n26-Apr-06 3:52
t4ure4n26-Apr-06 3:52 
Questionhi agian i repeat my question about web part!! Pin
abdallahziad26-Apr-06 3:42
abdallahziad26-Apr-06 3:42 

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.