Problem: Recompiling a DLL - help needed. Simple if you know how I imagine!

Closed Posted Jul 20, 2004 Paid on delivery
Closed Paid on delivery

I have a Visual Basic application that uses a DLL that is written in C. My requirement is two-fold ??" to fix a very simple problem but also educational, to understand the process involved in recompiling a DLL.

When running the VB application it sometimes fails with a field overflow error when calling a particular function in the DLL. I have tracked the problem down to a field in the DLL that is defined as an unsigned Short value when it should in fact be defined as a Long value.

However, I have no experience at all with DLLs and although the help text that comes with the application says all I have to do to recompile it, is to include a list of modules and then link in a windows module definition file I have no idea how to do this!

My requirement is in 2 parts and is as follows:

1. I would like someone to fix the above problem for me (I can provide a zipped file with everything the application needs including help text and instructions to duplicate the problem).

2. I would like step-by-step instructions of how I can do the above so that in future if I identify other problems in the DLL I can fix them myself.

The VB application is currently running in a VB6 environment though it was originally written in VB4.

The DLL is written in ANSI C and can be compiled with any ANSI C/C++ complier. I have a compiler available within my Visual Studio .Net (version 2002) so the step-by-step instructions must allow me to do this going forward with this platform. I also have access to Microsoft Visual C++ Version 4.0 to do recompilations so this may be used as an alternative. (I have no preference really as long as in the future I would have the ability to recompile the DLL if ever needed.)

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Visual Basic 6 (though could does work in VB4 and above)

Windows XP

The provided DLL (written in ANSI C) to be able to be compiled using either of:

1. Visual Studio .Net (version 2002)

0r

2. Microsoft Visual C++ Version 4.0

or

3. Any free alternative (as long as I can compile the DLL going forward for myself!)

C Programming Engineering Microsoft MySQL PHP Software Architecture Software Testing Visual Basic Windows Desktop

Project ID: #3286702

About the project

1 proposal Remote project Active Aug 25, 2004

1 freelancer is bidding on average $13 for this job

ephraimsolutions

See private message.

$12.75 USD in 32 days
(4 Reviews)
0.0