Click here to Skip to main content
15,890,185 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Code for a calculation Pin
Paul Conrad15-Aug-08 5:50
professionalPaul Conrad15-Aug-08 5:50 
AnswerRe: C# Code for a calculation Pin
Cali199915-Aug-08 5:08
Cali199915-Aug-08 5:08 
GeneralRe: C# Code for a calculation Pin
carbon_golem15-Aug-08 6:22
carbon_golem15-Aug-08 6:22 
AnswerRe: C# Code for a calculation Pin
shabonaa17-Aug-08 9:26
shabonaa17-Aug-08 9:26 
QuestionClose Button for Tabs in Tab Control Pin
Jason Rodan15-Aug-08 4:30
Jason Rodan15-Aug-08 4:30 
AnswerRe: Close Button for Tabs in Tab Control Pin
User 665815-Aug-08 5:07
User 665815-Aug-08 5:07 
AnswerRe: Close Button for Tabs in Tab Control [modified] Pin
PIEBALDconsult15-Aug-08 5:10
mvePIEBALDconsult15-Aug-08 5:10 
QuestionUsing another program's DLL Pin
OsoreWatashi15-Aug-08 4:28
OsoreWatashi15-Aug-08 4:28 
I have a project running which requires me to use a specific .dll file. It is no .COM related .dll file, so I cannot add it to my references list in VS2008.

The .dll file is used by another program to encode and decode packets that will be send over the network. All I know is, is that this .dll file is used for that. If I do a dumpbin, I can see some methodnames that are preceded and followed by non-regular characters. To atleast load the method in my code, I use the ordinal instead with the DllImport.EndPoint parameter.

Now comes in my real problem. I do not know the return value nor the parameters that this method requires. All I get when I try to run invoke it, I get an error indicating VS2008 could not marshal the values I have given.

So, is it possible for me to find out what the return value is of that method and what types of parameters it requires? It is not possible for me to get any hands on documentation, so basically all I have is this .dll file. Note that it is currently used by another program, maybe I can do something with that?

Thank you in advance and I hope it is possible in some way to figure out the return and parameter types for a .dll method.
AnswerRe: Using another program's DLL Pin
User 665815-Aug-08 4:56
User 665815-Aug-08 4:56 
AnswerRe: Using another program's DLL Pin
dan!sh 15-Aug-08 6:42
professional dan!sh 15-Aug-08 6:42 
AnswerRe: Using another program's DLL Pin
OsoreWatashi16-Aug-08 3:56
OsoreWatashi16-Aug-08 3:56 
QuestionCustom data types in web services and web references Pin
Yellowseed15-Aug-08 3:56
Yellowseed15-Aug-08 3:56 
AnswerRe: Custom data types in web services and web references Pin
Wendelius15-Aug-08 5:28
mentorWendelius15-Aug-08 5:28 
GeneralRe: Custom data types in web services and web references Pin
Yellowseed15-Aug-08 12:52
Yellowseed15-Aug-08 12:52 
GeneralRe: Custom data types in web services and web references Pin
Wendelius17-Aug-08 2:50
mentorWendelius17-Aug-08 2:50 
QuestionCan't find even one Bluetooth device when scanning Pin
Klive815-Aug-08 3:53
Klive815-Aug-08 3:53 
QuestionExporting Datatable to Excel Pin
maliary15-Aug-08 3:52
maliary15-Aug-08 3:52 
AnswerRe: Exporting Datatable to Excel [Ignore repost] Pin
Manas Bhardwaj15-Aug-08 3:58
professionalManas Bhardwaj15-Aug-08 3:58 
GeneralRe: Exporting Datatable to Excel [Ignore repost] Pin
PIEBALDconsult15-Aug-08 4:10
mvePIEBALDconsult15-Aug-08 4:10 
GeneralRe: Exporting Datatable to Excel [Ignore repost] Pin
Manas Bhardwaj15-Aug-08 4:20
professionalManas Bhardwaj15-Aug-08 4:20 
AnswerRe: Exporting Datatable to Excel Pin
PIEBALDconsult15-Aug-08 4:12
mvePIEBALDconsult15-Aug-08 4:12 
QuestionPassing Interface as a parameter Pin
sreerani15-Aug-08 3:16
sreerani15-Aug-08 3:16 
AnswerRe: Passing Interface as a parameter Pin
0x3c015-Aug-08 3:43
0x3c015-Aug-08 3:43 
AnswerRe: Passing Interface as a parameter Pin
Pete O'Hanlon15-Aug-08 8:33
mvePete O'Hanlon15-Aug-08 8:33 
QuestionCan a file be opened? Pin
__DanC__15-Aug-08 2:43
__DanC__15-Aug-08 2:43 

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.