How to make a program (Program uses a 32 bit dll. file) to work in a 64 bit Windows ?

  • Thread starter Thread starter V.K.S.B.K
  • Start date Start date
V

V.K.S.B.K

Guest
Dear Friends,

I am writing an "Astrology"program using Swiss Ephemeris. (Swiss Ephemeris - for 8000 years and more)

I downloaded Ephemeris files and the Functions along with a 32 bit ".dll" file; to make the program I've to call the functions ( all the calculations such as Julian Days, Planetary positions, Zodiac Houses etc).

Using this I was able to make a program that works fine in my 32 bit Windows Desktop, but when I installed my program in my 64 Bit Windows Laptop it fails to work and gives an error.

I have been using 2-3 Astrology Programs (made using the Swiss Ephemeris ) that work fine in my 64 Bit Windows Laptop.

When I asked about it in the Swiss Ephemeris Yahoo Group, I was told that I've to recompile the .dll file for 64 bit Windows. also, someone mentioned about making a "Wrapper" for it.

When I made the Setup file for my 64 Bit Laptop, I did the following;

(1) Project --> Properties --> Advanced Compile Options --> Target CPU = x64

(2) File (in the Menu) --> Add --> New Project --> Setup Wizard --> On Completing it, in the "Properties of Setup" --> Target Platform = x64.

Even after doing these two, the program fails to do the calculations and shows an error report.

Can you please let me know what should I do to make it work in 64 Bit Windows.

Am I doing it correctly or something is missing.. Please help.

I don't know what is meant by Wrapper and don't know how to do it.

(The developers of the Swiss Ephemeris told that they will not be able to make a 64 dll file since they don't have any computer running 64 bit Windows.)

Thanks

Kind Regards

VKSBK



A Real Novice Programmer !

Continue reading...
 
Back
Top