Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
GeneralRe: Write Assembly code in C# Pin
harold aptroot28-May-10 9:54
harold aptroot28-May-10 9:54 
GeneralRe: Write Assembly code in C# Pin
AspDotNetDev28-May-10 16:33
protectorAspDotNetDev28-May-10 16:33 
GeneralRe: Write Assembly code in C# Pin
harold aptroot28-May-10 21:17
harold aptroot28-May-10 21:17 
GeneralRe: Write Assembly code in C# PinPopular
harold aptroot28-May-10 2:54
harold aptroot28-May-10 2:54 
GeneralRe: Write Assembly code in C# Pin
AspDotNetDev28-May-10 16:36
protectorAspDotNetDev28-May-10 16:36 
GeneralRe: Write Assembly code in C# Pin
Luc Pattyn28-May-10 17:35
sitebuilderLuc Pattyn28-May-10 17:35 
GeneralRe: Write Assembly code in C# Pin
AspDotNetDev28-May-10 18:21
protectorAspDotNetDev28-May-10 18:21 
AnswerRe: Write Assembly code in C# Pin
snouto28-May-10 10:48
snouto28-May-10 10:48 
yes it can be done using c++ project wrapper then you would add reference to that dll into .net ,

but be careful , when you do so , you lose the portability that microsoft struggles for when it creates .NET technology , it can't be run on different OS because your embedded assembly code will be targetted for specific platform .

Requirements to create the c++ wrapper dll
1 - Decorate the method in c++ as "extern" to stop the compiler from changing the method name when you compile your DLL .
2 - you can even call the dll methods without using unsafe declaration , because it will be treated like any dll referenced in .NET project.

i hope this helps
Human knowledge belongs to the world.

AnswerRe: Write Assembly code in C# Pin
Henry Minute28-May-10 11:49
Henry Minute28-May-10 11:49 
AnswerRe: Write Assembly code in C# Pin
AspDotNetDev28-May-10 14:18
protectorAspDotNetDev28-May-10 14:18 
QuestionInsert byte[] to database Pin
dataminers28-May-10 1:49
dataminers28-May-10 1:49 
AnswerMessage Closed Pin
28-May-10 1:53
stancrm28-May-10 1:53 
GeneralRe: Insert byte[] to database Pin
dataminers28-May-10 2:11
dataminers28-May-10 2:11 
GeneralRe: Insert byte[] to database Pin
PIEBALDconsult28-May-10 3:49
mvePIEBALDconsult28-May-10 3:49 
AnswerRe: Insert byte[] to database Pin
Pete O'Hanlon28-May-10 2:48
mvePete O'Hanlon28-May-10 2:48 
AnswerRe: Insert byte[] to database Pin
T M Gray28-May-10 5:20
T M Gray28-May-10 5:20 
AnswerRe: Insert byte[] to database Pin
Matt Meyer28-May-10 7:41
Matt Meyer28-May-10 7:41 
AnswerRe: Insert byte[] to database Pin
AspDotNetDev28-May-10 16:41
protectorAspDotNetDev28-May-10 16:41 
QuestionDisable Intrupt In Critical section Pin
shahramkeyboard28-May-10 0:38
shahramkeyboard28-May-10 0:38 
AnswerRe: Disable Intrupt In Critical section Pin
harold aptroot28-May-10 0:46
harold aptroot28-May-10 0:46 
GeneralRe: Disable Intrupt In Critical section Pin
Pete O'Hanlon28-May-10 1:10
mvePete O'Hanlon28-May-10 1:10 
GeneralRe: Disable Intrupt In Critical section Pin
Luc Pattyn28-May-10 2:17
sitebuilderLuc Pattyn28-May-10 2:17 
GeneralRe: Disable Intrupt In Critical section Pin
Pete O'Hanlon28-May-10 2:26
mvePete O'Hanlon28-May-10 2:26 
AnswerRe: Disable Intrupt In Critical section Pin
Luc Pattyn28-May-10 2:16
sitebuilderLuc Pattyn28-May-10 2:16 
GeneralRe: Disable Intrupt In Critical section PinPopular
Pete O'Hanlon28-May-10 2:54
mvePete O'Hanlon28-May-10 2:54 

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.