Luca_Dellamore - MS's Q&A profile
Visual C++ Internal Compiler Error when using template
Here is the code: template<typename Left, typename TypeBase> class unary_op { Left lt; public: unary_op(const Left& lt) : lt(lt) {} /*template<typename T1, typename T2> struct result_2 { typedef typename TypeBase::template result_2<T1, T2>::result_type result_type; };*/ template<typename T1, typename T2> typename TypeBase::template result_2<T1, T2>::result_type operator()(const T1& t1, const T2&a ...Show All
SQL Server Access DB2 on AS/400 using IBM OLE DB Provider
Hi, I am using the IBM OLE DB Provider (IBMDASQL) provided with Client Access (IBM) to access a DB2 database on an AS/400 (iSeries). Using an OLE DB Source in the data flow and Access Mode set to "OpenRowset" this works fine (even though I think it is quite slow). However, when I change the Access Mode to "SQL Command" my data flow fails at the OLE DB Source component - not giving me any meaningful error description (only the mysterious "... th ...Show All
SQL Server SQL SERVER 2000 - Requirements Question
Hello everyone, Just a quick easy question for you guys. I am studying for Microsoft's Exam 70-229 (SQL Server 2000 - database design and implementation). In the book it lists as requirements Windows 2000 Server in order to run Microsoft SQL Server 2000 Enterprise Edition. The book comes with a evaluation copy of SQL Server 2000 Enterprise Edition, but I think it's limited to 90 days or similar. I have Microsoft XP Professional Editi ...Show All
Visual Studio Tools for Office Accessing shared calendar occurrences
Hello all, When I am trying to access occurrences from a recurrence in a shared calendar, I notice the following problems : - I am getting the same appointment (the master appointment) when using the Restrict method on the items collection. - an exception is raised when I try to use the GetOccurrence method on the appointmentitem object : message : "Object reference not set to an instance of an object." These two problems disa ...Show All
Visual C++ gSOAP and TIME_WAIT on windows 2000 SP4
After invoking a webservice method with gSOAP, the socket goes into TIME_WAIT state. I have tried SO_LINGER and SO_DONTLINGER with no effect. Is it possible to avoid the TIME_WAIT state It caused trouble if there are hundreds of socket in TIME_WAIT state( gSOAP failed to do further connection). KEEP_ALIVE might be an option, but I don't know if the socket is still valid in the call. TIME_WAIT occurs when the soc ...Show All
.NET Development WMI MSNdis_80211_ServiceSetIdentifier query returns garbage
Hello, I am using the below code in order to retrieve information about the WLAN network environment. Unfortunately only the first result in the ManagementObjectCollection seems to contain valid information. The other objects seem to contain garbage. Does retrieval anybody know of any issues with WMI and the MSNdis_80211_ServiceSetIdentifier retrieval ManagementClass mc = new ManagementClass ( "root\\WMI" , "MSNdis_802 ...Show All
SQL Server Standard Classes not understood in report server
I created a new page in report server directory which has the following line ConfigurationManager .AppSettings[<key] The page throws error that it cannot understand "ConfigurationManager". I thought if my application was running under .net 2.0 framework, these classes are readily available I'm unclear about where exactly you're using this code Did you put a standalone ASP.NET page in the reportserver v ...Show All
Windows Forms Prerequisites problem using Click Once
My application works fine on my development machines which already have the Framework installed, but trusting the prequestite feature to install the framework or Windows Installer on machines which need the pre-req. install fails. The browser reports CGI Error: The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: (...with no more info...) I've had no look in searching the ...Show All
Visual Studio Team System Team Build - PublishRun Error
My first Team Build build, errored out on "Build process and custom task errors". I get: Error PublishRun: Only one usage of each socket address (protocol/network address/port) is normally permitted My code does nothing with sockets which leads me to believe this is an internal TeamBuild error. Building just one configuration at a time is a fine workaround for now. Thanks. ...Show All
Smart Device Development C++/CLI for Smart Device
Hi alls, I tried to create MFC and WTL projects for smarts devices, but I can't find in Project Setting options possibility to use /clr option of compliler. Is it possible to use C++/CLI for Mobile Device, PPC 2003 /2005 I use VC++ 2005 Profesional Edition. thank Are there any plans to bring support for C++/CLI to Windows Mobile/WinCE platform and .NET CF I am particularly interested in using it as a means t ...Show All
Smart Device Development Picture format in Contacts/Addressbook ?
Hi, I was wondering which picture format the image got, which is saved aside with a contact in the addressbook. I can retrieve the pictures "data" through the PIMPR_PICTURE property using an IStream interface, but what exactly do I get Any ideas Cheers, Stefan Look at the PimExProvider and PictureDialer samples in the Pocket PS SDK. They both show how to extract a bitmap from the stream. ...Show All
Visual Studio Dynamic file references linked to build configuration
I am unsure if this is the correct forum but I am currently attempting to implement an automated build process for my company as well as streamlining the current build process for local builds. We currently use VS .NET 2003 while we await our installation media for VS .NET 2005 Team Edition (Tester version). Our projects are stored in CVS. I am willing to use MSBuild if that will help me. At the moment I'm using NAnt and Draco.NET. However ...Show All
Visual C++ Function pointer and native DLL call
Hello, I have the following problem: I used an exsiting DLL in my C++/CLI program. This DLL get a function pointer back to the calling program. The DLL regulary calls these function. To understand what I did here the coding: In Borland C++ a working the solution is like: 1. Declare it extern "C" __declspec (dllimport) int __stdcall _DGTDLL_RegisterStatusFunc (int __stdcall (*func) (char *)); ...Show All
Visual Studio Tools for Office How can I insert and work with images?
I have a program running on a linux server that serves out barcodes for reports. I created a web service in c# that grabs the barcode graphic from the server and returns a base64-encoded string of the barcode image the server creates. I want to insert this graphic in the upper-right hand corner of the word document and I'm thinking the header is a good place for it, but I'd also like to consider positioning a floating image as well. I've bee ...Show All
Visual Studio Express Editions How to suggest a value
Hi, I have a windows form with some textboxes and other objects connected to a table adapter and I'm using a binding navigator. When the user presses the new item button, I want to suggest a value in textbox1, but the value doesn't appear because the binder deletes after I put hit there. Is there a way for me to put a value (a calculated one) in a binded textbox Thanks for your attention. Romeu Hi Romeu, ...Show All
