-
- Problem to select appropriate enviroment in VC++6.0& Visual studio 2003
by psjetha
- 5 Replies
- Last post
by psjetha
- I have installed both version for vc++ programming
1)VC++6.0
2)Visual Studio .NET2003
Now i wanna work with vc++6.0.
Problem : system use new enviroment for debugging .It is not indicating any attention as like Visual studio.Net2003(IDE) to choose the enviroment.
The process is shown in below which i have applied to activate VC++6.0 debugger
1)First I h
-
- Alitle Question Help!!
by Milton Brise&&
- 6 Replies
- Last post
by Simple Samples
- I need help!!!
I have this code..
extern "C" __declspec ( dllexport ) int Prueba();
extern "C" __declspec ( dllexport ) int Prueba(){
CMSO_LoginDlg* pDialog=NULL;
BOOL ret= true ;
pDialog= new CMSO_LoginDlg(0);
if (pDialog != NULL)
{
pDialog->GetSafeHwnd();
ret = pDialog->Create(102,NULL);
if (!ret)
AfxMessag
-
- Queue
by Saravana Muthu
- 1 Replies
- Last post
by Bruno van Dooren
- hi all, I am in need to store string values dynamically at runtime in queue using c++. Can any one provide the code Regards, Saravana Muthu.G
-
- Compile C++ code To .Bin File
by Student_I
- 14 Replies
- Last post
by Simple Samples
- Hi. can I compile C++ code with VC++ or VC.Net to a BIN file How thanks.
-
- Assertion failed
by pankaj sharma103086
- 3 Replies
- Last post
by Luc Leroy
- hi
I have created a MFC dialog based application , on this dialog a
button is present , when i click on this button another
dialog box(NewDlg) appears which i have created by using
"insert dialog" in resource View,on this dilaog box(NewDlg) i have a
combobox,Now i want to add values in this combobox , so i have created
a member variable(m_Combo1) for this combobox of type CComb
-
- Assertions...
by Jerry584894
- 14 Replies
- Last post
by Simple Samples
- Upon exiting, my program comes up with an assertion error. It says:
Debug Assertion Failed!
Program:...
File: dbgdel.cpp
Line: 52
Expression: _BLOCK_TYPE_IS_VALID(pHead->BlockUse)
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
Abort Retry
-
- AfxGetApp() returns NULL in DLL
by dezhur
- 12 Replies
- Last post
by dezhur
- Hello!
I have next function inside the MFC shared DLL library:
BOOL CMyBasic::CheckMessageQueue() { MSG msg; while (: eekMessage(&msg, NULL, 0, 0, PM_NOREMOVE)) { if (msg.message == WM_QUIT) { return(FALSE); } else { ::GetMessage(&msg, NULL, 0, 0); ::TranslateMessage(&msg); : ispatchMessage(&msg); } } AfxGetApp()->RestoreWaitCursor(); // <-- AfxGetApp()
-
- Intellisense list members
by Gvidas Petkevicius
- 1 Replies
- Last post
by Bite Qiu - MSFT
- Hello,
I was wondering what is the reason for showing private class members in intellisense, and how to disable this feature
-
- How do I associate Disk numbers with controllers?
by tcumming
- 1 Replies
- Last post
by Damien Watkins - MSFT
- How do I associate Disk numbers with their controllers For example, if
I have three PCI disk controllers in a PC, with one disk drive attached
to each one. The Disk Manager will show three disks, enumerated 1, 2,
3. The controllers however, may be enumerated (by looking at it's
UINumber) with disk, "1" connected to controller, "3", disk "3"
connected to disk &quo
-
- cl.exe / option so that the name of the source file be not dumped ?
by Guy Barrand
- 3 Replies
- Last post
by C.Nic
- Hello Is there some option of cl.exe so that the source file name be not printed out If doing : DOS> cl.exe /nologo myFile.cpp It dumps : myFile.cpp And I would like to not see this dump. Thanks Guy
-
- need help to deal with char* pointers on COM interfaces
by HCTwinJava
- 5 Replies
- Last post
by Brian Kramer
- I need to reimplement legacy COM interfaces (derived directly from IUnknown). A lot of methods on the old interfaces are equivalent to the following:
HRESULT setValue (const unsigned char* value); HRESULT getValue (unsigned char* buffer, int bufferSize);
The pointers on both methods are in fact the addresses of unsigned char arrays, which may be allocated on the old COM client's stack. The C
-
- Please, help me understanding message loops (GetMessage vs. PeekMessage)
by S.T.577741
- 1 Replies
- Last post
by scor7910
- Hi!
I've read a lot about the concept of message loops in C. Petzold's Book "Windows-Programming", in the internet and here the the newsgroups. Unfortunately, I need some more clarity. Since I'm that kind of guy that needs to *ask* before understanding, I simply have to drop here another question dealing with that. Hope I don't bother you too much.
1. Question: I understand t
-
- debug (c++/cli) dll on c# application
by Martin J. Kim
- 5 Replies
- Last post
by Martin J. Kim
- I have dll file created with c++/cli and it pdb file. (I have no project folder or files). and I am now testing on c# application with it. In this step, I can't track(debug) my own dll file. I mean it just generated exception. I can't step inside(F11). What kinds of jobs I can do in this
Code Example
using System;
using System.Data;
using MyFoo;
class Test
{
st
-
- Embed Internet Explorer into another window
by Victorious
- 1 Replies
- Last post
by Sheng Jiang
- I need to embed an Internet Explorer browser into the
application I am developing (IĄŻll call it myApp). The embed IE browser should
not have a Navigation Bar.
The IE browser should run inside myAppĄŻs main window.
The application is not currently MFC
and trying to change it to MFC will take a
lot of time and debugging.
I used the CreateProcess() functionality, but this will ope
-
- More fun circular dependency trouble
by Deallen
- 4 Replies
- Last post
by Deallen
- Alright, so, I'm trying to make a structure kind of like the .Net framework where everything is based on type Object and Object has a few basic methods, including ToString(). My problem is that ToString() returns a String object and the String class derives the Object class. Is there any way at all to do this in C++
-
- Bug under X64 - ATL Performance Counter DLL
by Djalma Rosa dos Santos Filho
- 1 Replies
- Last post
by Djalma Rosa dos Santos Filho
- Hi guys, None of my ATL DLLs with Performnace Monitor objects generated by the wizard are working under X64, although they work smoothly under X86 and IA64. I thought that there could be something wrong with my code, but I built a genuine X64 version of the MS PerformanceScribble Sample and it did not work too. http://msdn2.microsoft.com/en-us/library/z1xc8ye3(VS.80).aspx Under X64 machine the reg
-
- listcontrol and SQL
by aguess
- 2 Replies
- Last post
by aguess
- hi i am looking for an exemple how to load a database(tables) to a ListControl using an SQL query
-
- program to run before window shutdown?
by Cool_Bhushan
- 7 Replies
- Last post
by Simple Samples
- Hi to all,
I want to write a program in vc++ which execute before Window shutdown. Is it possible, plz help me.
Is it possible to run a program before window shutdown
If yes then how is it possible.
Ur suggestion is valuable for me.
Thanks in advance.
-
- when textBox text change what is the best event, not TextChanged because this is only activate when we live the text box
by Aljkljl
- 3 Replies
- Last post
by Aljkljl
- on leter or charater is write or delete in real time, is any event good for this or a way for this thanks
-
- Syntax of VS 2005 autoexp.dat [Visualizers] section
by Dave Coder
- 7 Replies
- Last post
by hrubin996
- I've just upgraded to VS 2005 and the new [Visualizers] section of autoexp.dat looks very exciting - but I'm finding it difficult to interpret. I realise that it's most probably undocumented, but does anyone have experience in manipulating it
I'm writing unmanaged code and have quite simple structures that I'm interested in. Here's an example:
struct SimpleStruct { double* m_ptr; int m_len
-
- problems with DirectX program
by fighter92
- 3 Replies
- Last post
by Mike Danes
- My DirectX program doesn't work. It gives me no errors, but if I run it, it gives me errors. What's wrong with it
I do not write my mywin.h and basic.h here, because they are not important and work correctly. Procedures from those header files are Logi, MkWin and ReggWin and TPump, so do not be confused of them, just ignore them.
My code is here:
main.cpp:
#define WIN32_LEAN_AND_MEAN
-
- R6034 : Error loading C runtime library, already building a manifest file
by Adrian Boeing
- 7 Replies
- Last post
by Adrian Boeing
- Hi,
I've tried rebuilding an old application with MSVC8 and I recieve an R6034 run time error: "An application has made an attempt to load C run time incorrectly"
I read that this was due to the lack of a manifest file, however my application already generates a manifest file.
I debuged my application to find the cause of the error, and it is apparently in here:
/
-
- Sample Code Errors
by PeteJM01
- 2 Replies
- Last post
by Damien Watkins - MSFT
- I was trying to test out some Serialization stuff using the C++ example code at:
http://msdn2.microsoft.com/en-us/library/system.runtime.serialization.formatters.binary.binaryformatter.aspx
but when I tried to run it it told me that there were 58 things not defined. I think the problem is that the namespaces are not acctually being used, so if anyone has any ideas why these are not being det
-
- Virtual Inheritance with a virutal function
by Syed Babu
- 8 Replies
- Last post
by Syed Babu
- Hi guys,
I'm a software developer from india working on C++ since 6 years. I have question regarding virtual inheritance.
Consider the following code
class A { public: A() { a = 0; } public: virtual void Print() { cout<<"a = "<<a<<endl; } private: int a; }; //************************************************************ class B : virtual
-
- Templates overloades and specializations
by -&#42;-&#42;-
- 7 Replies
- Last post
by -*-*-
- I want to create a function that returns the absolute value of a number. This number could be real (int, double, etc) or complex (of real, double, etc). I currently have the following:
//--------------------------------------------------------------------- template<class data_t> data_t myAbs(data_t x) { return ((x > 0) (x):(-x)); } //----------------------------------------------------