Answer Questions
Bruff How to write an App with no console window at all
Hi I haven't written any C++ since VS6 so I'm rusty and please pardon me. I have a need for a very lean application which runs as a native mode executable with no accompanying libraries or manifest file. In other words this program behaves in the manner that a VS6 application would. I seem to recall that I could get a program to run without a console window by deassigning stdin and stdout but that may have been in a detached child proc ...Show All
Vander Help ?
If i read some of the other post i came ot the conclusion that this was somewhat gonna be the dummest question on the forum i guess... but here it goes anyway When i use the Visual C++ compiler / environment ... the free downloadable one. and i write this sourcecode #include <iostream> #include <iomanip> using namespace std; main() { cout >> "Hello world!" ; cin.get(); } it would run and compile great ...Show All
gunner2002be difference between value type and ref type (C++ CLI)
Hi all, I'm programming with C++/CLI and I'm not sure of this concepts. I hope you can make it clearer for me. What exactly are value type, using the value keywork What exactly are ref type, using the ref keywork And specially, What are the difference between the two Thanks a lot in advance for you help. Best, Nicolas thanks a lot Nishant for your answer. This is much clearer now. But, is it really useful ...Show All
Yadira Easy UserControl creation under VC++?
Hello all, I'm currently using VS 2005 Express at home and VS .NET 2003 enterprise architect at work, and in both I have been able to create user controls in C# (where I just do Project | Add User Control, then they are in the toolbox and I can use them easily), but nothing in C++. I've heard about component classes, but's it's just too complicated, I don't want to register a dll, etc. just for example to create a container with a text box ...Show All
Wilson Thampi John a reference failure
Starting using CppCodeProvider versus VBCodeProvider I got a compiler error that the path could not be found. I dutifully attached the file CppCodeProvider.dll to the project treeview--same error. It says that it cannot find it. Error 1 fatal error C1107: could not find assembly 'CppCodeProvider.dll': please specify the assembly search path using /AI or by setting the LIBPATH environment variable c:\VCPlus_projects\AymanCompile\ ...Show All
Shimshaker Does msmq work well with VC++ 6.0?
Hi Zoop! I plan to buy Msmq and i would know if it will work well with my Visual C++ 6.0. Does Msmq is easy to work without .NET Framework If you mean with Msmq = Microsoft Message Queuing then it will work without any problem with VC6! The reason is simple: MSMQ was RTM way before .NET-Framework. -- Greetings Jochen My blog about Win32 and .NET http://blog.kalmbachnet.de/ ...Show All
Shabari need english
Getting ready to work on another lab for school and I'm having trouble understanding the lab. This is the program they want me to write: Write a program that declares two twenty-element, one-dimensional integer arrays. Your program should fill these arrays with random numbers by calling a function called Fill_It. You will call Fill_It twice, once for each array, and ask the user to enter two different seed values. Fill_It needs to have a seed va ...Show All
jptorres BIG LAUD TO THE C++ COMPILER TEAM ( .NET compiler generally )
Hi, i want to speak out a very big laud to the .NET compiler teams. Especially to the C++ compiler team. Beside some bugs and issues that all beta soft has i tested the speed and asm listings of mathematical code that the C++ compiler of Whidbey produces on x64 platform and i must say the code is really fast compared to hand optimized code. My hand optimized code is just 10 - 15 % faster than the C++ compiler code ( mean ) and i have to think ov ...Show All
hollander67 How to retrive process memory usage in windows 98
hai, how can i get process memory usage in windows 98 ..Can i get memory info from Toolhelp32ReadProcessMemory function. dijesh Please ask questions only once and be patient when you wait for an answer. This is beyond the scope of this forum try ir here: http://msdn.microsoft.com/newsgroups/ Note support for Win98 and ME ends at 11th of July this year! http://www.microsoft.com/windows98/default.asp ...Show All
Richard M Malone upgrading libcpd.lib to libcmtd.lib---- gives linking errors.
while upgrading libcpd.lib to libcmtd.lib---- gives linking errors.i.e. symbol not found errors. These belong to two different families of libaries. libcpd.lib is a static version of the Standard C++ Library implementation, single threaded. libcmtd.lib is the multithreaded static libary for the C Runtime library. Replace libcpd.lib with libcpmtd.lib. VS 2005 does not support single threaded variants of these libraries anymore. B ...Show All
Morris LN Notification on Text change for Windows Control
Hello, I have a question in SDK windows programming. I have a window control, implemented as an editable control for user to enter text. User can add text in the window control either by typing through keypad or copy/paste using mouse. I call GetWindowText() to read text from the control. I want to display a message while user is entering text or copying a value, if the text exceeds a certain length. I am aware that I can trap keyboard a ...Show All
steady_pace ANSI C
Hi guys, I need to wrote a ANSI C code with the POSIX standard. I need to configure Visual Studio 2005 to use not the standard compiler. How can I do that tnx I don't understand what you mean by "not the standard compiler". Visual C++ 2005 comes with a C compiler so you should be able to use to generate a C program that interacts with Posix. Hi, salvodif wrote: I need to wrote a ANSI C ...Show All
flyonthewall Error C2552
Hi, I'm facing one problem regarding error C2552 in VC++.net but could not locate proper solution. Can anyone please help me out static CGXWriteEntry _map[] = { GX_EXCEL_WRITEMAP_ENTRY(typeBOF, gxHandler) GX_EXCEL_WRITEMAP_ENTRY(typeWindow1, gxHandler) GX_EXCEL_WRITEMAP_ENTRY(typePalette, gxTable) GX_EXCEL_WRITEMAP_ENTRY(typeFont, gxTable) GX_EXCEL_WRITEMAP_ENTRY(typeXF, gxTable) GX_EXCEL_WRITEMAP_ENTRY(typeStyle, gxTable ...Show All
mweth How can I avoid hardcoding using pragma comment?
When I am compiling a class (Custom class) connecting oracle oci, I am getting this error error LNK2001: unresolved external symbol "int __cdecl OCIErrorGet(void *,unsigned int,unsigned char *,int *,unsigned char *,unsigned int,unsigned int)" In order to suppress that, I need to do #pragma comment(lib, "c:\\oracle\\ora92\\oci\\lib\\msvc\\oci.lib") If I do this, the error is gone. Is there any way to include this library in environment varia ...Show All
GO2GUY Display an int in a MessageBox?
Hi, I'm new to C++, have started to use VC++ 2003 at work and dont know much about it because i have only used Java and VB before now. I cant use the debugger for reasons that arent relevant here but all i want to do is use a MessageBox to display an int! I cant seem to do this no matter what i try. I dont care if i have to use the AfxMessageBox function instead but please some one tell me how its done! I'll give you ...Show All
