Click here to Skip to main content
15,891,880 members
Home / Discussions / C#
   

C#

 
QuestionCall a function from a dynamically loaded C dll [Answered] Pin
Bernhard Hiller3-Aug-10 19:47
Bernhard Hiller3-Aug-10 19:47 
AnswerRe: Call a function from a dynamically loaded C dll Pin
Gonzalo Cao3-Aug-10 20:40
Gonzalo Cao3-Aug-10 20:40 
GeneralRe: Call a function from a dynamically loaded C dll Pin
Bernhard Hiller3-Aug-10 21:02
Bernhard Hiller3-Aug-10 21:02 
AnswerRe: Call a function from a dynamically loaded C dll PinPopular
Alan N3-Aug-10 23:37
Alan N3-Aug-10 23:37 
GeneralRe: Call a function from a dynamically loaded C dll Pin
Bernhard Hiller4-Aug-10 2:11
Bernhard Hiller4-Aug-10 2:11 
GeneralRe: Call a function from a dynamically loaded C dll Pin
Phil J Pearson4-Aug-10 3:24
Phil J Pearson4-Aug-10 3:24 
QuestionRe: Call a function from a dynamically loaded C dll Pin
Gonzalo Cao4-Aug-10 20:28
Gonzalo Cao4-Aug-10 20:28 
AnswerRe: Call a function from a dynamically loaded C dll Pin
Bernhard Hiller4-Aug-10 21:19
Bernhard Hiller4-Aug-10 21:19 
Just tested that. I inserted another parameter before the normal first parameter (which is the name of a file), then called the function. The int value returned by the function is an error code, now the result was 1. According to the documentation of the manufacturer "1" means "File access error", i.e. my first parameter (although it was an int) was treated as the expected parameter (a string denoting the file name), and extra parameters seem to have been discarded.
In summary, you do not get an exception, the function just executes (and may happen to return an error code or destroy your system).
GeneralRe: Call a function from a dynamically loaded C dll Pin
Gonzalo Cao4-Aug-10 22:12
Gonzalo Cao4-Aug-10 22:12 
QuestionHow to change a theam in c# ( winform ) Pin
Krishna Varadharajan3-Aug-10 19:34
Krishna Varadharajan3-Aug-10 19:34 
GeneralRe: How to change a theam in c# ( winform ) Pin
Łukasz Nowakowski3-Aug-10 22:38
Łukasz Nowakowski3-Aug-10 22:38 
GeneralRe: How to change a theam in c# ( winform ) Pin
Smithers-Jones4-Aug-10 1:19
Smithers-Jones4-Aug-10 1:19 
GeneralRe: How to change a theam in c# ( winform ) Pin
Łukasz Nowakowski4-Aug-10 1:28
Łukasz Nowakowski4-Aug-10 1:28 
QuestionPls help! how to prevent user to delete prefix value in my texbox Pin
crisjala3-Aug-10 19:29
crisjala3-Aug-10 19:29 
AnswerRe: Pls help! how to prevent user to delete prefix value in my texbox Pin
Gerry Schmitz3-Aug-10 19:46
mveGerry Schmitz3-Aug-10 19:46 
AnswerRe: Pls help! how to prevent user to delete prefix value in my texbox Pin
OriginalGriff3-Aug-10 22:03
mveOriginalGriff3-Aug-10 22:03 
QuestionCheck whether value is there in a column table Pin
seeism3-Aug-10 19:06
seeism3-Aug-10 19:06 
AnswerRe: Check whether value is there in a column table Pin
seeism3-Aug-10 21:03
seeism3-Aug-10 21:03 
AnswerRe: Check whether value is there in a column table Pin
David Skelly3-Aug-10 22:21
David Skelly3-Aug-10 22:21 
QuestionProper naming style for global variable? Pin
Necrowizard3-Aug-10 13:09
Necrowizard3-Aug-10 13:09 
AnswerRe: Proper naming style for global variable? Pin
I Believe In GOD3-Aug-10 13:18
I Believe In GOD3-Aug-10 13:18 
AnswerRe: Proper naming style for global variable? Pin
Keith Barrow3-Aug-10 13:18
professionalKeith Barrow3-Aug-10 13:18 
AnswerRe: Proper naming style for global variable? Pin
PIEBALDconsult3-Aug-10 15:32
mvePIEBALDconsult3-Aug-10 15:32 
QuestionScreen resolution in web site Pin
brunoseixas3-Aug-10 7:13
brunoseixas3-Aug-10 7:13 
AnswerRe: Screen resolution in web site Pin
Luc Pattyn3-Aug-10 7:41
sitebuilderLuc Pattyn3-Aug-10 7:41 

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.