Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
AnswerRe: Matlab-to-C# Pin
Dave Kreskowiak1-May-11 3:36
mveDave Kreskowiak1-May-11 3:36 
QuestionHow to use MF_BYPOSITION parameter in InsertMenu Function Pin
Loithuxua30-Apr-11 16:37
Loithuxua30-Apr-11 16:37 
AnswerRe: How to use MF_BYPOSITION parameter in InsertMenu Function Pin
OriginalGriff30-Apr-11 20:29
mveOriginalGriff30-Apr-11 20:29 
GeneralRe: How to use MF_BYPOSITION parameter in InsertMenu Function Pin
David198730-Apr-11 21:00
David198730-Apr-11 21:00 
GeneralRe: How to use MF_BYPOSITION parameter in InsertMenu Function Pin
OriginalGriff30-Apr-11 21:04
mveOriginalGriff30-Apr-11 21:04 
GeneralRe: How to use MF_BYPOSITION parameter in InsertMenu Function Pin
Dave Kreskowiak1-May-11 3:38
mveDave Kreskowiak1-May-11 3:38 
AnswerRe: How to use MF_BYPOSITION parameter in InsertMenu Function Pin
I Believe In GOD1-May-11 1:42
I Believe In GOD1-May-11 1:42 
QuestionUsing own .dll in 64 bit version system - exception: ""BadImageFormatException was unhandled"" Pin
Cadi210830-Apr-11 10:20
Cadi210830-Apr-11 10:20 
I am trying to use any DLL in Windows 7 64 bit version. It give me exception "BadImageFormatException was unhandled". The same .dll works fine with Windows XP. The .dll was written in ASM and built using AnyCPU platform.

Here is the call in project:
[DllImport("library.dll")] static extern bool MyFunction(IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam);


Anyone has come across it, is there a way to resolve it?

Best regards.
AnswerRe: Using own .dll in 64 bit version system - exception: ""BadImageFormatException was unhandled"" [modified] Pin
Luc Pattyn30-Apr-11 10:43
sitebuilderLuc Pattyn30-Apr-11 10:43 
GeneralRe: Using own .dll in 64 bit version system - exception: ""BadImageFormatException was unhandled"" Pin
Cadi210830-Apr-11 23:14
Cadi210830-Apr-11 23:14 
AnswerRe: Using own .dll in 64 bit version system - exception: ""BadImageFormatException was unhandled"" Pin
Ghydo1-May-11 8:43
Ghydo1-May-11 8:43 
GeneralRe: Using own .dll in 64 bit version system - exception: ""BadImageFormatException was unhandled"" Pin
Cadi21081-May-11 9:50
Cadi21081-May-11 9:50 
GeneralRe: Using own .dll in 64 bit version system - exception: ""BadImageFormatException was unhandled"" Pin
Ghydo1-May-11 11:07
Ghydo1-May-11 11:07 
GeneralRe: Using own .dll in 64 bit version system - exception: ""BadImageFormatException was unhandled"" Pin
Cadi21082-May-11 0:26
Cadi21082-May-11 0:26 
AnswerRe: Using own .dll in 64 bit version system - exception: ""BadImageFormatException was unhandled"" Pin
Luc Pattyn2-May-11 15:10
sitebuilderLuc Pattyn2-May-11 15:10 
GeneralRe: Using own .dll in 64 bit version system - exception: ""BadImageFormatException was unhandled"" Pin
Cadi21082-May-11 23:36
Cadi21082-May-11 23:36 
Questioni need a help with an analog clock in c# Pin
stranger8030-Apr-11 9:54
stranger8030-Apr-11 9:54 
AnswerRe: hi Pin
Luc Pattyn30-Apr-11 10:14
sitebuilderLuc Pattyn30-Apr-11 10:14 
GeneralRe: hi Pin
stranger8030-Apr-11 10:30
stranger8030-Apr-11 10:30 
QuestionHow do I take the content from a javascript variable, and paste it into a c# variable? Pin
_Q12_30-Apr-11 6:59
_Q12_30-Apr-11 6:59 
AnswerRe: How do I take the content from a javascript variable, and paste it into a c# variable? Pin
Dave Kreskowiak30-Apr-11 10:04
mveDave Kreskowiak30-Apr-11 10:04 
AnswerRe: How do I take the content from a javascript variable, and paste it into a c# variable? Pin
Eddy Vluggen30-Apr-11 22:13
professionalEddy Vluggen30-Apr-11 22:13 
GeneralRe: How do I take the content from a javascript variable, and paste it into a c# variable? Pin
_Q12_5-May-11 8:26
_Q12_5-May-11 8:26 
GeneralRe: How do I take the content from a javascript variable, and paste it into a c# variable? Pin
Eddy Vluggen5-May-11 9:21
professionalEddy Vluggen5-May-11 9:21 
QuestionUsings for "ManagementClass" in Visual C# 2010 Pin
rms12330-Apr-11 2:28
professionalrms12330-Apr-11 2:28 

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.