flat assembler
Message board for the users of flat assembler.
Index
> Windows > link .net dll with fasm? |
Author |
|
revolution 05 Feb 2010, 13:47
I think .NET stuff would be well out of the realm of a small assembly proggy. From what I have seen you would need to set up a managed-code environment (i.e. a VM environment) and a .NET byte code decoder.
|
|||
05 Feb 2010, 13:47 |
|
LocoDelAssembly 05 Feb 2010, 18:26
Even mscorlib.dll is actually MSIL code (I was very surprised about this as I assumed they used native code for the framework).
However, I also think it is possible, but you're very likely to need to run in unmanaged mode so you could callback your assembly code (not sure if it is feasible the other way around). |
|||
05 Feb 2010, 18:26 |
|
Yardman 05 Feb 2010, 21:12
[ Post removed by author. ]
Last edited by Yardman on 04 Apr 2012, 03:30; edited 1 time in total |
|||
05 Feb 2010, 21:12 |
|
madmatt 05 Feb 2010, 22:07
sleepsleep wrote: yeah, it is possible for god sake, Maybe what you want is to make an assembly .dll using fasm and calling the assembly code from within .NET? _________________ Gimme a sledge hammer! I'LL FIX IT! |
|||
05 Feb 2010, 22:07 |
|
sleepsleep 06 Feb 2010, 08:45
i was kinda a bit confused lately... 3 pending projects. i gonna die...
life is a big joke, yeah, but when customer keep asking u... when u gonna finish them,, damn... headache |
|||
06 Feb 2010, 08:45 |
|
sleepsleep 06 Feb 2010, 08:47
Quote:
yeah, dll in fasm... calling from .net application. and function in .net application, and call from fasm dll. |
|||
06 Feb 2010, 08:47 |
|
revolution 06 Feb 2010, 09:42
sleepsleep wrote: yeah, dll in fasm... call[ed] from .net application. sleepsleep wrote: and function in .net application, and call from fasm dll. |
|||
06 Feb 2010, 09:42 |
|
LocoDelAssembly 06 Feb 2010, 17:12
Quote:
Possible and yes, you need to run unmanaged. http://msdn.microsoft.com/en-us/magazine/cc164123.aspx Passing callback, which would allow you to call managed code from the native dll is not so clear how possible and stable is, I found this (I've not read it thoroughly): http://www.beefycode.com/post/Delegates-and-Native-API-Callbacks-Answer.aspx |
|||
06 Feb 2010, 17:12 |
|
madmatt 06 Feb 2010, 22:14
Well SleepSleep,
I made a simple C# example here that calls a .dll function made with fasm from within .NET code. Going in reverse, Calling a .NET dll function from assembly, I haven't had any experience with though.
_________________ Gimme a sledge hammer! I'LL FIX IT! |
|||||||||||
06 Feb 2010, 22:14 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.