visual-studio-languages-forums,windows-desktop-development-forums,visual-cRelated issues-Collection of common programming errors
.png)
msdn
visual-studio-languages-forums windows-desktop-development-forums visual-c
Alright, so I’ve been reading a lot about this stuff lately. One thing I’m still confused about is which type of C++ I should start writing my project in. All I can tell you at this point is that I will be making a Win32 GUI Based App for Windows 2000, Win XP, and Vista.I was wondering if someone could point out the benefits / drawbacks of the two types of C++, and possibly even inform me of some alternative options that I haven’t been shown yet.Thank you!~~GeminiX~~.png)
msdn
visual-studio-languages-forums net-framework-forums visual-c-
What exactly is a native resource ? Why it requires special treatment.Every object resides in memory and it can be cleaned by cleaning up the memory but this is not the case with native resources. For eg if i have a character array the memory can be cleaned easily. but in case of file handles, db connetion, images why canootwe do the same, is it because OS handles them in special way..png)
msdn.png)
msdn
visual-studio-languages-forums windows-desktop-development-forums c-standards-extensions-and-interop
Hi,I am an electronics engineering student, and I am learning C at university… but I wanted to get further with the language.So my question is:Do I need C/CLI in my field? Or the native C is just enough?I need to know so that I don’t waste my time on going deep in CLI. In fact I have studied C# for a while and I worked with it in a couple of projects but I noticed that C/CLI and C# are very close… and maybe C# can do the job intended to do in C/CLI,so what do you think?Thanks in advance.png)
msdn
visual-studio-languages-forums windows-desktop-development-forums c-standards-extensions-and-interop
I’ve found all sorts of random information about Managed vs. Unmanaged code, and I’ve heard that apparently you can compile said unmanaged code as native code. From what I’ve read in other places, “native code” runs “natively”, which would mean it would not require the .NET Framework.So, what I’m looking for is a couple quick answers.1) Is there in fact a way to write code in VC++, unmanaged or not, that can be compiled in such a way as to run without the framework, and2) If.png)
msdn.png)
msdn
visual-studio-languages-forums net-framework-forums visual-basic
i have lost 5-6 old VB (VB6 and VB.net) projects from my old pc but i still got the .exe files, os i thougt i cold decompilde them and it worked for all my .net projects but when i came to the VB6 projects i onely got native code and i dont know if am right or not but native code is source code its just decrypted right? and if am riight is it posible to convert or something the native code back to normal source code ?.png)
msdn.png)
msdn
visual-studio-languages-forums windows-desktop-development-forums visual-c
Hi,Is there a way to use the Enterprise Library 3.1 from native c++ code?I want to use the Logging Application Block from c++ to send the log entries to the same msmq or database as from our c# applications.Is there a compatible native version?Or is it easy to export it to COM?Or do I have to create my own facade which will be COM-Visible and registered for interop?.png)
msdn.png)
msdn
visual-studio-languages-forums windows-desktop-development-forums visual-c
Alright, so I’ve been reading a lot about this stuff lately. One thing I’m still confused about is which type of C++ I should start writing my project in. All I can tell you at this point is that I will be making a Win32 GUI Based App for Windows 2000, Win XP, and Vista.I was wondering if someone could point out the benefits / drawbacks of the two types of C++, and possibly even inform me of some alternative options that I haven’t been shown yet.Thank you!~~GeminiX~~.png)
msdn.png)
msdn
visual-studio-languages-forums windows-desktop-development-forums c-standards-extensions-and-interop
Hi,I am an electronics engineering student, and I am learning C at university… but I wanted to get further with the language.So my question is:Do I need C/CLI in my field? Or the native C is just enough?I need to know so that I don’t waste my time on going deep in CLI. In fact I have studied C# for a while and I worked with it in a couple of projects but I noticed that C/CLI and C# are very close… and maybe C# can do the job intended to do in C/CLI,so what do you think?Thanks in advance.png)
msdn
visual-studio-languages-forums windows-desktop-development-forums c-standards-extensions-and-interop
I’ve found all sorts of random information about Managed vs. Unmanaged code, and I’ve heard that apparently you can compile said unmanaged code as native code. From what I’ve read in other places, “native code” runs “natively”, which would mean it would not require the .NET Framework.So, what I’m looking for is a couple quick answers.1) Is there in fact a way to write code in VC++, unmanaged or not, that can be compiled in such a way as to run without the framework, and2) If.png)
msdn.png)
msdn
visual-studio-languages-forums windows-desktop-development-forums visual-c
Hi,Is there a way to use the Enterprise Library 3.1 from native c++ code?I want to use the Logging Application Block from c++ to send the log entries to the same msmq or database as from our c# applications.Is there a compatible native version?Or is it easy to export it to COM?Or do I have to create my own facade which will be COM-Visible and registered for interop?.png)
msdn.png)
msdn
visual-studio-languages-forums windows-desktop-development-forums c-standards-extensions-and-interop
Hi, allI have a following situation: an ASP.NET application that uses mixed-mode C/CLI assembly. That calls into a native dll. I am observing the following: if native dll is found somewhere on the system path, it’s loaded from there. If not, it’s loadedfrom application’s bin directory.This is different from a situation with [Import()]: if managed code uses p/Invoke ([Import(…)]) to get to the native function, native dll is loaded from ASP.NET application’s bin directory.Can anyone explain the.png)
msdn
visual-studio-languages-forums windows-desktop-development-forums c-standards-extensions-and-interop
Hi, I have a rather strange problem in that I have a c# web service which in turn compiles in some C++/CLI dll’s which then links to some ancient native C++ code that we have. Recently I added some new code to one of the native dll’s and since then I haven’t been able to bring the web service up in IIS as we have done in the past. We also have some c# windows services that are architected in a similar way on top of the same C++/CLI dll’s and native code and they run fine.Now I’ve had a look at.png)
msdn
visual-studio-languages-forums windows-desktop-development-forums visual-c
I’m probly not going to get anywhere with this thread but lets give it a shot…My project is around 2000 lines of highly compact code and I have optimized it as much as possible and I need it to go faster and I want to break free of the .net dependence so I want to convert it to C and I have been searching for days for theeasiest way to do it.Currently I think my best bet is to use the tangible C# to C converter, redesign the form (its very small) and wade thru all the errors replacing the .net.png)
msdn
visual-studio-languages-forums windows-desktop-development-forums visual-c
Alright, so I’ve been reading a lot about this stuff lately. One thing I’m still confused about is which type of C++ I should start writing my project in. All I can tell you at this point is that I will be making a Win32 GUI Based App for Windows 2000, Win XP, and Vista.I was wondering if someone could point out the benefits / drawbacks of the two types of C++, and possibly even inform me of some alternative options that I haven’t been shown yet.Thank you!~~GeminiX~~.png)
msdn.png)
msdn.png)
msdn
visual-studio-languages-forums windows-desktop-development-forums visual-c
Hi,Is there a way to use the Enterprise Library 3.1 from native c++ code?I want to use the Logging Application Block from c++ to send the log entries to the same msmq or database as from our c# applications.Is there a compatible native version?Or is it easy to export it to COM?Or do I have to create my own facade which will be COM-Visible and registered for interop?.png)
msdn
visual-studio-languages-forums windows-desktop-development-forums visual-c
I’m probly not going to get anywhere with this thread but lets give it a shot…My project is around 2000 lines of highly compact code and I have optimized it as much as possible and I need it to go faster and I want to break free of the .net dependence so I want to convert it to C and I have been searching for days for theeasiest way to do it.Currently I think my best bet is to use the tangible C# to C converter, redesign the form (its very small) and wade thru all the errors replacing the .net.png)
msdn
visual-studio-languages-forums windows-desktop-development-forums visual-c
Hey,Good day.I installed my fresh OS yesterday (winxp pro, vs2005 pro & .net 2.0 )When i download the code from clearcase and try to run the app.but show the following error.I thought there is no bug in the app source code.But is there any thing wrong with my New OS and New Dev environment?When i press F5 and show the below message.Any help is appreciated :-)————————- OutPut ————————-‘UpsDaemon.exe’: Loaded ‘D:\cc_main\ASCS\UpsDaemon.root\UpsDaemon\UpsDaemon\D.png)
msdn
visual-studio-languages-forums windows-desktop-development-forums visual-c
I have a .vcxproj project that contains native and C/CLI code and compiles to a DLL assembly (compiled with /clr), mostly for use by C# clients. It takes about five minutes to compile and nearly ten to link. I’ve looked into Incredibuild and Incredilink with not much success, and I considered breaking up the assembly into several DLL assemblies that my clients wouldneed to individually reference, but I’d rather not have them need to do that.One of my plans was to split the.png)
msdn
visual-studio-languages-forums windows-desktop-development-forums visual-c
Hi everyone,I have a C/CLI WinForm which need to use another native C static libary. I have done the following steps:Add any necessary lib file to the linker.Change CLI Support from /clr:pure to /clrInclude both <windows.h> and native header file to my C/CLI Winform code only, have not written code to use the native class yet.Change Debugger Type from Auto to Mixed.After doing this, compilation is successful, but when I start debugging, I encounter error:Debug Assertion FailedProgram:.png)
msdn.png)
msdn
visual-studio-languages-forums windows-desktop-development-forums visual-c
I am devloping a native C++ number crunching application. I am currently in the process of scaling it up for more data. It is a Win32 app.This application takes large amounts of data (around 10^7 data points) and processes them extensively. I had been using it on a smaller set of data (about an order of magnitude less) and it was working AOK.I am not 100% this is a memory problem, but when the program gets about a third of the way into preprocessing and loading of the data, it crashes with fa
Web site is in building