Mixing VB 2005 with assembly language
-
Sorry I'am from Mexico, my english es very mistaken. I need mix Assembly language with VB 2005. I need get a information of the PC ( RAM, HD size ) with a aplication assembler and display the information in my WinForm of Visual Basic 2005. thanks for your aid !!! :)
-
Sorry I'am from Mexico, my english es very mistaken. I need mix Assembly language with VB 2005. I need get a information of the PC ( RAM, HD size ) with a aplication assembler and display the information in my WinForm of Visual Basic 2005. thanks for your aid !!! :)
-
Sorry I'am from Mexico, my english es very mistaken. I need mix Assembly language with VB 2005. I need get a information of the PC ( RAM, HD size ) with a aplication assembler and display the information in my WinForm of Visual Basic 2005. thanks for your aid !!! :)
You can't mix assembler into a VB.NET app. Besides, what you want can be accomplished much easier with Windows Manangement Instrumentation (WMI) and the classes in System.Management namespace.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
You can't mix assembler into a VB.NET app. Besides, what you want can be accomplished much easier with Windows Manangement Instrumentation (WMI) and the classes in System.Management namespace.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007Sorry. Can I connect a program of assembly language to my application in VB ? Scan my PC from the program assembly and connect to ny aplication. is it possible? sorry, my english is very bad. Mexico OrLaNdO HeRReRa
-
Sorry. Can I connect a program of assembly language to my application in VB ? Scan my PC from the program assembly and connect to ny aplication. is it possible? sorry, my english is very bad. Mexico OrLaNdO HeRReRa
rammsteinohr wrote:
Can I connect a program of assembly language to my application in VB ?
All native machine code is already in machine language. You can write assembly code that is in a .dll and called from .NET. How to do so is beyond a forum post. There is an article around here at CP about it.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
Sorry. Can I connect a program of assembly language to my application in VB ? Scan my PC from the program assembly and connect to ny aplication. is it possible? sorry, my english is very bad. Mexico OrLaNdO HeRReRa
Yeah, it can be done. But how you communicate with that assembly code is entirely up to how that code is written. Without knowing how the assembly code expects you to call it and receive return values, it's impossible to say.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
Yeah, it can be done. But how you communicate with that assembly code is entirely up to how that code is written. Without knowing how the assembly code expects you to call it and receive return values, it's impossible to say.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007so, as I can create a DLL in assembly language? where search Information about it ? give me the URL or LINK please !!!
-
so, as I can create a DLL in assembly language? where search Information about it ? give me the URL or LINK please !!!
There is very little on assembly language under Windows because hardly anyone ever uses it. Why are you fixated on assembly?? What are you doing that makes you think you require it?
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
There is very little on assembly language under Windows because hardly anyone ever uses it. Why are you fixated on assembly?? What are you doing that makes you think you require it?
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007Is a School project, is hibrida or hybrid programming ("programacion hibrida" in spanish). The teacher say: "Use Assembly Code with another language (mixing)". And i want programmin VB 2005 with Assembly language...... But the information is little.....if you can help me....i will happy Thanks !!!
-
Is a School project, is hibrida or hybrid programming ("programacion hibrida" in spanish). The teacher say: "Use Assembly Code with another language (mixing)". And i want programmin VB 2005 with Assembly language...... But the information is little.....if you can help me....i will happy Thanks !!!
You're going to have to create two seperate project. An assembly language project compiled with an assembler, or you could write in-line assembly into a C++ component, which compiles to a .DLL, and a seperate VB.NET project to consume the library functions you write. Google for "Windows assembly language" if you want examples.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007