dmarze01's Q&A profile
Visual Studio Express Editions Please Help: Unhandled exception with SEC_WINNT_AUTH_IDENTITY_EX
When I run the program I get the following error message. Unhandled exception at 0x77ec4683 in WMI.exe: 0xC0000005: Access violation reading location 0x00000200. I've determined that it is caused by the Auth structure but I do not know why. Can anyone figure out and explain what is the issue. I'm new to C++ on a whole, and I'm to the extent of my understanding. Here is a copy of the source code. This is all you need to compile and run. ******************************* #pragma warning( disable : 4996 ) #define _WIN32_DCOM #define SECURITY_WIN32 #include <iostream> using namespace std; #include <comdef.h> #include <Wbemidl.h> #include <Security.h> #include <atlbase.h> # pragma comment(lib, "wbemuuid.lib" ...Show All
Software Development for Windows Vista Audio Playback problems in Vista and Windows Server 2003
We make a dll that is able to play any number of Audio files using subgraphs patched one or to any number of audio renderers present in the machine. It also does samplerate conversion and scales any bitdepth of sample. The problem is that on XP/2000 it works fantastic and when you try and run it on either Vista or Server 2003 it becomes unpredictable/unresponsive and you loose control over the subgraphs. I have trie reading all sorts of documenation and what others experienced but found nothing that explains or helps me to correct the problem. I suspect (pretty sure) the threading have been altered in the directshow but would like to have this confirmed and what im supposed to do about it. BMS-Joppe Mr G, Ive located ...Show All
SQL Server Space allocation for NULL
hi, what is the best method to know the space consumption by a table object is it DBCC showcontig another thing is i have a table named tbl1 and having 2 columns Id and name , when i put 5 records with name as null as below Id Name 1 NULL 2 NULL 3 NULL 4 NULL 5 NULL will sql server allocates space for null values if so how much Mat I am really surprised about your result... You can notice that the "Avg. Bytes Free per Page" will be increased when you replace any column value as NULL.. ie., NULL will not allocate any memory on the Page... And i am able to get only the following data.. and i am not able to get the Avg Bytes per Field.. Am i missing any options here... - Pages Scanned............. ...Show All
SQL Server Report builder cannot be shown on other user login
Dear all specialists, I am encountering a situation that the report buider feature cannot be shown on other user login. Would you guide me to solve this issue Thanks for your help Gary Ho Gary, For your user login, you will have to make sure that they have "Report Builder" under the "Edit Role Assignment". You will find this in your folder/properties area. Ham ...Show All
Visual Studio 2008 (Pre-release) Msg Keep Alive
Hi guys, Does WCF perform any kind of connection keep-alive message scheme For example, if I have a service provider that takes a minute to do some stuff would I have to set the inactivity timeout to be greater than that or will the connection remain active as long as the service provider is performing the operation great forum by the way TZuge I think it is really depends on shape of the channel we are using,if it is request/reply channel,inactivity time will be triggered after we are done with call only. if it is one way channel,behaviour may be different,I will try to test this behavior some time this week -Thank you Madhu ...Show All
Visual Studio Team System Cannot pass a GCHandle across AppDomains while using unit testing.
Got a manage C++ class in a class library that uses unmanaged C++ lib. The managed C++ class handles callbacks from the unmanage C++ lib by a delegate "gcroot<MessageDelegate^> m_MessageDelegate". To invoke the delegate I use the call "m_MessageDelegate->Invoke(nMsgId);". This works without any problem when running applications using this class library but when testing the class library using unit testing I got the error "Cannot pass a GCHandle across AppDomains" when I invoke the delegate. i know that the 'Cannot pass a GCHandle across AppDomains" has been an issue in work item tracking. I wonder if this is your issue also or something similar. The following link is a list of bug Fixes in ...Show All
SQL Server Set NULL to datetime parameter
Hi All, I have a problem while trying to set "NULL" value to my datetime parameters. I have two datetime parameters (AllowNull=True) on my report. (BeginDate and EndDate) it works fine in preview mode in reporting design. The problem occurs, if I try to set an emtpy value to these parameters in my asp.net application. The code looks like; Dim repParams(1) As ReportParameter repParams(0) = New ReportParameter( "BeginDate" , String.Empty) repParams(1) = New ReportParameter( "EndDate" , String.Empty) ----- ReportParameter method requires String parameters. If user set any datetime value, I am sending "String.Empty" value to my paramaters in order to set them as NUL ...Show All
SQL Server Integration services Globla variable and scheduling issue
I have one main package from which i am executing 5 other packages.I want to use one single DB connection in all the packages which i am declaring in Main package and it should be available in all the child packages. How can i Do this Few Variables are common is all the packages so i want to keep it Globally so how can i access those variables How can i schedule package in sql server Thanks Hi, Thanks for the answer I am able to get other variables or values in child package using parent package variable but I don't know how to assign any variable to OLD DB connection manager or FTP Connection manager(I am using both type of connection manager as well as Flat file connection) So please guide me how to Assign connection ...Show All
Connected Services Framework Stock quote sample not working
Hi, I'm trying to get the stock quote sample up and running, but I always get this error message: "The remote name could not be resolved: ws.cdyne.com" As far as I know the resolve should work just fine. I manually verified that the webservice at http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx exists, is reachable and works perfectly. Can it be that CSF isn't using the proxy server settings from Internet Explorer Greetings, Leon Zandman Are you working behind a proxy In that case the solution of your problem might be in identifying the proxy in your machine.config: <configuration> <system.net> <defaultProxy> <proxy ...Show All
.NET Development Is EventHandler is heavy to use?
I have one application and in that I have to show the waitcursor whenever any operation starts. NOw the operation starts from one class file. and it's not a form. to change the cursor we need to give the form or control reference. Now I want to use eventhandler for this. so whenever i need to change teh cursor i can raise one event and on that form application i can change the cursor. but i have read somewhere it's heavy to use eventhandler. don't use it for small purposes. Why it's heavy Can anybody tell me. I would gess that's because delegates in .NET are implemented as "multicast" delegates. So when you have the feeling to create a single pair of references (to the instance and to pointer), you in fact crea ...Show All
.NET Development Conference app
I want to create a conference software. I'm new to C#, I've worked until now with Visual Basic 6, Java and C++. The basic modules are: - video module - audio module For the video part I managed to sort it out... take pictures at every 10-20 ms with the webcam, save them and then send the files to the other end. Now the next thing... how can I send audio streams between 2 computers I'm thinking at the following algorithm: record 10 seconds then save it as a wav file and send it to the other end, but I think this is a rudimentary method and also I want to create the conference in real time . Can you suggest me something I just need a little push meaning some links that I could study. Thanks in advance. ...Show All
Windows Forms how to bind a directory fileInfo to a data grid
can some one help me out binding a dir info object to my data grid i have built a homemade directory browser and i need to get it in my grid and sort all colums even file type thanks if you can help You needn't go to all that work. DataSource properties take anything which implements IList or IListSource which include Arrays. All you need do is: DirectoryInfo di = new DirectoryInfo(@"C:\"); FileInfo[] files = di.GetFiles(); this.dataGridView1.DataSource = files; ...Show All
Visual Basic Leaving a textbox
Just want a simple Messagebox to appear if the user leaves a textbox without entering anything and be in focus again. Thanks everyone for the help This is what I tried, Private Sub OddsTextBox_Leave(ByVal sender As Object, ByVal e As System.EventArgs) Handles OddsTextBox.Leave If OddsTextBox.Text.IsNullOrEmpty Then MessageBox.Show("Please enter your odds") OddsTextBox.Focus.Equals(True) End If End Sub ...Show All
Visual C++ Internet file downloader : resume facility
Hello, Am trying to create an internet file downloader. I am using the WinINet APIs. My question is how do i allow the user to pause the downloading and let it continue, from where he left, the next time he starts the s/w Is there a way where i can tell the FTP server, the position in file, from where to start the transfer For such issues, please use the newsgroups at http://msdn.microsoft.com/newsgroups . For the scope of these forums, please take a look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1 OTP Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio Express Editions ListBox Verticle Scroll Bar event?
I will make this question short and sweet..(compared to my pervious essay's ) Is there any way to generate a ListBox scroll bar event This is a popular request, time to do something about it. Add a new class to your project and paste this code: using System; using System.Windows.Forms; public class BetterListBox : ListBox { // Event declaration public delegate void BetterListBoxScrollDelegate(object Sender, BetterListBoxScrollArgs e); public event BetterListBoxScrollDelegate Scroll; // WM_VSCROLL message constants private const int WM_VSCROLL = 0x0115; private const int SB_THUMBTRACK = 5; private const int SB_ENDSCROLL = 8; protected override void WndProc(ref Message m) { // Trap the WM_VSCROLL message to generate t ...Show All
