473,385 Members | 1,379 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.

How do I migrate certain API code to .net e.g. FileMapping

Hi

I have been planning to move over to .net for some time now but I have a lot
of code written in VB that uses a lot of win32 api's. The main area is
reading and writing data quickly to and from file and in memory. currently I
use copymemory extensively along with varptr. I want to continue to write
fast code but I am not sure how efficient the serialize functions built into
much of .net are. I also use filemapping to perform high speed read write
access to my own very large data files.

are there features built into .net framework to support file mapping

Once I have figured out these few problems i can start to properly translate
existing code to vb.net

thanks
alex
Jul 21 '05 #1
1 1621
Cor
Hi Alex

In my opinoion are there to much serialize functions in the net to give you
links here,

Have a look for

streamwriter
memorystream
streamreader
datareader
textreader
IO.fileinfo
IO.dirinfo
IO.file

But I think this is limited and you will find the rest yourself starting
with this.

All managed code, one of the the benefits from that is, that it will work
probably in future (not forever) too when there is a type processor change
or something like that.

I hope this helps,

Cor
Jul 21 '05 #2

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

Similar topics

1
by: Alex | last post by:
Hi I have been planning to move over to .net for some time now but I have a lot of code written in VB that uses a lot of win32 api's. The main area is reading and writing data quickly to and...
4
by: Bon | last post by:
Hello all Would it be possible to migrate the MS Access 2000 to MS SQL Server 2000? My application is using MS Access 2000 as database and as user interface such as forms. Now, I want to...
2
by: Vikrant | last post by:
Hi DB2/UDB Gurus, I got the same problem , when I am migrating DB2/UDB 5.2 to 7.2 EE under AIX. Is this a known problem ?, I would sincerely appreciate (well if you want to have money, that...
1
by: Davor | last post by:
I have to migrate database from AIX DB2 to MS Sql Server 2000. In one table there is field with GIF image. I have tried with "Import/Export Data" wizard on SQL server to import that table. All...
5
by: JM | last post by:
I need to take all the user/groups and permissions and migrate them to SQL Server, how can this be done easily?
6
by: Jeffrey Todd | last post by:
I have a heavy investment in an ASP.NET Web application built on 1.1. I have read about a bunch of new features coming in ASP.NET 2.0, and I don't see that I need the *new* features. So, what would...
6
by: Shimon Sim | last post by:
Hi I am working on application that need to hold custom user information - Last and first name, email, some other domain related information. I used to create Base class for all my pages. The base...
12
by: Jeff | last post by:
Looking for your highly subjective opinions (from those of you who have been working extensively with VS 2005). I have a client that needs/wants a complete rewrite of an existing application. I...
3
by: VS | last post by:
I would like to know that is there any need to Migrate ASP 3.0 applications to ASP.NET Is there any Cease or end of lifecycle of products on ASP 3.0 and associated web based products announced by...
1
by: Robert Scheer | last post by:
Hi. We have several internal Windows Forms applications and two ASP.NET applications that realy heavily on CSS files. We are considering to migrate the Web applications and some of the Windows...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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.