Mike Hildner's Q&A profile
Visual C++ From C++ Multiple Inheritance to Interfaces.
Hi, I want to understand what was/were the problem(s) with c++ mutliple inheritance model except Diamond Problem . If we can solve the diamond problem with Scope Resolution operator and we can achieve inheritance and polymorphism, then why we need to introduce a new concept of Interface. I'm not against the interface concept, it is just that I truly want to understand Interface edge over c++ multiple inheritance model. what was/were problem(s) with this model. what can't be achieved by c++ multiple inheritance . Thanks. My guess is that single inheritance plus multiple interfaces was chosen for: 1. Simplicity. 2. To facilitate language interopera ...Show All
Visual Basic mcisendstring x64
Hello, I got a little problem. I would like to play sounds with my application. I tried already a lot of methods. I tried the mcisendstring method too. This works very well in 32 bit (x86 compile), but not in 64 bit (x64 compile). But why does this not work in x64. I've installed Windows XP x64 so normally it has to work. Can somebody please help me Sincerely, Sascha Zeidler Hey, First of all, thanks for your answer, but I know already that they would like to port this API to 64 bit, but why does this not work in 64 bit Windows There is no error message, but it does not play any sound when I compile 64 bit, but when I compile 32 bit, it works. Sincerely, Sascha Zeidler ...Show All
Visual Studio Team System More Warehouse problems
After a TFS rebuild I am no longer able to process the OLAP cube. Initially TFS (and SQL) was built on a server with Australian regional settings. However the rebuild was done on a server that had default US regional settings. I have since changed the default collation for the database server back to the Australian collation (to fix errors in comparing and merging files). The warehouse is still not working though. It seems like its something to do with date formats, although I am not 100% sure. Aus date format is the same as British (ie DD/MM/YYYY), eg today is 06/04/2006. The value of TfsWarehouse.Today.Date was "4/6/2006", we tried changing it to "6/4/2006" but it still returned the sam ...Show All
Software Development for Windows Vista Enabling aero glass?
Is there something in particular that has to be done to enable this I've installed Avalon and the other pieces with it, updated my gfx driver the the latest version from nvidia, but I'm still getting the plain aero, and I don't see anywhere to enable aero glass. My system is far above the requirements needed for it: Athlon64x2 4400, GF7800GTX, 2GB RAM... Hello i have sony fs315e laptop with 915 express chipset but cant get aero, what driver do you use regards bob ...Show All
SQL Server Datadriven Subscription - Web Archive Improper formatting
Hi All, I have a data driven subscription with Web Archive rendering format. (SQL Reporting Service 2000). When a user gets this email, the format is not alligned properly, even, lines are missing in the report. What could be the problem, is this a known issue if yes, any patches available Please help me. Thanks, Nagesh There are no replies to this query since one week... Is this a silly query or tough one... ...Show All
SQL Server Unable to Access HTTP Endpoints from C# application when using Integrated security
I hope you can help me to solve my issue. I created an endpoint and have an application to consume the methods from endpoint. Every thing work fine when i use the Impersonation with specific user id and password. In other words i am using Authrentication method = windows and Impersonate = true, user id = "[DOMAIN\userid]" password = "password" in web.config. But this is not the way i want to use endpoints in my application. I want to make it work without any user id and password in Impersonate section of web.config. The end points must be accessible to user using their own credentials. By the way i am using Authentication = (Integrated) in Endpoint definition and the same in IIS. In my .net application i am using proxy.Credentiats = Syst ...Show All
SQL Server server timeout
In SQL server management studio: When doing ex count(*) for a big table or create index or like, I get timeout error. The timeout setting = 0 Even timeout = 888888 gives timeout Does not the query execution timeout parameter work Or are there other parameters needed to be ajusted Don't know if this will help, but maybe you must install the hotfixes for SP1. They are sql2005-kb918222-x86-enu.exe and sqltools2005-kb918222-x86-enu.exe go to http://support.microsoft.com/default.aspx/kb/918222 for more info. ...Show All
Visual Studio Express Editions P2P Help needed
HI, I would like some help in trying to create a P2P program but im not sure where to start, what codes do i need The program will be used for sharing files to other users Im using Visual basic 2005 express edition and would like help tj2007 If your ISP gives you a webpage area you can FTP files up there and give your friends the URL (link) to download the files from. I set up a 'quick and dirty' webpage recently just to meet the requirements of a 'shareware provider's' requirements to list a program. To share a file, I didn't have to actually create a webpage, just FTP the file up to the server. ...Show All
Software Development for Windows Vista I get linker errors for an empty project produced by DirectShowWizard VS.NET2003
Hi everyone I installed the DirectShow Wizard for VS.NET2003 in http://tmhare.mvps.org/downloads/DSWizardInstaller.zip , and produced a default project. When I build it It gives the following linker error. Could anyone know the reason for this error Thanks for your attention from now ------ Build started: Project: Test, Configuration: Debug Win32 ------ Compiling resources... Linking... Creating library Debug\Test.lib and object Debug\Test.exp Test.obj : error LNK2001: unresolved external symbol "class ATL::CAtlBaseModule ATL::_AtlBaseModule" ( _AtlBaseModule@ATL@@3VCAtlBaseModule@1@A) TestProp.obj : error LNK2001: unresolved external symbol "class ATL::CAtlBaseModule ATL::_AtlBaseModule" ( _A ...Show All
Game Technologies: DirectX, XNA, XACT, etc. The Unofficial "Hooray I'm Done With my DBP Game" Thread
When you get done with you game and sumbit it, crow about it here. A little over 24 hours left until the deadline and I'm so amazed I'm done, so much better than college Thanks to ZMan for his help, good luck all. I'll post the source code for my submission once the deadline hits. Bill It's done and submitted now. It's called Joe's Fuel Harvest Service. The game consists of mining planetoids for radioactive mineral to fuel the ships of Spacewar. Link to screenshots on the project page Youtube Link I can't wait to see all the entries. ...Show All
Visual Studio Express Editions programing help
I am taking a online c++ programing class. Since its online i have no real instructer to help me understand the course. Our finals are due friday and one of the programing problems on it has got me stuck. I would really appreciate it if some one on here would be willing to help me by either giving me pointers in the right direction or making the program for me its not that its hard i just dont have the materials needed to help me figure it out. heres the problem Create a program which will generate a 5x5 matrix of random generated numbers using a muti dimensional array. Your values should range from 1 to 100. You will need to display the array to the screen, then the program will display the max value for each row and th ...Show All
Visual C# How to convert C++ struct to C#?
I’m currently convert VideoDriver class in TightVNC (VideoDriver.h, VideoDriver.cpp) to C#. I met a problem when convert some structs type to C#. C++ -------------------------------------------------------------------- typedef struct _CHANGES_RECORD { ULONG type; //screen_to_screen, blit, newcache,oldcache RECT rect; RECT origrect; POINT point; ULONG color; //number used in cache array ULONG refcolor; //slot used to pase btimap data }CHANGES_RECORD; typedef CHANGES_RECORD *PCHANGES_RECORD; typedef struct _CHANGES_BUF { ULONG counter; CHANGES_RECORD pointrect[MAXCHANGES_BUF]; }CHANGES_BUF; typedef CHANGES_BUF *PCHANGES_BUF; typedef struct _GETCHANGESBUF { PCHANGES_BUF buffer; PVOID Userbuffer; }GETCHANGESBUF; ty ...Show All
.NET Development SMTP client timeout issue with addresses that include an underscore.
I am using system.net.mail to send out notifications for signups. my problem is that it works just fine unless any of the email addressess entered have an underscore. Like foxone@hotmail.com will work just fine but fox_one@hotmail.com will timeout. Does anyone know what might be causing this. it shouldnt. I've done it and works fine over here. I would suggest, as silly as it sounds, to disable your anti virus software and see how that goes. If you can, try to increase the timeout limit as well of the smtp client object to double the time and see if it still times out. ...Show All
.NET Development 411 Error on WebRequest
Hi, Im trying to make a simple WebRequest to get some data from C# web service, in this case I'm getting a string back. It works perfect when I run the web service locally using the debug mode in VS 2005, but when the service is deployed to a server I get 411 Length required. Any suggestions Thanks, Here's the content header from the response: {Connection: close Content-Length: 24 Content-Type: text/html Date: Wed, 27 Dec 2006 16:37:02 GMT } Below is my simple request [CODE] WebRequest req = WebRequest.Create("http://fdsvchn02w/Serv/Service.asmx/HelloWorld"); req.Method = "post"; WebResponse resp = req.GetResponse(); [/CODE] ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Point sprites in XNA
I was wondering if i would be possible to display point sprites (in 3D) using the BasicEffect When I specify the position and the texture, I see colored points where the sprites should be (really the size of pixels). I guess the BasicEffect doesn't support point sprites, but because I cannot find the PointScaleA-C renderstates in XNA, I still have some hope. I found the PointSpriteEnable renderstate remained functional: setting this to false would draw black pixels at the position of my point sprites. I've been trying to get point sprites to work on my XBox. The shader example you give works fine on XP but when I run it on the XBox it just shows up as black boxes. Any idea what I need to do differently in the the pixel shader to ...Show All
