473,385 Members | 2,180 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Low level Memory access in VB.Net

I have a device located at address 300 - 312. I need to write to those
locations to operate it. In Linux C I would use the outb command to
accomplish this. Is there an equivilent way to do this under VB.Net?
Nov 22 '05 #1
2 1767
Don't even think of it :D
no way under managed code unless you created a DLL with required
functionality and called its methods to accomplish the task

--
Bishoy Ghaly
Senior Software Developer
http://www.dev2dev.org
-----------------------------------------------

"Hari Seldon" <Ha********@discussions.microsoft.com> wrote in message
news:F2**********************************@microsof t.com...
I have a device located at address 300 - 312. I need to write to those
locations to operate it. In Linux C I would use the outb command to
accomplish this. Is there an equivilent way to do this under VB.Net?

Nov 22 '05 #2
Don't even think of it :D
no way under managed code unless you created a DLL with required
functionality and called its methods to accomplish the task

--
Bishoy Ghaly
Senior Software Developer
http://www.dev2dev.org
-----------------------------------------------

"Hari Seldon" <Ha********@discussions.microsoft.com> wrote in message
news:F2**********************************@microsof t.com...
I have a device located at address 300 - 312. I need to write to those
locations to operate it. In Linux C I would use the outb command to
accomplish this. Is there an equivilent way to do this under VB.Net?

Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Thomas Baier | last post by:
Hi there, I'v got a little program generating coincidental lists. It crashes with memory access failure, but not always at the same time. If I start the programm using valgrind it always...
1
by: Hari Seldon | last post by:
I have a device located at address 300 - 312. I need to write to those locations to operate it. In Linux C I would use the outb command to accomplish this. Is there an equivilent way to do this...
1
by: Joe Joe | last post by:
I write my C program in Visual C. After a malloc, I loop for 100 times and amend the memory contents which I have malloced (but I have never change the ptr or its address). After that I free the...
1
by: BillyO | last post by:
In the attached code fragment I have a buffer overflow and a memory access violation. When I run the code .Net fails to verify the IL because of the buffer overflow and I get an exception as...
12
by: aling | last post by:
Have following code snip: struct struc { int member1; int member2; } ; printf("&((struc*)0)->member2=%p\n", &((struc*)0)->member2); In VC7.1, the output is 4, the offset of member2 in struc.
9
by: Roshni | last post by:
Hi, I wanted to know how do function pointers sometime access illegal memory access ? Could any one give me an example ? Thanks, Roshni
6
by: mangesh | last post by:
1 - How to cach invalid memory access exception ? Does standard library provide any help ? 2 - Also when one write catch(...) { //........... } what is wirtten inside catch block . How do...
20
by: Udo A. Steinberg | last post by:
Hi all, In a ternary statement such as: x = (cond ? a : b); it is obviously guaranteed that "x" will be equal to "a" only if the condition "cond" holds. Assuming that "a" is a memory location,...
13
by: kolmogolov | last post by:
/* Hi, I have removed things irrelevant to reproducing the problem. What's wrong with my code? Thanks in advance for any hint! 1166425362 */ #include <stdio.h> #include <stdlib.h> #include...
8
by: Gerhard Fiedler | last post by:
Hello, I'm not sure whether this is a problem or not, or how to determine whether it is one. Say memory access (read and write) happens in 64-bit chunks, and I'm looking at 32-bit variables....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.