Click here to Skip to main content
15,922,427 members
Home / Discussions / C#
   

C#

 
GeneralRe: Arraylist Goes Null after Passing information back to Main Page from Window. Pin
OriginalGriff23-May-10 9:05
mveOriginalGriff23-May-10 9:05 
GeneralRe: Arraylist Goes Null after Passing information back to Main Page from Window. Pin
OriginalGriff23-May-10 9:08
mveOriginalGriff23-May-10 9:08 
GeneralRe: Arraylist Goes Null after Passing information back to Main Page from Window. Pin
PDTUM23-May-10 9:16
PDTUM23-May-10 9:16 
GeneralRe: Arraylist Goes Null after Passing information back to Main Page from Window. Pin
PDTUM23-May-10 16:44
PDTUM23-May-10 16:44 
GeneralRe: Arraylist Goes Null after Passing information back to Main Page from Window. Pin
OriginalGriff23-May-10 23:22
mveOriginalGriff23-May-10 23:22 
AnswerRe: Arraylist Goes Null after Passing information back to Main Page from Window. Pin
PDTUM24-May-10 9:01
PDTUM24-May-10 9:01 
QuestionParsing plain Win32 PE File (Exe/DLL) in C#.NET Pin
glitteringsound23-May-10 4:30
glitteringsound23-May-10 4:30 
AnswerRe: Parsing plain Win32 PE File (Exe/DLL) in C#.NET Pin
Luc Pattyn23-May-10 5:07
sitebuilderLuc Pattyn23-May-10 5:07 
IMO that is impossible. A native code DLL or EXE file (which uses PE format) normally contains an import and an export table, containing the names of the functions; there is no information about the parameters nor the return type, except maybe, those are to some extent encoded in the C++ name mangling. The mangling is not complete; only some info is available.

Furthermore, a lot of Windows DLLs export functions by number ("ordinal number") rather than by name.

Next, you need to know what the calling convention has to be (CDecl, StdCall, ...). That information is not present, unless you start studying the assembly instructions.

And finally, when using P/Invoka to call a native function from a managed language, one can, and often does, create several prototypes, all mapping to the same function, but taking different parameter types. A typical example would be SendMessage().

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read formatted code with indentation, so please use PRE tags for code snippets.

I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).

AnswerRe: Parsing plain Win32 PE File (Exe/DLL) in C#.NET Pin
Dave Kreskowiak23-May-10 18:22
mveDave Kreskowiak23-May-10 18:22 
Questionlistview last sorting [modified] Pin
teknolog12323-May-10 4:02
teknolog12323-May-10 4:02 
AnswerRe: listview last sorting Pin
Dr.Walt Fair, PE23-May-10 4:52
professionalDr.Walt Fair, PE23-May-10 4:52 
AnswerRe: listview last sorting Pin
Abhinav S23-May-10 4:59
Abhinav S23-May-10 4:59 
Questiondatabase connection problems about C# ,unable to connect database Pin
Make Up Forever23-May-10 2:34
Make Up Forever23-May-10 2:34 
AnswerRe: database connection problems about C# ,unable to connect database Pin
Abhinav S23-May-10 2:35
Abhinav S23-May-10 2:35 
AnswerRe: database connection problems about C# ,unable to connect database Pin
Luc Pattyn23-May-10 2:38
sitebuilderLuc Pattyn23-May-10 2:38 
QuestionRead access on class local fields from multiple threads Pin
Chesnokov Yuriy22-May-10 23:36
professionalChesnokov Yuriy22-May-10 23:36 
AnswerRe: Read access on class local fields from multiple threads Pin
DaveyM6923-May-10 0:47
professionalDaveyM6923-May-10 0:47 
QuestionBackgroundWorker.IsBusy failure!? Pin
Chesnokov Yuriy22-May-10 23:32
professionalChesnokov Yuriy22-May-10 23:32 
AnswerRe: BackgroundWorker.IsBusy failure!? Pin
DaveyM6923-May-10 0:58
professionalDaveyM6923-May-10 0:58 
QuestionRe: BackgroundWorker.IsBusy failure!? Pin
Chesnokov Yuriy23-May-10 1:32
professionalChesnokov Yuriy23-May-10 1:32 
AnswerRe: BackgroundWorker.IsBusy failure!? Pin
DaveyM6923-May-10 2:10
professionalDaveyM6923-May-10 2:10 
AnswerRe: BackgroundWorker.IsBusy failure!? Pin
Chesnokov Yuriy23-May-10 4:04
professionalChesnokov Yuriy23-May-10 4:04 
GeneralRe: BackgroundWorker.IsBusy failure!? Pin
DaveyM6923-May-10 4:24
professionalDaveyM6923-May-10 4:24 
GeneralRe: BackgroundWorker.IsBusy failure!? Pin
Luc Pattyn23-May-10 5:09
sitebuilderLuc Pattyn23-May-10 5:09 
AnswerRe: BackgroundWorker.IsBusy failure!? Pin
DaveyM6923-May-10 3:36
professionalDaveyM6923-May-10 3:36 

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.