Answer Questions
David Gorena Elizondo - MSFT chekbox
how can i determinete when the check box in listview is checked or when the checkbox is get the focus and chenge on evey check in MFC There are events for all of these which you can catch and then run your own code. I believe WM_FOCUS is the event when a control gets the focus ( this is relying on old memories, don't quote me ), and I'm pretty sure there's a SetCheck method on the control you could call to check it when it gets the foc ...Show All
Alfio Casiano C++ CLI and Assembly signing
Hi, we are using a pfx file for signing our c# assemblies. Now we have also some C++/CLI (managed c++) assemblies. When I try to sign the assembly with our pfx file with the /keyfile linker switch - I get the following error: Error 1 fatal error LNK1256: ALINK operation failed (80090007) : Ungultige Anbieterversion TestDll when I use a snk file instead - everthing is ok. With our C# p ...Show All
HohnerMan20 msvcr80.dll not found
I've created a simple Win32 console application. When I try to debug it, I get the message: "This application has failed to start because MSVCR80D.dll was not found. Re-installing the application may fix the problem." The Release version runs fine. Any idea as to what the problem could be Thanks, Jonny feuerste that's an excellent point (I'm "bottom posting" this reply so it will appear at th ...Show All
Jason Dear Compiling VS 2005 Beta2 to a mounted network share
Hi, I tried to do the following. Create a simple c++ hello world app over on a mounted network share (lives on a netapp box). Created the project just fine, but when doing a compile, it fails. Here is the build log file. Any idea what is wrong Clearly I have write permissions to the files. Ok, in writing this query, I decided to try it to a network share on another windows box (our server). Again mounted as a ...Show All
askumar *.asmx not recognized?
WIth VC++2005 Beta, I am genererating a testing ASP.NET Web Service dll. I am using IIS5.1 on XP, when typing URL 'HTTP://localhost/MyTest/Mytest.asmx" into IE, the page comes back with "<% WebService Class=MyTest.MyTestClass %>" It is not showing any methods within MyTestClass. When doing "Add Web Refernece" to a project to test this dll, I got this same thing. Also says, ".....asmx not recoginzed as a known document typ ...Show All
skyhawkap MFC -> String* to const char* or String* to char
How can I convert a String* in MFC to const char* mychar or char mychar[MAX_PATH] See: Convert from System:: String* to TCHAR*/CString http://blog.kalmbachnet.de/ postid=18 See: How To Convert from System:: String* to Char* in Visual C++ .NET http://support.microsoft.com/kb/311259/ Bigguy Graves, i'm pretty sure this is not the most efficient way to do this, but it's a simple way :-) you can simply cr ...Show All
ecoloney _beginthread() issues...
I am having trouble sending parameters to a thread via the _beginthread(void(*)(void*),unsigned int,void *); call. I just want to send a single integer... this is how I do it now: void main(){ int x; _beginthread(threadMain,NULL,x); } void threadMain(void* x){ //blah }; I have tried every form of casting that I can think of, in both the parameter sent and the parameter received. th ...Show All
Dot Net Guy Clock
How would I code a live simple 12 hour format clock that keeps up with my system's clock on my program with "hours, minutes, and seconds" on a status strip on the bottom right Because that's twice a second, which means that even if the timer doesn't fire exactly on time ( and they are not guarenteed to ) your clock won't ever skip a second. http://www.codersource.net/mfc_working_with_timers.html That's an article ...Show All
Brian Morearty Are there ANY advantages to using function pointers over regular function calls?
Hello All, Can anyone please anyswer this question Are there ANY advantages to using function pointers over regular function calls This is for a friend of mine. I would really appreciate it. Thanks, Rosraj rosraj wrote: Hello All, Can anyone please anyswer this question Are there ANY advantages to using function pointers over regular function calls This is for a friend of mine. I would really appreciate it. ...Show All
Experienced COM. VARIANT/SAFEARRAY
Hi, I have to covert a VARIANT to SAFEAARRAY. As I am getting signatures from caller, only VARIANT pointer, In the called function, I want to save some data using SAFEARRAY(!) with C++. Though this is possible, but how Any help would be highly appreciated. Regards TestHim Use SafeArrayCreate to create the Array. You need to speficiy the type. Fill the array. Set the type of the Array ored with VT_ARRAY into the typefield of the VARIANT ...Show All
KBC worked fine for me, failed for them
I've written a small windows form app with express beta2 in C++ (I figured I'd post here since it prolly relates to a general VS thing, I dunno) It worked fine for me, so I zipped it and sent it to a friend, but when he tried to run it, he got the erro message saying: "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem." Being new to Visual Studio, I' ...Show All
Meryl Junik Microsoft Visual C++ Runtime Library error question
I recieve this error when I launch Internet Explorer - version 6.0 OS Windows XP Home edition 2002 Service Pack 2. Error is as follows: Microsoft Visual C++ Runtime Library Runtime Error! Program C:\Program Files\Internet explorer\iexplore.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I am not certain where to post this questi ...Show All
PProg Why does the install for a native C++ app require .NET 2.0?
I have a native C++ app in Visual Studio 2005. It was a VC++ 6.0 app that I allowed the system to update and does not use .NET. I created a setup project that works fine on my development machine, but if I try to run it on a machine where VC++ 2005 is not installed and that is not connected to the internet, I get the following: For the following components: .NET Framework 2.0 Please read the following license ... I go ahead an ...Show All
SM-007 Scroll limitation issue
hi, I have recently taken over the a project for someone, one of the issues we have come across is that you cant view an entire document, in a window with scroll bars if its really big. I track this problem down to the ranges on the scroll bars. Once the range of the scroll bar exceeds 32000 pixels, it is set, by my ex-colleague back to 32000. So when you view a document, depending on the zoom factor you may only see a fractio ...Show All
-steinar- How acurate is CRC32??
Hi. I am not a programmer in any way, just an average computer user. I understand how CRC32 works, and what its purpose is but my question is this... how acurate is it Does it detect errors as small as 1 byte And is it the same accuracy for all file types If a file checked by CRC32 checks as good can there still be errors My main concern is with audio/video files, will a file that checks as a good CRC32 be as good as the original ...Show All
