Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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 :)

-Sean
Posted
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.

-Sean

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...