Markus Fritz's Q&A profile
Visual Studio Express Editions Limitations of Visual C++ Express Edition
I have created a very simple C++ hello world program, and it seems that VC++ EE will compile the program, but it's not able to create a .exe that I can execute from the command line. Is it correct that VC++ EE cannot create .exe files and that you have to buy something from Microsoft in order to be able to create them woodland30033 wrote: Dennis, thanks for your reply, but I have created a simple Hello World program that does not use "stdafx.h" or the pre-compiled header and when I take the .exe to another Windows box, it does not work. Pre-compiled headers should not have anything to do with it, although you should use a project that doesn't have them. I suspect that the projec ...Show All
Visual C++ LINK ERROR _errno
hi, i've got a linker error :( my project is /MTD additionnal dependency " libcp.lib" ------ Build started: Project: romustrike, Configuration: Debug Win32 ------ Linking... Searching libraries Searching C:\Program Files\Microsoft DirectX SDK (December 2006)\Lib\x86\Dxerr8.lib: Searching C:\Program Files\Microsoft DirectX SDK (December 2006)\Lib\x86\dplayx.lib: Searching C:\Program Files\Microsoft DirectX SDK (December 2006)\Lib\x86\dxguid.lib: Searching C:\Program Files\Microsoft Platform SDK\Lib\winmm.lib: Searching C:\Program Files\Microsoft Platform SDK\Lib\wininet.lib: Searching C:\Program Files\Microsoft DirectX SDK (December 2006)\Lib\x86\dsound.lib: Searching C:\Program Files\Microsoft Platform SDK\Lib\use ...Show All
Visual C++ Linking issues
I have a MFC Dll. The issue seems to be precompiled headers. When I compile the project using the option "Create Precompiled Header," it works fine. However, when I later select "Use Precompiler Header," it doesn't link properly. I simply get a... error LNK2001: unresolved external symbol "int __cdecl _AfxInitManaged(void)" ( _AfxInitManaged@@YAHXZ) Using Visual Studio 2005 Professional. What seems to be the problem :| I never knew it was possible to do so. I did so, but I recieve another error that is unfamiliar to me: fatal error C1854: cannot overwrite information formed during creation of the precompiled header in object file: 'd:\w00t\visual studio 2005\projects\quicklin ...Show All
Smart Device Development GPRS Connect at Startup
Hi again (again), Last question, I promise. I'm looking to start the GPS up wen the device starts. I don't mind changing hte registry for this, or doing it programatically. All the stuff I have found is either for C#, or the registry info doesn't exist in my phone. Once again, any help would be very appreciated. Cheers, Dan. HANDLE *phConnection = NULL; MessageBox(NULL,L "here" ,L "Error" ,MB_OK); HRESULT hr = ConnMgrEstablishConnectionSync(&pConnInfo, phConnection, 15000, (DWORD *)CONNMGR_STATUS_CONNECTED); Should be HANDLE hConnection = NULL; DWORD dwStatus; MessageBox(NULL,L "here" ,L "Error" ,MB_OK); HRESULT h ...Show All
Visual Basic Raise Events from one exe to another exe
Hi... My previous wasn't answered in the first place... Regarding on this issue... I was using a windows service on my current project.... And I would like to fire an event by the windows service, then my application would trigger that said event... Is it possible... Because... I don't wanna use timers on this issue... Regards, John Cuison I think it would get very ugly to try and use "events". But one possibility is using a file system watcher... i.e., your service creates a file, which your application is looking for... ...Show All
SQL Server fishing for a clue. to loop or not to loop
I have a table called Tbltimes in an access database that consists of the following fields: empnum, empname, Tin, Tout, Thrs what I would like to do is populate a grid view the a select statement that does the following. display each empname and empnum in a gridview returning only unique values. this part is easy enough. in addition to these values i would also like to count up all the Thrs for each empname and display that sum in the gridview as well. Below is a little better picture of what I’m trying to accomplish. Tbltimes |empnum | empname | Tin | Tout | Thrs | | 1 | john | 2:00PM | 3:00PM |1hr | | 1 | john | 2:00PM | 3:00PM | 1hr | | 2 | joe | 1:00PM | 6:00PM | 5 ...Show All
Visual Studio Team System TFS Warehouse exception TF10010
As shown by the event included in this message, TFS Warehouse is getting an exception due to unexpectedly encountering the end of a steam while calculating code churn. It seems to happen on more than one sql script file. Is there a problem with having sql script files in TFS or is there something wrong with particular script files or is this a bug in TFS or ... Event Type: Error Event Source: TFS Warehouse Event Category: None Event ID: 3000 Date: 12/12/2006 Time: 2:21:39 AM User: N/A Computer: <TFS server> Description: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative ...Show All
Windows Forms How to reflect Selected listBox items from One Form to Another Form.
Dear Friends i have a form Form1 with a listbox and a button. and i have a form Form2 with a listbox and a button when i click Form1 button my Form2 should open with a default list items. when i select some items in Form2 and after clicking the button of Form2 my selected items should be added to From1 Listbox. any suggetions Ragrds Ranadheer Hi Ranadheer, see this post, it might point you in the right direction: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1102064&SiteID=1 Thanks Mark. ...Show All
Visual C# SetDllDirectory
Is there a way to set multiple directories in the search path using SetDllDirectory I've been able to get it to work for a single directory but I've subsequently found that this DLL is dependent on a number of other Dlls which are spread over different directories. Calling SetDllDirectory twice resets the directory which is what you would expect, but have tried comma-separated and semi-colon separated directories in a single call both of which failed. eg [DllImport("kernel32.dll")] public static extern bool SetDllDirectory( string pathName); //and the call is: bool result = SetDllDirectory(@"C:\Dir1;C:\Dir2"); Anyone tried / done this before I tho ...Show All
Smart Device Development How to differentiate between Windows CE 5 and Windows Mobile 5
Hi! I am writing .Net app (C#) that will run on various handheld devices (pocket pc). Some of devices running Windows CE 5 (like Symbol MC 3000), some Windows Mobile 5 (Symbol MC 70). In Windows Mobile form menu displayed on the bottom of the form, in Windows Mobile - on top and blocking the first label on the form (I want to display label on the very top of the screen to use the space efficiently). I did extensive "googling" to find out how I can programmatically detect the menu position on the screen or differentiate between OS flavours (on both devices I am getting OS Platform "WinCE" and version 5). It is very frustrating that such a simple task takes so much effort... Any advice or pointing in the ri ...Show All
.NET Development Data insertion from webpart in share point portal
im working on Sharepoint portal server these days ..its my final yera project actually. Well recently i've come across the problem of inserting data in sql server through a webpart. Though i've been successful in retrieving data from the database thru the webpart , but im unable to insert data . I hope someone can solve this problem . ...Show All
Smart Device Development Why .Net application occupies around 3.0 MB for normal application
Hi Friends, I created one empty form (with out any control) and deployed the application. When I open Application It occupies above 3.0MB even though it is empty form. Even it takes 8secs to load (launch the form). Is it because of CF2.0 has to get load When we use controls space will be 5MB and it takes more time around 15-20Secs where as other applications(which are developed with different platform) just occupies hardly 1MB and 4-5Secs time to load. I tested these all on Emulator. I am really confused. Please try to guide me. Generally What is the minimum and maximum time to get launch the application. Can any give some techniques to reduce the Load time of application. Regards, Malleswar ...Show All
Windows Forms Implements IBindingListView Problem
Does anyone have a VB sample of a collection implementing the IBindingListView interface. I need to make the filter option availabe from the BindingSource for my objects. Thanks Fair enough Ken, but what of the merit of my filtering delegate idea I'm not fishing for compliments here, or dishing out insults. I'm objectively trying to find a better, more flexible, alternative to parsing filter strings, crudely or otherwise :-) ...Show All
Visual Studio Team System building web projects
Is there a way to build a web project to simulate the same structure as the "Publish Web Site" building in Visual Studio Or would I have to create custom tasks to handle the files after compilation Yea.. Here is the log after it gets all files: Project "D:\Builds\eDiets\eDiets - Internal Service Interfaces\eDiets\eDiets - Internal Service Interfaces\BuildType\TFSBuild.proj" is building "D:\Builds\eDiets\eDiets - Internal Service Interfaces\eDiets\eDiets - Internal Service Interfaces\Sources\eDiets.Internal.ServiceInterfaces\eDiets.Internal.ServiceInterfaces.sln" (Build target(s)): Target ValidateSolutionConfiguration: Building solution configuration "Release|.NET". Target GetC ...Show All
Visual Basic Accessing control from different form.
Hello VB 6 convert here and I am trying to access a few controls on frmMain from frmNew. frmNew is shown with a showdialog and in frmNew i have dim frmMain as new frmMain. To access the controls I coded a public sub Public Sub ClearLists() lstArmyPool.Items.Clear() lstArmy.Items.Clear() lstArmy.Items.Add("test") End Sub in frmNew I call frmMain.ClearLists() yet nothing happens. If I call it from frmMain it works as expected. I have spent a few hours trying to find the answer. I am using vb.net 2k3. thanks -Syco54645 well as for the first method that you posted, i have in frmNew Dim frmMain as new frmMain() and i still cannot access the control. i am not sure what Public Sub Clear ...Show All
