473,503 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1625
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
245
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
2288
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
2557
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
4564
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
2118
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
1462
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
2210
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
1480
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
1300
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
1868
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
7083
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7278
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
7328
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
7456
tracyyun
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...
1
5011
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3153
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1510
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 ...
1
734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
379
bsmnconsultancy
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...

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.