I'm trying to run the unit tests from the gflags project, and I'd like
to know how to run them and what unit testing framework it is using to
do this.
I'm using Visual Studio 2005.
Not interested in any source control OR shell integration.
This is basically to make regular gets on certain third party archives. I would really prefer not to deal with SVN in any way in my shell or visual studio.
Native / C# preferred (as i have those runtimes already installed).
Anyone a recommendation under those circumstances?
Is it possible to have a conditional installation configuration, slaved wth the Visual Studio configuration environment?
For example, selecting DEBUG or RELEASE configuration, Wix selects different executables in the built installation.
So far I've been using vi, but I'm wondering if there's something better to use in Linux. In Windows there's Visual C++, and I guess practically all C++ programmers in Windows use this these days. It has a lot of things in it to help the programmer. What about for Linux?
I am responsible for a small development team and we deal mainly with database development. We are currently using MS Visual Source Safe as our source control system, but it has its limitations and we are seriously thinking about changing. What system would you choose?
Hi All
Visual studio allow you to create "inlined" classes (if I am not mistaken with the name).
So class header and implementation all in one file.
H. file contain definitions and declarations of the class and functions, there is no .cpp file at all.
So I was wondering if there is any penalty for doing it that way? any disadvantages ?
Thanks a lot
Hi guys,
Is there a good application (that has some kind of gui) for testing memory leaks in c code. I would really like to test my assignment/programme but being very new to this, i struggle with using the terminal to do things, especially using gdb for debugging (to me it feels like a blast from the past, where i could be using some visual debugger).
Thanks for the help
edit: platform doesn't matter - i am running everything ;)
I have a strange error. I'm debugging an asp.net site and suddenly it stops. Visual Studio stays in debug mode and my web application stays on running just fine. I found this post on, but I don't think a background thread is causing the problem. There's even a try catch around the code where it usually stops debugging, but the catch is not triggered... Everytime I try it, it stops at a different place in the code.
If I need to provide a DLL by using C++ or C# to somebody. How do I know if my code is managed or unmanaged code? If I use VC++6.0, that means unmanaged and if I use .Net Visual Studio 2005 or later it will be managed code?
Hi,
I want to deploy my windows mobile application on windows Mobile 6 emulator, so that there is no dependency on Visual Studio 2005/2008.
I require this for testing and demo purpose.
Thanks,
Mrinal Jaiswal
I want to create an MXML container component that has some of its own chrome -- a standard query display, et al -- and that supports the addition of child components to it. Something a lot like the existing mx:Panel class, which includes a title label, but acts like a plain mx:Box with regards to adding children.
What's the easiest way to do this?
Edit:
To be clear, I want to be able to extend the container using MXML, so the "Multiple visual children" problem is relevant.
Is there any way showing the detailed exception for String or binary data would be truncated.
I use LINQ to SQL and i cant figure out which column is that!?
Tried numerous things but i get the same meaningless error i got from within Visual Studio.
Also I use .NET 3.5 SP1, but errors are still returned useless.
Consider the following code:
class A {
A(const A&);
public:
A() {}
};
int main() {
const A &a = A();
}
This code compiles fine with GCC, but fails to compile with Visual C++ with the following error:
test.cc(8) : error C2248: 'A::A' : cannot access private member declared in class 'A'
test.cc(2) : see declaration of 'A::A'
test.cc(1) : see declaration of 'A'
So is it necessary to have a copy constructor accessible when binding a temporary to a reference?
I have custom control - chart with size, for example, 300x300 pixels and more than one million points (maybe less) in it. And its clear that now he works very slowly. I am searching for algoritm which will show only few points with minimal visual difference.
I have link to component which have functionallity exactly what i need
(2 million points demo):
http://www.mindscape.co.nz/demo/SilverlightElements/demopage.html#/ChartOverviewPage
I will be grateful for any matherials, links or thoughts how to realize such functionallity.
I use Visual Studio 2008, MySQL 5.0.90,Qt 4.6.3 and C++
I try connect MySql but it gives this error messages.
Driver not loaded.
I am new programmer. How cann I solve this problem? Thank a lot.
Hi,
I'm using godaddy shared hosting, with IIS7, Integrated mode, and published up a bog standard MVC2 app to dev.lazygekko.com created with Visual Web Developer 2010.
It all works, however when any of the links are clicked, they point to dev.lazygekko.com/dev/..., dev being the folder it is pointing at.
Can anyone shed some light on what I may be doing wrong?
Many thanks.
Hi Guys,
I have Visual 2010, I am trying to generate dal from my database.
I create a classlibrary project
I add reference to Subsonic
I add reference to mysql
create generated file in directory
I add a App.config file and fill it as this:
I create the external tools button and run it,
it generates the CS files, but doesnt appear in generate files,
what to do next to use these files in my application??
thanks
How do I get intellisense to pop up while I am coding? I know it pops up when I start typing a known type e.g.:
if I type NSS it will finish it for me NSString.
How do I get it to give me a bunch of options like in Visual Studio e.g.:
if I type NS I want to see what my options are like NSString, NSInteger etc?
And if I have not typed anything I still want a bunch of options like all the instance variables etc.
I feel a little silly asking this, seems pretty simple but I can't find the solution anywhere.
I have a trackbar made in visual studio 2008 and I want to use it to adjust an image threshold but I can't find the code to retrieve the sliders/markers position.
Any help would be much appreciated and I am using C++
Hello,
In ASP.NET MVC, we don't have controls which can do stuffs such as autocompletion (we don't have controls at all from Visual Studio like in web forms).
But, Is it possible to still get 'Auto-completion' with a text box in ASP.NET MVC (like with the textbox found on the Google's Home page)?
If this is the case, what's the best way to do so? JQueryUI? or there's someother way of getting that functionality?
Thanks for helping.
Hello,
So when your using ASP.NET Wizards to create a login, it uses a set of auto generated tables using the aspnet_regsql.exe tool...
When you create a user using the wizard it generates a very long userID
"a40cf936-1596-4560-a26c-450792e2c8c0" I want to add users using another program that connects to this database... but how does visual studio auto-generate this ID. I want to auto-generate it as well
Any ideas? Thanks in advance.
-Scott
I've found few solutions which assumes that I have 2 or 3 binding objects(or data templates) - that is not good solution for me. Is there an easy way to do this? I can think of cycling through the visual tree and set the binding that way but still this solution doesn't look very neat.
Thank you in advance.
It is said here:
http://blogs.msdn.com/b/mikeormond/archive/2010/12/09/writing-cross-platform-xaml-applications.aspx
Within Visual Studio, if you add files to the project via “Add Existing Item”, and select the “Add As Link” option you can work on the same file from multiple projects.
Oh my I'm on a project which have multiple countries, brands, components layers and each time I will add a file you want me to "Add as Link" ? This is a nightmare maintenance !
Is there any other solutions ?
I know I can pass a function pointer as a template parameter and get a call to it inlined but I wondered if any compilers these days can inline an 'obvious' inline-able function like:
inline static void Print()
{
std::cout << "Hello\n";
}
....
void (*func)() = Print;
func();
Under Visual Studio 2008 its clever enough to get it down to a direct call instruction so it seems a shame it can't take it a step further?
I recently just changed my domain destination from the root (./) to (./Permias). Before I just did a website copy from visual studio to ./. So after changing my domain destination to ./Permias, I moved everything inside the Permias folder. But now when I tried to access the site it is as it's not there. What am I doing wrong? It just says the resouce cannot be found.