Sergey Ponomarev's Q&A profile
Visual C++ LNK2019 unresolved external symbol...
I am using MSVC++ .NET (2003) and the following error ( blue ) occurs when buildung my project source ( black )... Hope you can help me to find a solution! :) test-winrar.obj : error LNK2019 unresolved external symbol '_RARCloseArchive@4', referenced in function '"void __cdecl ExtractArchive(char *,int)" ( ExtractArchive@@YAXPADH@Z)' #define STRICT #include "stdafx.h" #include <windows.h> #include <stdio.h> #include <ctype.h> #include "unrar.h" enum { EXTRACT, TEST, PRINT }; static HMODULE m_hLib; // prototypes void ExtractArchive(char *ArcName,int Mode); void ListArchive(char *ArcName); void ShowComment(char ...Show All
.NET Development Framework 2.0 and Binary Datasets
I eagerly waited for this feature - serialize a dataset as binary. Writing/reading it to and from disk as binary is straight forward and there are numerous examples on the Net. What I was hoping for is that my Web service would be able to return a binary dataset rather than XML. I did a bit of research and could not find this scenario. What I tried is setting the " RemotingFormat" property of the dataset to " Data.SerializationFormat.Binary " just before the Web service returns the dataset (it has to be done when writing it to disk as binary). Not knowing if this has the desired affect, I called the Web se ...Show All
SQL Server 64-bit issue
I am running into a strange problem when trying to run my package against 64-bit version of SQL Server 2005. The package was initially developed with a CTP 2 version of SSIS. It has been running fine against a 32-bit bersion of SQL Server 2000. I created a new SSIS project, with the release version, and added the package mentioned above. Things still work fine against a 32-bit version of SQL Server 2000. However when I run the same exact package against a 64-bit version it doesn't work correctly. I am using a flat file connector - to pull data from a text file - and loading the data into a database table. Each time I run against the ...Show All
Windows Forms MDI Parent and Child form - Close Child
I am developing a MDI application with a couple of child windows inside the Parent window (frmMain). Each project consists of 2 child windows (frmData and frmPlot). I have a Main Menu which is used to create new Project / open new Project. I want only one Project at a given instant. So when I click on New project menu item (mnuNew_click event) it should close the already open child windows before creating a new project. I tried to use following code but it does not close any child forms. Has someone dealt with similar problem I am using Visual C++ .Net 2003 on Win XP -- private: System::Void mnuNew_Click(System::Object * send ...Show All
.NET Development i miss so many files like MSI MSVCR.dll on my pc wher i can douwnload this
and i would ask microsoft is posible to douwnload this stuf i mis this files I assume you mean msvcrt.dll; that's an important system DLL that a lot of Windows components use. If you can't copy it off another PC (c:\windows\system32), I'd have to recommend you consider re-installing Windows. ...Show All
Smart Device Development Debugging C++ Unmanaged code
Hi, I have a problem while trying to debug my unmanaged C++ application using Visual Studio 2005 and with Windows Mobile 5. Basically, I am able to run the application in the debugger, and even step into methods etc. But, all of this requires the use of a breakpoint. Right at the moment I have a deadlock which I would like to debug. I can reproduce the deadlock "at will", and want to use the debugger to "Break All"/"Pause" the session and to see the Call Stack of each thread. I can indeed pause the debugging session but none of the call stacks are available for the threads. As near as I ...Show All
Visual Studio Team System Post build steps and TFS
Hi all, I have a big broblem with TFS Here is the problem: I have a solution containing more than 200 C++ projects. Each of them has some post build steps that copies the output (and also configuration files such as XML) to a specific relative pathed directory. This works fine on desktop computers, but it does not work on TFS. What I observe is that TFS tries to move all output files to a central directory (Binaries\Mixed Platforms\Release for instance) at the same time the post build step is executed. The result is: Some files are not moved to the central output dir ( Binaries\Mixed Platforms\Release), (In case copy is ...Show All
SQL Server Retrieving Digital Signature from memory?
Would like to use the digital signature (i.e. PKI) from a smart card to authorize a PDF document. Is it possible to retrieve the PKI from Windows once its read in via the smart card using some sort of C++ or Java API call to apply it to the PDF form It is possible to retrieve the smartcard certificate. You should post on a Windows forum for details on how to achieve this. Thanks Laurentiu ...Show All
Windows Forms BackColor attribute doesn't affect changes
I'm having trouble in the designer getting BackColor to actually change the color of the control I'm using (ToolStripMenuItem). It defaults to a sort of blue color, but I want it to match the rest of the frame, much like the windows within Visual Studio.NET itself. I also don't seem to be able to remove the darker-colored margin to the left of my menu items. How do I do this in the designer Hello. Sorry to just pass you off to a link but it explains all of the available options including removing the margin altogether. I hope you find it useful... http://msdn2.microsoft.com/en-us/library/ms229638.aspx ...Show All
Visual Studio Tools for Office Outlook localization problem after install
I'm developing an add-in for Outlook 2003 in C# that uses localization (two languages: one default and one additional). The user can change the display language via a menu in the application form. Everything works perfectly in debug-mode and when the add-in is installed on a computer with Visual Studio and VSTO. However, when I install the add-in on a computer without Visual Studio and VSTO the change language-function stops working, i.e. only the default language is accessible. The language resource is placed in the install folder just at it should be, but for some reason the add-in can't access it. Does anyone have any idea wh ...Show All
Smart Device Development HTC Universal camera resolution
Hi ALL! I am working on capturing and processing images using the HTC-Universal's Camera. I tried successfully to run the CameraCapture and CECamera sample provided with Windows Mobile 5.0 Developer Resource Kit. Then, I tried to change CameraCapture for previewing captured images. This was succeeded by configuring the DirectShow capture graph, but the preview images are quite small. I tried to find a way to change camera resolution of HTC-Universal, but I could not. Could someone provide any insight as how to change camera resolution in DirectShow WM 5.0, especially for HTC-Universal I could find some related topics links below, but there ...Show All
Visual Studio could not load type Microsoft.VisualStudio.CommonIDE.TemplateWizard.Wizard
Hello, After installing VS.NET 2005 Beta 2 from the DVD (visual studio team suite beta experience kit), i installed a newer beta build . Now i had had to switch back to the Beta 2 that came with the DVD and i have all sorts of problems. Now, the latest problem is the one in the subject. Anyone can help Best regards, Lucian Chiriac I have the same problem. They have added the following Attributes [Microsoft.VisualStudio.CommonIDE.TemplateWizard. TemplateWizardSecurity ( "TempleteFile.zip" )] [Microsoft.VisualStudio.CommonIDE.TemplateWizard. TemplateWizardDisallowUserTemplatesSecurity ( false )] but I still ...Show All
Visual C++ Visual Studio .NET 2003
I have installed Visual Studio .NET 2003 (Enterprise Architect) in my system. When I compile my application.I am getting a lot of errors.But the same is getting compiled to my US Client.My Project settings and Client's project settings are synchronizing.Please help me Compiling... StdAfx.cpp c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxv_w32.h(230) : error C2065: 'DWORD_PTR' : undeclared identifier c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxv_w32.h(230) : error C2143: syntax error : missing ';' before 'GetWindowThreadProcessId' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\at ...Show All
Windows Forms External component has thrown an exception
Hi, I'm getting this error really sporadically in my Winforms app. Seems to happen when trying to display a form with a call to .ShowDialog(). It doesn't seem to happen on any particular form, just pops up now & again. I can close the application and restart it, then I can view the form without the error The application is running in a Citrix terminal server environment, the assemblies themselves are running from a network share. Can anyone think of what would be causing this error - why is it only happening every now & then (the worst sort of errors!). One post mentions a faulty network connection to blame, but our network ...Show All
Visual Basic Process.Start Probs
Ok i have created a program ,windowsapplication1, but got some probs. Here is my description: Form1,Button1 will run the process in Form2,Textbox1 and windowsapplication1 will immediately close Code: Button1_Click Process.Start(Form2.Textbox1.Text) Application.Exit If the file in Form2.Textbox1.Text is a folder or a word document my button opens the program with no problems. But if the file in Form2.Textbox1.Text is an "application .exe file" or a "internet connection dialer" the program open and immediately closes itself Hi, I tried your code with explorer.exe and a Windows Form program, both works fine (opened and stayed a ...Show All
