coldfusion244 Posted February 1, 2005 Posted February 1, 2005 Ok, this one is a thinker... I have a bunch of assembly code I wrote to control a 4x4 keypad. The problem is that I need to use it in C++.NET, C#.NET, and VB.NET. I tried just putting the assembly in c++ and creating a DLL like that, but unfortunately it kept giving me errors in the data section and I couldn't address registers like DS:IP. I am wanting to nkow if there is a way you can take assebly and make a wrapper for it. Maybe I just did it wrong in c++... Any thoughts? This one is a stumper for me :confused: Thanks guys :) Quote -Sean
IngisKahn Posted February 1, 2005 Posted February 1, 2005 If you can call your dll from C++ then you should be able to call it from .NET. Quote "Who is John Galt?"
coldfusion244 Posted February 1, 2005 Author Posted February 1, 2005 If you can call your dll from C++ then you should be able to call it from .NET. That's the problem though, I can't have a data section and receive errors when compiling when I try to use the __asm directive. I need to find out how to comile assembyl INTO a DLL. Quote -Sean
IngisKahn Posted February 1, 2005 Posted February 1, 2005 IC. I've never used assembly from a dll (though I have used it in VB :p). but I do think there's a trick to it. Perhaps google could help. Quote "Who is John Galt?"
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.