Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We are upgrading my DB2 8.1 on Windows server 2000 to DB2 9.7 on Windows server 2012 R2.
There is one C++ dll used to write log files which works file with DB2 8.1 but doent produce even log file on Windows server 2012 R2. Further I dont have source of that dll.

Possible cause:
32 bit C++ dll not supported on 64 bit enviroment
DB2 9.7 external function calling mistake

Can any one help please to understand problem and solution.
Explanation might not be enough to understand question so please ask if need more input.
Posted
Comments
Jochen Arndt 21-Apr-15 5:18am    
You DLL is a 32-bit version while your new server is using a 64-bit Windows running probably a 64-bit version of DB2.

So you need a 64-bit version of the DLL or use a 32-bit version of DB2 (I don't know if that would work).

1 solution

32 bit software will not work on 64bit machine. Please download the 64 bit application at first. There are some article at "c programming" : www.cprogramming-bd.com
 
Share this answer
 
Comments
barneyman 22-Apr-15 2:21am    
not technically accurate ... :)

32bit code will quite happily run on 64bit machines, what you can't do (as per the OP's problem) is run 32bit DLLs from a 64bit process
Member 11628812 22-Apr-15 2:29am    
barneyman : Thanks a lot.
This make sense to me. I think need to write that dll code in SQL or some other language.

Someone says 32bit software doesnt run on 64 bit OS this is incorrect because I have few exe of 32 bit C++ which are working fine. Just exe with API call are not working.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900