Answer Questions
dalix spawning a 3rd party application from my application
Hi Ok - I know I can use various methods to start a 3rd party app such as system (yes I know it blocks), the spawn family, CreateProcess, winExec and ShellExecute. What I need to do is have a 3rd party application start either where I want it to on the screen and of a particular size or maximized in a window that I have created. I also know that you can specify dwx,dwy,dwxsize,dwysize in the STARTUPINFO struct passed to CreateProcess. I ca ...Show All
Tmongold Visual C++ Express And DirectX
I want know if is possible to develop DirectX applications using Visual C++ Express ... How I can use the DirectShow utilities inside Visual C++ Express Thanks I have already download the DirectX SDK, but, it needs to include the windows API using windows.h. Platform SDK is too large, i need know if this will provide me of all those include files to this work. I'm making an application for my degree project, using video capture. Thanks if ...Show All
Web Explorer visual C++ tutorials?
Does anyone on these forums know a decent site for visual C++ tutorials. I personally hate the ones on the microsoft site so please can you help me =) I would recommend reading one of the books mentioned at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=107484&SiteID=1 Then you can start applying the samples there using the VC Exp ...Show All
w4t4fAk Can Anyone help me on CSocket memory leakage issue
Hi All, I'm facing a memory leakage issue when i use CSocket in Visual Studio 6.0 ( VS Service Pack 6) Windows XP Service 2. This problem doesn't appear when i disable the themes service. The below link suggests this fix.. http://www.codeguru.com/forum/showthread.php t=370761 But i'm not able to find any information about this in microsoft website. Can anyone please suggest me with the patch for this issue Or point to me a link in ...Show All
Prasadi de Silva Remember and restore a ClistCtrl Horiz Scroll Position
I'm trying to remember and restore a list control's horizontal scroll position in my dialog. The list control displays calibration data. If new cal data is captured, the list control's contents are deleted and completely redrawn with the new data (not the best way to do things, I know...but I don't have time to redo all of that...). My users want to be able to watch a certain "area" of the list control while collecting cal data and not ...Show All
aspic error C2065: '__LINE__Var' : undeclared identifier
hi, I get the following error when I try to move a project from vc6 to vc8. error C2065: '__LINE__Var' : undeclared identifier The error line goes to a macro definition which doesnt have a _LINE reference. And one more error which i get is error C2061: syntax error : identifier 'THIS' I tried to use #undef THIS and #define THIS. But it didnt work. Is it possible that old windows files are getting linked. In that case as well t ...Show All
Erno Vuori _CRT_SECURE_NO_DEPRECATE has no effect
MSDN clearly states that if you define _CRT_SECURE_NO_DEPRECATE it "will disable deprecation warnings". I tried adding _CRT_SECURE_NO_DEPRECATE to the Preprocessor Definitions and #define _CRT_SECURE_NO_DEPRECATE to the code. In both cases I still get a C4996 warning from every single strcpy call. The only way to disable the warning, as far as I can tell, is to use #pragma warning (disable:4996) or add the warning to the C/C++ settings (Ad ...Show All
seesyong CString will not go to cout
The code: CString foostr ("This is a string."); cout << foostr << endl; Gives the output: 0035C3B8 I've spent the last two hours doing experiments and hunting around the Internet for information on this. What's going on Hi, I've tried both these methods, but none works for me : (( CString s1( "IBM" ); std::cout << s1.GetBuffer(s1.GetLength()) &l ...Show All
Lionel VC++ project hangs at startup?
Hi, I was wondering if anyone has the same problem as I do. Currently my project hangs when I startup VC++. I can not figure what is wrong with my project. I can not even open my project at all. I did not do anything different when creating the project. I started off by creating an empty new project, added 1 windows form, and couple source/file files which I added and wrote myself. I was wondering can open my project to see if they have the same ...Show All
Shima20 tlh file contains #include ""
Hello, I have a managed dll and inthe post build event, i have %SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\regasm.exe /tlb:$(ProjectDir)$(TargetName).tlb $(TargetPath) copy /y $(TargetPath) $(ProjectDir) When i import this tlb in the VC project with #import "C:\development\MyManagedAssembly.tlb" while compiling it, i get an error Error 27 fatal error C1083: Cannot open include file: '': No such file or dire ...Show All
Dmitry Titov MSFT Intellisense updates very slowly, and blocks builds - what can I do?
I'm working on a fairly large program, and the NCB file quickly rises to 90MB, especially after edit-and-continue. Intellisense keeps firing up and showing "Updating intellisense" in the status bar, for several minutes at a time - but much worse than that, it appears to be (read-)locking files that a build needs, so if I use edit-and-continue, then stop debugging, the build that fires off collides with Intellisense and fails, and ma ...Show All
Kukulcan Changed the COM signatures....using ildasm.....
Hi, I have a .exe COM which I used in .NET but some signatures got changed....so I opened it with ildasm and changed the signatures so that it should return something from the function....This is the error I'm getting now.... The runtime has encountered a fatal error. The address of the error was at 0x79e8aff6, on thread 0xb4. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of us ...Show All
JVman .Net Framework
Hi, I have an application which I did not originally create. I develop it using Visual Studio 2003 - Visual C++.net. When I click on the configuration manager for my solution I can see that this platform, for said application is "Win32". I didnt think this was the case since my work (code) is developed compiled and run correctly using visual studio.net. Then i created a completely new project, visual c++ and chose the opt ...Show All
Donal Kelly how to save html file in VC++
hi, i want to save a html file from my browser. i have created my own browser and want to save the html file.. i have used ACTIVE X controls to make my own web browser(same as IE).. it should be like that of SAVE AS option of IE.. plzzhelp.. hi, yes implemented this .. but the problem is that it is going online to fetch the images of the web page.. plzz solve this problem hi, ...Show All
MsMe Need Help
I wanna program a simple game with VC++ but I don't know how to load an Image and how to manipulate these Image. Please show me some URL or tips about this (I searched with Google but document that Google find out is confusing to me)... Hello - This web forum is for questions and feedback on the Visual Studio 2005 product prereleases. You should be able to find quick help for this issue over in our public newsgroups ( http://ms ...Show All
