August 10th, 2010 12:16 PM
Thank you for your answer! It would have been so easy to use subs, but unfortunately a virtual disk driver is a requirement of this project. Later other features will be added to it,...
August 10th, 2010 11:20 AM
I don't have an actual development question, but rather need some indications on finding some documentation, articles or, if possible, open source code for a virtual disk driver for...
January 13th, 2009 12:14 AM
Doesn't really fit in here, but: http://blogs.msdn.com/architectsrule/archive/2008/07/01/real-life-dilbert-manager-quotes.aspx
January 7th, 2009 10:24 PM
1) When you populated the array you forgot to increment "cought". The amounts for all fishermen are stored in fish;
2) You should print fish[count] not fish[cought]. cought is always...
January 7th, 2009 05:04 PM
You should not free the message buffer in the C++/CLI application. From MSDN:
January 6th, 2009 09:58 PM
Sure seems so, from the documentation.
January 6th, 2009 09:34 PM
Have you tried MySQL ODBC Connector or MySQL C++ Connector?
January 6th, 2009 08:28 PM
Can you post a screen of your visual studio window, AFTER you create your project?
January 6th, 2009 07:10 PM
First thing first: use parameterized queries! You'll make the code easier to read and safer.
Regarding the date issue: will that conversion work on all systems (for all locales)? You should not...
January 6th, 2009 07:01 PM
You can further enhance this and create an abstract factory object that will give you conceret BaseClass objects based on some input.
Then you would do the Child initialization in the factory and...
January 6th, 2009 06:58 PM
Why not use some kind of lazy initialization + dependency injection and forget about that second method.
Dim Something As New Child()
January 6th, 2009 05:14 PM
Well, which one is it? Visual C++, Visual C# or Visual Basic.
To create and design a C++/CLI Windows Forms Application (note that this is managed C++) you must:
- start Visual C++ Express;
January 6th, 2009 05:07 PM
Create a method in the abstract class and call that method in it's constructor. Or make the method MustInherit (pure virtual) and provide specific implementations in subclasses and still, call it in...
January 6th, 2009 03:38 PM
See the example from this article, in the community content section.
December 31st, 2008 08:30 PM
Search in a process address space (memory) or in the process' executable?
December 31st, 2008 03:48 PM
Select all the code (CTRL-A) and press CTRL-Shift-F.
later edit: sorry, it is CTRL-K, F (meaning CTRL-K and then F)
December 29th, 2008 05:32 PM
In this case it is ok to do:
string s = textBox.Text.Trim();
//use the value
since the text box cannot have a null text.
December 29th, 2008 05:11 PM
Maybe I'm not up to date with the new trends, but what exactly is the purpose of having a DLL embedded in the executable? Doesn't this contradict with the whole concept of Dynamic-Linked Libraries?...
December 28th, 2008 06:21 PM
mshtml.HTMLLinkElement objLink = null;
mshtml.HTMLDocument objMSHTML = new mshtml.HTMLDocument();
mshtml.HTMLDocument objDocument = null;...
December 28th, 2008 06:00 PM
Here's your answer: http://www.codeguru.com/forum/showthread.php?p=1796218#post1796218
December 28th, 2008 06:00 PM
It is straightforward. The needed steps are:
- Open your c# project;
- Right click the project and select "Add refrence";
- In the "Add reference" dialog select the COM tab;
- Select ...
December 28th, 2008 05:56 PM
Then how about this:
DECLARE @Quarters AS int
SET @Quarters = @Quarter1 | @Quarter2 | @Quarter3 | @Quarter4
WHERE Sales.FiscalYear = @FiscalYear
December 28th, 2008 05:04 PM
How about profiling? In Visual Studio 2008 you can use the integrated profiler. Otherwise there are other tools out there, such as DevPartner (they have a community edition with a 1 month free...
December 28th, 2008 05:01 PM
One way would be to use dynamic SQL only for the SELECT clause and test only the valid quarter values.
December 28th, 2008 04:59 PM
Storing the dll as a resource(as RT_RCDATA) would not be a problem. But loading it will be. I actually believe it is not possible.
Unless you temporarily save the resource to disk and use...