I am writting a CD-ROM Emulator application using assembly language and link
with the VB.NET interface. But, I am not sure whether assembly language is
linkable with VB.NET.
Another question is I am now stuck in the coding, not much idea in
implementing this application. I hope to get some hints on that...
Thank you.
Chin Fui 8 2387
Hi, If it is linkable, which I doubt very much it is.... I wouldn't pursue
it anyway, because VB.NET compiles to machine-indepenant bytecode. Assembly
language is machine-dependant code.
--
HTH,
-- Tom Spink, ber Geek
Woe be the day VBC.EXE says, "OrElse what?"
Please respond to the newsgroup,
so all can benefit
"Chin Fui" <cc***@hotmail. com> wrote in message
news:uF******** ******@TK2MSFTN GP09.phx.gbl... I am writting a CD-ROM Emulator application using assembly language and
link with the VB.NET interface. But, I am not sure whether assembly language is linkable with VB.NET.
Another question is I am now stuck in the coding, not much idea in implementing this application. I hope to get some hints on that...
Thank you.
Chin Fui
Tom: If you can access your CD-ROM with VB.Net why wouldn't you be able to
access a CD-ROM emulator with VB.Net? It's a device accessed through a
driver... we aren't using special VB.Net compatible audio and video drivers
are we?
Chin: I can't see why you couldn't use assembly language.
"Tom Spink" <thomasdotspink at@ntlworlddotc om> wrote... Hi, If it is linkable, which I doubt very much it is.... I wouldn't pursue it anyway, because VB.NET compiles to machine-indepenant bytecode.
Assembly language is machine-dependant code.
-- HTH, -- Tom Spink, ber Geek
Woe be the day VBC.EXE says, "OrElse what?"
Please respond to the newsgroup, so all can benefit "Chin Fui" <cc***@hotmail. com> wrote in message news:uF******** ******@TK2MSFTN GP09.phx.gbl... I am writting a CD-ROM Emulator application using assembly language and link with the VB.NET interface. But, I am not sure whether assembly language
is linkable with VB.NET.
Another question is I am now stuck in the coding, not much idea in implementing this application. I hope to get some hints on that...
Thank you.
Chin Fui
"Chin Fui" <cc***@hotmail. com> wrote in message
news:uF******** ********@TK2MSF TNGP09.phx.gbl. .. I am writting a CD-ROM Emulator application using assembly language and
link with the VB.NET interface. But, I am not sure whether assembly language is linkable with VB.NET.
Another question is I am now stuck in the coding, not much idea in implementing this application. I hope to get some hints on that...
Thank you.
Chin Fui
The easiest method would be to compile your "assembly language" code
(separate lib or as embedded asm instructions in C, ...) and then create a
managed C++ assembly to provide a wrapper for the asm routines. You can then
use the new classes directly in your VB code using
System::Runtime ::InteroptServi ces
-ralph
Ralph,
I'm obviously not the person who posted the original question but at I am at
a loss to understand now a CD-ROM emulator would be compiled into a VB.Net
application. I'm far from an expert but what would the advantage of coding
it into an app be? I only ask since nobody I know of is offering VB.Net
libraries specifically designed for hardware-based CD-ROMs...
Even if one could (and I find it hard to believe one couldn't) what would
the advantage be? They operate across all languages currently why would
anybody target .Net? It seems incredibly limiting. Not if it "had" to be
done that way but it doesn't appear to be necessary.
"Ralph" <nt************ *@hotmail.com> wrote in message
news:RZ******** ************@ar kansas.net... "Chin Fui" <cc***@hotmail. com> wrote in message news:uF******** ********@TK2MSF TNGP09.phx.gbl. .. I am writting a CD-ROM Emulator application using assembly language and link with the VB.NET interface. But, I am not sure whether assembly language
is linkable with VB.NET.
Another question is I am now stuck in the coding, not much idea in implementing this application. I hope to get some hints on that...
Thank you.
Chin Fui
The easiest method would be to compile your "assembly language" code (separate lib or as embedded asm instructions in C, ...) and then create a managed C++ assembly to provide a wrapper for the asm routines. You can
then use the new classes directly in your VB code using System::Runtime ::InteroptServi ces
-ralph
"Tom Leylan" <ge*@iamtiredof spam.com> wrote in message
news:Og******** ******@TK2MSFTN GP09.phx.gbl... Ralph,
I'm obviously not the person who posted the original question but at I am
at a loss to understand now a CD-ROM emulator would be compiled into a VB.Net application. I'm far from an expert but what would the advantage of
coding it into an app be? I only ask since nobody I know of is offering VB.Net libraries specifically designed for hardware-based CD-ROMs...
Even if one could (and I find it hard to believe one couldn't) what would the advantage be? They operate across all languages currently why would anybody target .Net? It seems incredibly limiting. Not if it "had" to be done that way but it doesn't appear to be necessary.
"Ralph" <nt************ *@hotmail.com> wrote in message news:RZ******** ************@ar kansas.net... "Chin Fui" <cc***@hotmail. com> wrote in message news:uF******** ********@TK2MSF TNGP09.phx.gbl. .. I am writting a CD-ROM Emulator application using assembly language
and link with the VB.NET interface. But, I am not sure whether assembly
language is linkable with VB.NET.
Another question is I am now stuck in the coding, not much idea in implementing this application. I hope to get some hints on that...
Thank you.
Chin Fui
The easiest method would be to compile your "assembly language" code (separate lib or as embedded asm instructions in C, ...) and then create
a managed C++ assembly to provide a wrapper for the asm routines. You can
then use the new classes directly in your VB code using System::Runtime ::InteroptServi ces
-ralph
Tom,
I must have hit the wrong reply button. Did I accidently email you directly?
I apologize.
Actually I am with you - I am not sure where such a thing would 'fit' within
an 'application', be it .NET, C runtime, etc... I just knee-jerked responded
to someone that appeared to be asking "How can I use my asm within a .NET
application"? Without a second thought as to whether such a thing would
even be necessary or practical.
I often fail to have second-thoughts. <g>
-ralph
My point is that VB.NET and C# and indeed anything that compiles to MSIL is
designed to be platform independant. If I write a replica of Notepad in
VB.NET and compile it, and not use any external API, then I expect it to
work exactly the same on Linux, MacOS, FreeBSD or any other platform with a
version of the .NET framework.
If I start using Assembly language, I lose that platform independancy.
--
HTH,
-- Tom Spink, ber Geek
Woe be the day VBC.EXE says, "OrElse what?"
Please respond to the newsgroup,
so all can benefit
"Tom Leylan" <ge*@iamtiredof spam.com> wrote in message
news:##******** ******@TK2MSFTN GP09.phx.gbl... Tom: If you can access your CD-ROM with VB.Net why wouldn't you be able
to access a CD-ROM emulator with VB.Net? It's a device accessed through a driver... we aren't using special VB.Net compatible audio and video
drivers are we?
Chin: I can't see why you couldn't use assembly language.
"Tom Spink" <thomasdotspink at@ntlworlddotc om> wrote... Hi, If it is linkable, which I doubt very much it is.... I wouldn't
pursue it anyway, because VB.NET compiles to machine-indepenant bytecode. Assembly language is machine-dependant code.
-- HTH, -- Tom Spink, ber Geek
Woe be the day VBC.EXE says, "OrElse what?"
Please respond to the newsgroup, so all can benefit "Chin Fui" <cc***@hotmail. com> wrote in message news:uF******** ******@TK2MSFTN GP09.phx.gbl... I am writting a CD-ROM Emulator application using assembly language
and link with the VB.NET interface. But, I am not sure whether assembly
language is linkable with VB.NET.
Another question is I am now stuck in the coding, not much idea in implementing this application. I hope to get some hints on that...
Thank you.
Chin Fui
Not a problem Tom... you'll find this is not the case despite the
advertising. We've been there, in the past it was called Java.
Again to clarify... your CD-ROM driver will not work in Linux, MacOs,
FreeBSD and Windows. It isn't worth arguing about however.
Take care,
Another "Tom"
..
"Tom Spink" <thomasdotspink at@ntlworlddotc om> wrote in message
news:us******** ******@TK2MSFTN GP09.phx.gbl... My point is that VB.NET and C# and indeed anything that compiles to MSIL
is designed to be platform independant. If I write a replica of Notepad in VB.NET and compile it, and not use any external API, then I expect it to work exactly the same on Linux, MacOS, FreeBSD or any other platform with
a version of the .NET framework.
If I start using Assembly language, I lose that platform independancy.
-- HTH, -- Tom Spink, ber Geek
Woe be the day VBC.EXE says, "OrElse what?"
Please respond to the newsgroup, so all can benefit "Tom Leylan" <ge*@iamtiredof spam.com> wrote in message news:##******** ******@TK2MSFTN GP09.phx.gbl... Tom: If you can access your CD-ROM with VB.Net why wouldn't you be able to access a CD-ROM emulator with VB.Net? It's a device accessed through a driver... we aren't using special VB.Net compatible audio and video drivers are we?
Chin: I can't see why you couldn't use assembly language.
"Tom Spink" <thomasdotspink at@ntlworlddotc om> wrote... Hi, If it is linkable, which I doubt very much it is.... I wouldn't pursue it anyway, because VB.NET compiles to machine-indepenant bytecode. Assembly language is machine-dependant code.
-- HTH, -- Tom Spink, ber Geek
Woe be the day VBC.EXE says, "OrElse what?"
Please respond to the newsgroup, so all can benefit "Chin Fui" <cc***@hotmail. com> wrote in message news:uF******** ******@TK2MSFTN GP09.phx.gbl... > I am writting a CD-ROM Emulator application using assembly language and link > with the VB.NET interface. But, I am not sure whether assembly language is > linkable with VB.NET. > > Another question is I am now stuck in the coding, not much idea in > implementing this application. I hope to get some hints on that... > > Thank you. > > Chin Fui
> Not a problem Tom... you'll find this is not the case despite the advertising. We've been there, in the past it was called Java.
;-) It is the future... I forsee it
Again to clarify... your CD-ROM driver will not work in Linux, MacOs, FreeBSD and Windows. It isn't worth arguing about however.
I'm not writing the driver, it's not my driver.... I've got better things to
be doing (like writing a .net framework for every possible platform)
--
HTH,
-- Tom Spink, ber Geek
Woe be the day VBC.EXE says, "OrElse what?"
Please respond to the newsgroup,
so all can benefit
"Tom Leylan" <ge*@iamtiredof spam.com> wrote in message
news:e8******** ******@TK2MSFTN GP10.phx.gbl... Not a problem Tom... you'll find this is not the case despite the advertising. We've been there, in the past it was called Java.
Again to clarify... your CD-ROM driver will not work in Linux, MacOs, FreeBSD and Windows. It isn't worth arguing about however.
Take care, Another "Tom" .
"Tom Spink" <thomasdotspink at@ntlworlddotc om> wrote in message news:us******** ******@TK2MSFTN GP09.phx.gbl... My point is that VB.NET and C# and indeed anything that compiles to MSIL is designed to be platform independant. If I write a replica of Notepad in VB.NET and compile it, and not use any external API, then I expect it to work exactly the same on Linux, MacOS, FreeBSD or any other platform
with a version of the .NET framework.
If I start using Assembly language, I lose that platform independancy.
-- HTH, -- Tom Spink, ber Geek
Woe be the day VBC.EXE says, "OrElse what?"
Please respond to the newsgroup, so all can benefit "Tom Leylan" <ge*@iamtiredof spam.com> wrote in message news:##******** ******@TK2MSFTN GP09.phx.gbl... Tom: If you can access your CD-ROM with VB.Net why wouldn't you be
able to access a CD-ROM emulator with VB.Net? It's a device accessed through
a driver... we aren't using special VB.Net compatible audio and video drivers are we?
Chin: I can't see why you couldn't use assembly language.
"Tom Spink" <thomasdotspink at@ntlworlddotc om> wrote... > Hi, If it is linkable, which I doubt very much it is.... I wouldn't pursue > it anyway, because VB.NET compiles to machine-indepenant bytecode. Assembly > language is machine-dependant code. > > -- > HTH, > -- Tom Spink, ber Geek > > Woe be the day VBC.EXE says, "OrElse what?" > > Please respond to the newsgroup, > so all can benefit > "Chin Fui" <cc***@hotmail. com> wrote in message > news:uF******** ******@TK2MSFTN GP09.phx.gbl... > > I am writting a CD-ROM Emulator application using assembly
language and > link > > with the VB.NET interface. But, I am not sure whether assembly language is > > linkable with VB.NET. > > > > Another question is I am now stuck in the coding, not much idea in > > implementing this application. I hope to get some hints on that... > > > > Thank you. > > > > Chin Fui
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Marian |
last post by:
Hi,
I am totaly novice in .NET and I am studying a book about this. There
was mentioned "assembly". I did not understand, how function does it has .
I would like to know the exact run of code (intermediate language and so
on). Is there any page on internet, which makes me clear?
Thanx
|
by: nospam |
last post by:
Just wondering,
What do you think the difference in performance would be between
(1.) Compiled C#
(2.) Compiled C++
(3.) and Assembly Language
And how would the mix be if some if any of these languages had to hit
against a SQL Server database
|
by: James |
last post by:
I have two question regarding the version resource that is generated for a
satellite assembly.
1) I have a file in my C# console app project called
StringResources.en-US.resx. When I build the project, a satellite assembly is
built and placed in the appropriate subfolder (en-US). The satellite
assembly has a version #, however, none of the other version information that
is part of the main app (set in AssemblyInfo.cs) is passed into...
|
by: alice |
last post by:
hi all,
Can anybody please tell me that how an assembly language code can be
called from a program written in C?I mean what is the syntax for doing
this thing?
Thanks,
Alice
|
by: Namratha Shah \(Nasha\) |
last post by:
Hi All,
Assembly linker is a tool which is used to create an assembly by combining
one or more .netmodules and resource files.
In simple words an .netmodule is an IL file that does not have manifest in
it .... you can say its an assembly without the manifest ... and hence a
non -assembly file containing IL code.
In the yesterday's example we saw how we can create the .resources file
| |
by: Hannes Schmiderer |
last post by:
We have to support different languages in our application. We do not
want to compile the whole application if anything changes in the text
of the pages.
With satellite assemblies this is possible easily. We change the .resx
XML-resource-file, run resgen.exe and al.exe and we have a new dll.
But how is this possible with the neutral/default/fallback language
resource which is integrated in the main assembly?
|
by: DELESTRE Christophe |
last post by:
I’m sorry to disturb you but I have a problem on .NET development, and I’m
need some help to resolve it if it’s possible.
I have an aspx page with src property (no dll for my web application, all
pages are JIT compiled on request), and I want link a assembly with the “src”
attribute, like
<%@ Assembly Src=”/MyWebApplication/Common/MyAssemblyClass.cs” %>
|
by: fermineutron |
last post by:
Some compilers support __asm{ } statement which allows integration of C
and raw assembly code. A while back I asked a question about such
syntax and was told that __asm is not a part of a C standard. My
question now is:
Is there a chance that such statement will become a part of C standard
in the future? In some cases using asm language is the best way to
acomplish some small task, hence integration of C and asm would greatly
enhence C,...
|
by: Robert Cloud |
last post by:
Is it possible to include assembly language routines in
C if I'm using a compiler which has an assembler such as gcc? could I
include them in a main function or would I have to write a seperate
function? what kind of privilege level would be required to execute
a program with assembly in it? how would I denote that the following
code is assembly and thus shouldn't be checked for syntax errors?
------------------------------
Robert Cloud...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |