473,395 Members | 1,504 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,395 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 1622
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...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
marktang
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...
0
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...

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.