Pieter Pabst's Q&A profile
Visual C++ lib allways recompiles from scratch
Hello! From existing c++ sources (linux sources) I have created a project to make a static library. The project was initially empty and I have added all cpp and hpp files to different filters which correspond to the subdirectories of my already existing sources. I have not used any directories created or supplied by VS. Now when I build the lib, it allways recompiles all sources from scratch, ignoring any previous builds. Any hint of what is going wrong rolfB Given that this is a brand new project built from scratch, my guess is that it's just a project configuration problem. On the project settings, make sure "Enable Minimal Rebuild" is switched on in the C/C++-->Code Gener ...Show All
.NET Development Steppers and Exception filters
I'm having trouble figuring out when a stepper will complete when execution enters or leaves an exception filter. Investigating a bit, guessing a bit, and pestering Mike previously a bit, I've come to the following conclusions. Are these accurate Am I missing anything If a stepper is issued, and execution enters an exception filter, the stepper will complete: - If SetInterceptMask( CorDebugIntercept::INTERCEPT_EXCEPTION_FILTER ) is called - Regardless of whether the step range includes the filter's code - If it is not a JMC stepper that lands in non-user code - If it is a StepIn - If it is a StepOver and the stepper is issued in a frame with depth greater than or equal to the frame containing the filter (even though a new frame will b ...Show All
Visual Studio Express Editions ShellExecute
Is there a C# alternative of C++ platform sdk function ShellExecute It's used to open a file in an associated program (among other uses). Try something like this: System.Diagnostics.ProcessStartInfo info = new System.Diagnostics.ProcessStartInfo("c:\\test.png"); info.UseShellExecute = true; info.Verb = "open"; System.Diagnostics.Process.Start(info); ...Show All
Visual Studio 2008 (Pre-release) "DLL version not correct" when loading an image from the assembly
This is referencing the May CTP (beta 2): Some users of my application are getting crashes: Error at element 'BuddyList' in markup file 'DefaultUI;component/contactlist/contactlist.xaml' : '/DefaultUI;;;component/Images/icon.ico' string is not a valid value for 'Icon' property of type 'ImageSource'. Error at element 'BuddyList' in markup file 'DefaultUI;component/contactlist/contactlist.xaml' : '/DefaultUI;;;component/Images/icon.ico' string is not a valid value for 'Icon' property of type 'ImageSource'. Error at element 'BuddyList' in markup file 'DefaultUI;component/contactlist/contactlist.xaml' : Cannot convert the string '/DefaultUI;;;component/Images/icon.ico' in attribute 'Icon' into an object of type 'System.Windows.Media.ImageSou ...Show All
Visual Basic MSFlexGrid/DataGrid and Access
Hai, I am doing a shopping-cart program. As the number of inputs vary between different customers based on their requirements, i have to use Datagrid or Flexgrid for my program. I dont know how to save the content from grid to the backend Access. I am bit confused which type of grid to use, also which one makes the task easier also. Please help me to solve this. ( Is any Sample codings available for reference ) Thank You. The inputs to be made will be in the form of codes like 02041021. For that I'll be having a separte button. So that on clicking it, a form which displays all the details of the product code along with its name and rate will be displayed.( I used Flexgrid to display these details.) ...Show All
SQL Server TRANSACTIONS in SSIS (error: The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION."
I'm receiving the below error when trying to implement Execute SQL Task. "The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION." This error also happens on COMMIT as well and there is a preceding Execute SQL Task with BEGIN TRANSACTION tranname WITH MARK 'tran' I know I can change the transaction option property from "supported" to "required" however I want to mark the transaction. I was copying the way Import/Export Wizard does it however I'm unable to figure out why it works and why mine doesn't work. Anyone know of the reason If you are having three Execute SQL tasks like: BEGIN TRAN | | | V <Your SQL> | | | V END TRAN Then, you hav ...Show All
Visual Studio 2008 (Pre-release) netTcpBinding and Java Web Services
I understand that netTcpBinding uses a proprietary protocol to communciate between WCF client and WCF server or vice versa. (If this is not true, please let me know.) Are there any plans to publish this protocol so that third parties can write a plug in for WCF client that communicates with java web services or that lets a WCF service to communicate with a java web service client using TCP transport channel If there are already libraries available, please let me know. The sole reason for my question is to boost the performance between WCF Client to Java Web Service or vice versa. Please do not comment on the virtues of using http only as it is not related to my use case. Thanks. Correct TCP/NamedPipe are not meant to be int ...Show All
Visual Studio Team System Explanation of branching and normal workflow
Can someone describe more about how branching works from a developers perspective Or is there already information about this somewhere that I haven't found This would be very useful for us coming from ClearCase / Subversion / some other version control system. What I really would like to see is an article or blogpost about how two developers working with a project/solution would do to create a branch, let one developer use this branch for a few days while the other is continuing on the normal main branch. After a few days a merge should be done. I would like to see the steps necessary together with an explanation why this is the best way to do it if there is more than one way. Suggested outline: - Assume both developers has thei ...Show All
Visual C++ Borland C++ V4 and Visual C++
I have been asked to upgrade an old system. The person in question has the files which were created in Borland C++ V4. However i do not have Borland C++, is there any version of Visual C++ that can read the files or will i need to source a copy of Borland C++ That makes sense. I did not realize that that is what you were asking but it seems to be a valid question. I don't know of a way for VC to read the Borland project files and I doubt that such a thing exists. If it does then the quickest way to find it is to search MSDN for Borland. You could search using the two words Borland and project. You are more likely to get help in a forum or newsgroup that does not specialize in VC as this one does. I ...Show All
Visual C++ how to enter ring0 mode without driver?
how to enter ring0 mode without driver Because i want to get cpu msr register, Is there anybody can help me It shouldn't be in a forum for C++ language issues, that's for sure. Try: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.win32.programmer.kernel&lang=en&cr=US ...Show All
Software Development for Windows Vista Single-instance DCOM server problems with high/low integrity levels
I am working on an application that employs a single-instance DCOM server. The application works fine on all other versions of Windows except Vista. There is a strange behavior that I observe on Vista in regards of the instantiation of the singleton COM interface if there is a difference between integrity levels of the server and client applications. The single instance is accomplished by having the singleton interfaces declared with DECLARE_CLASSFACTORY_SINGLETON ATL macro. Additionally, there is a code in the application that ensures only one instance of application is running by utilizing a named mutex. The application checks if the mutex exists, exits if it does and stays running otherwise. The scenario of the problem I pbserve is the ...Show All
SQL Server NEED COMMENTS: Why SQL Server Allow so
this is not a question i need nice comments on this "Why did SQL Server can have same name of indexes on different tables, but Oracle do not" (i maen SQL Server allow same Index name, for any number of time on different tables, but Oracle dont allow to do so) my personal Opinion is , Oracel is Right.(if so then why SQL Server allow this) what about you Regards, Thanks. Gurpreet S. Gill hi thanks to all who send such a nice comments. i think this is a question of long debate, but i find two nice comments i) Indexes having scope only at table level(means, no table can have any relation with index which is on other table), so why to have unique name, for whole database. ii) Oracel having only ...Show All
Smart Device Development a socket was attempted to an unreachable host?
Hi, I have opened my middle tier application with VS2005,CF2.0 (which is developed with VS2003(CF1.1)). When I run on VS2003 and pocket pc emulator 2002 , it is connected to server with out any error. but when I open on VS2005 (pocket pc emulator 2003) It is giving the following error. A socket was attempted to an unreachable host. can u plz give me the solution fot this if u know. Hi, I got finally connected by loading ActiveSync 4.0 version and PPL. If any face the same problem you take my help. bye bye ...Show All
Visual Studio Tools for Office to create drop down list in excel file with VB.net
hi all, i need to create a drop down list in an excel file . in excel what we do is select a particular range and create a name for it. insert> name> create (menu format in excel) then in another worksheet select a cell where we need the drop down list . then in data > validation menu we select "list " and specify the earlier defined name in it. I need to create this programmatically in vb.net... i search internet for sample code... but couldnt find... .Thanks in advance. Hi Meby As this question isn't related to the VSTO technology, it's not the best place to ask :-) More appropriate would be the office.developer.automation newsgroup (actually, excel. ...Show All
Visual Studio Team System Problem Unit Testing ASP.NET Application
I'm trying to unit test my ASP.NET application. I have two problems: I need my application's HttpModules and HttpHandlers to have total control over the requests as my ASP.NET application is actually an Atom server. Effectively I have IIS forward all requests to ASP.NET; when I try to run my generated unit tests that have [HostType("ASP.NET")] attributes I get an error when accessing the VSEnterpriseHelper.axd file (information invalid ). I have code that does internal functions in the ASP.NET app that I need to test without actually invoking URLs at all. So I just removed the [HostType("ASP.NET")] and [UrlToTest("...")] attributes and ran the tests. Now the problem is I need a way to access my web.config from within the unit tes ...Show All
