Computing.Net > Forums > Programming > Convert vb4 16 bit to vb4 32 bit

Convert vb4 16 bit to vb4 32 bit

Reply to Message Icon

Original Message
Name: bocean99
Date: March 3, 2007 at 07:52:28 Pacific
Subject: Convert vb4 16 bit to vb4 32 bit
OS: Win 98
CPU/Ram: 128
Model/Manufacturer: Clone
Comment:

Hello I have a small program that was written in vb4 16 bit on a 286 on win3.1, and want to replace the hardware to Pentium hardware running Win 98 or xp and need the source code recompiled to at least vb 4 32 bit. I have tried to contact the orginal programer, but is no longer around. So I am looking for someone with vb4 32 bit to recompile for me. Thanks in adwance,

bocean@auracom.com


Report Offensive Message For Removal

Response Number 1
Name: IVO
Date: March 3, 2007 at 09:12:06 Pacific
Subject: Convert vb4 16 bit to vb4 32 bit
Reply: (edit)

Even under XP you can run a legacy 16 bit application, no matter the processor originally involved, as the system gives the needed support via the NTVDM emulator that converts the int 21h (and some other DOS/BIOS functions) to the 32 NT Win API.

May be you face some constraints and if so you have to plan a recompilation/redesign, not needed however to perform a plain porting.

Under Win 98 no problems should arise as the kernel is DOS based and again the x86 architecture is upward compatible from the 8088 to the Core 2 DUO or AMD equivalent.


Report Offensive Follow Up For Removal

Response Number 2
Name: cup
Date: March 3, 2007 at 11:32:07 Pacific
Subject: Convert vb4 16 bit to vb4 32 bit
Reply: (edit)

Download VB5CCE from http://www.vbcodesource.com/utility...

It is one of the few free compilers provided by MS. See it your code will build using VB5CCE.


Report Offensive Follow Up For Removal

Response Number 3
Name: bocean99
Date: March 4, 2007 at 02:58:29 Pacific
Subject: Convert vb4 16 bit to vb4 32 bit
Reply: (edit)

Ok, Some more info, the hardware that this was compiled and running on was a 286 with win 3.1 and runs fine. This hardware is just about dead and need to get it to run on newer hardware, so I tried to just put in the working hard drive into a Pentium 2 system and it boots up fine and the program runs and looks normal but the computer is connected to an electronic scale via serial port #1 and will not receive and input from this scale. I checked to see if there was a signal comming through using terminal and it was fine, but woud not work from inside the program. So I thought that it might be because of the new type of serial cards in the pentium, so replaced with the old from the 286. Same results. So I tried another computer running xp and copied the vb runtime files for the 16 bit app and same results, runs fine can change screens but no input from scale. I have to admit I know all most nothing about vb and at the point of paying someone to have a look at the source code and getting it to work on Pentium based hardware. Operating systems are no problem , whatever is the easiest to make this work. Any ideas

Thanks bocean99


Report Offensive Follow Up For Removal

Response Number 4
Name: IVO
Date: March 4, 2007 at 03:32:42 Pacific
Subject: Convert vb4 16 bit to vb4 32 bit
Reply: (edit)

DOS/Win 3.X based applications may have troubles accessing serial COM ports under NT kernel systems as these are protected resources in those environments.

Recompiling may be a way, another workaround is to run your application inside the MS VirtualPC 2004 that you can download for free from Microsoft website. You need a legal copy of DOS or Win 3.X (if the runtime is a Win application) to feed the virtual machine.

Under Win 98 no problems should arise communicating through the COM port due to the DOS based kernel.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Convert vb4 16 bit to vb4 32 bit

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software