Red Gate forums :: View topic - Visual C++ error with RedGate.SQLCompare.Engine.Database
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Comparison SDK Previous Versions
SQL Comparison SDK Previous Versions forum

Visual C++ error with RedGate.SQLCompare.Engine.Database

Search in SQL Comparison SDK Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
ajryan



Joined: 26 Feb 2008
Posts: 9

PostPosted: Thu Aug 27, 2009 6:41 pm    Post subject: Visual C++ error with RedGate.SQLCompare.Engine.Database Reply with quote

When compiling a managed Visual C++/CLI project, compiler error C2686 is reported whenever the Database class is used. This appears to be caused by an obfuscation tool that is not aware of C++ method overloading. I believe this was an issue in the version 6 API as well.

Referencing RedGate.SQLCompare.Engine.dll version 8.0.0.309.

Full error text:
error C2686: cannot overload static and non-static member functions with the same parameter types
1> <path>\redgate.sqlcompare.engine.dll: could be 'System::Random ^RedGate::SQLCompare::Engine::Database::a(void)'
1> <path>\redgate.sqlcompare.engine.dll: or 'RedGate::Shared::Utils::IO::TemporaryFileManager ^RedGate::SQLCompare::Engine::Database::a(void)'
Back to top
View user's profile Send private message
peter.peart
Site Admin


Joined: 02 Sep 2008
Posts: 362
Location: Top floor, RG towers with the cool kids

PostPosted: Mon Aug 31, 2009 2:50 pm    Post subject: Reply with quote

Hi Aidan,

Many thanks for your forum post.

I believe that we are dealing with this forum post in a support ticket for you, please let me know if there is anything else regarding this separate to the support ticket that would help.
_________________
Peter Peart
Red Gate Software Ltd
+44 (0)870 160 0037 ext. 8569
1 866 RED GATE ext. 8569
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group