Page 1 of 1

I have a error SDAC 6.9 when compile

Posted: Thu 16 Jan 2014 10:21
by raumuong
Hi
- Delphi XE4
- SDAC for XE4 trial 60days: 6.9.17
- When design, i can connect and display data easy
but when i compile , there is a error ocur below
[dcc32 Fatal Error] main.pas(10): F2051 Unit MSDataTypeMap was compiled with a different version of CRDataTypeMap.TCRMapRules


Please help me fix this error

Thank you

Re: I have a error SDAC 6.9 when compile

Posted: Thu 16 Jan 2014 13:58
by AlexP
Hello,

Most probably, you have old SDAC *.bpl, *.dcu, *.pas, etc., files remained. Please delete all the old SDAC files and try reinstalling SDAC once more.

Re: I have a error SDAC 6.9 when compile

Posted: Thu 16 Jan 2014 22:38
by raumuong
1. I remove all previous version carefully and re-install newest verion 6.9.17
2. Open the Demo: SdacDemo.dproj
When compile i have error again:
Compiling SdacDemo.dproj (Debug, Win32)
dcc command line for "SDACDemo.dpr"
[dcc32 Fatal Error] CachedUpdates.pas(13): F2051 Unit MSDataTypeMap was compiled with a different version of CRDataTypeMap.TCRMapRules


On IDE editor the mouse is on this row:
DBAccess, MSAccess, SdacVcl, DemoFrame, SdacDemoForm;

Re: I have a error SDAC 6.9 when compile

Posted: Fri 17 Jan 2014 11:59
by AlexP
Hello,

This problem may be due to old files only. Please make sure that your paths in the LibraryPath point to the current location of SDAC files. Try to create a new project, place MSConnection onto the form, compile the project - and let us know the result.