-
- Member-window in Class View flickers in Visual Studio 2005
by Geert Mys
- 1 Replies
- Last post
by jdr5
- Hello,
Product: Visual Studio 2005, version 8.0.50727.42 (RTM-050727-4200).
When selecting a class in the Class View, Class View lower panes shows the members.
However the member-list refreshes almost every second, resulting in an anoying flickering of the view.
Moreover scrolling in the Class View upper pane, becomes difficult, for after each refresh, the focus is set to the active cl
-
- Event Confusion!!
by pj_bennett
- 8 Replies
- Last post
by pj_bennett
- Hi all, I'm pretty new to the world of VC++ programming and I'm trying to implement a mousemove event on a picture box on a dialog. I can get the MouseMove event to fire if I add a message map etc to the dialog cpp file and header, but when I add a picture box, there doesn't appear to be a class file to add any code to for the MouseMove event. I'm a little confused, if the code goes in the Dialog
-
- gcroot<ManagedType^> m assignment
by iterationx
- 8 Replies
- Last post
by Nishant Sivakumar
- Hi, I'm trying to pass a managed type into unmanaged code and assign it. //unmanaged code client2Dlg.h gcroot<ManagedType^> m; client2Dlg.cpp int CClient2Dlg::loadManaged(gcroot<ManagedType^> refm) { m = refm; // return 0; } I got an error cannot convert from 'System:: Object ^' to 'Client2Dlg ^' I also tried m = &refm , and m = %refm and they both failed. Any ideas
-
- Error with getline function
by Happy1997
- 3 Replies
- Last post
by Happy1997
- Hi, I need to retrieve data from a text file, line-by-line. So try to use the getline() function as listed #include <iostream> using std::cout; using std::cin; using std::ios; using std::cerr; using std::endl; #include <fstream> using std::ifstream; #include <string> #include <iomanip> using std: etw; int main() { ifstream Recordfile; Recordfile.open("record.txt&qu
-
- SendNotifyMessage - Controlling another process?
by quantass
- 4 Replies
- Last post
by Simple Samples
- I'm trying to automate Acrobat Pro 7 with the SendNotifyMessage win32 api command from my C# app. I created a .net windows service which watches a folder for a specific file. With the correct file the service launches the acrobat process via Process.Start() then uses SendNotifyMessage to simulate keypresses to get to the correct menu option. The problem Im having is the SendNotifyMessage(hwnd_mai
-
- Count of CListCtrl columns
by YaelS
- 4 Replies
- Last post
by YaelS
- Hi,
I set on my list 2 columns:
My problem is when I'm resizing the column, I see another column (without a header name), How can I set that only the 2 insert columns will be show allways
Code Snippet
m_List.InsertColumn(0, "column 1",LVCFMT_CENTER, 70);
m_List.InsertColumn(1, "column 2",LVCFMT_RIGHT, 180);
Thank's
-
- fatal error RC1047: too many -I# options
by Xavi.Planes
- 6 Replies
- Last post
by Sdi
- I'm using Microsoft Visual Studio 2005 (SP1). I need to include more than 93 directories in the "Aditional inlcude directories" parameter of General Resources, in the project properties window . When I put 93 directories and when I try to compile the resources, it gives me the following error:
1>fatal error RC1047: too many -I# options, 'C:\Program Files (x86)\Microsoft Visual
-
- 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
-
- 0xc0150002 error. How do I solve it?
by Atiz
- 5 Replies
- Last post
by Leonardo Bolaños
- Hi all. I've used the dependency walker and on profiling,
I encoutnered this error for my client.exe : 0xc0150002.
The error before this exception states:
LDR:LdrpWalkImportDescriptor() fail to probe log4cplus.dll for manifest, ntstatus 0xc0150002.
What have I missed out I have placed the log4cplus.dll in the same directory as my client.exe.
The machine that I'm trying to run client
-
- error C2039: '<any cctype>' function : is not a member of 'std'
by rbcorona
- 8 Replies
- Last post
by rbcorona
- I'm trying to compile cgicc ( http://www.gnu.org/software/cgicc/cgicc.html ) using VC++ in order to create CGI apps with the help of C++ classes. Source code includes a cgicc.dsw workspace file to create libraries and samples.
However, when trying to compile the cgicc library I get multiple "error C2039: '<any cctype>' : is not a member of 'std'" messages, where "any cctype
-
- import dll functions
by victor1977
- 2 Replies
- Last post
by Viorel.
- Hi all, I've a problem to send data using a function in an extern data of may application dll I'm using VS6.0 C++ in the .h extern "C" __declspec(dllimport) bool Init(bool); extern "C" __declspec(dllimport) bool EMWriteLocal(int a, int b, int c, double e); in the .cpp // DLL function signature typedef bool (*ImportInit)(bool); typedef bool (*ImportEMWriteLocal)(int, int,
-
- vcredist_x86.exe
by FrankSp
- 4 Replies
- Last post
by FrankSp
- I include and run vcredist_x86.exe in an installer based on Inno Setup. vcredist_x86.exe works fine, but it takes a rather long time to run (several minutes), even when it is already installed.
I would really like to have a utility from Microsoft, that will quickly detect if the vc redistributables are installed, and if not, download (from Microsoft) and install them.
Are there any p
-
- call a C++ function from a C# dll
by dmircea
- 6 Replies
- Last post
by limpduck
- Hello, Sorry if this has been discussed, but I did not get any link. I have the following scenario: one C# dll and one exe file. I want to call from the dll one function in the exe file. Case 1) the exe file is a C++ CLI program. Case 2) the exe file is a normal C/C++ exe (non-managed exe) Which of these calls is possible A small sample or a link to a sample would be great. Thank you.
-
- CAM graphics
by Schwarzschild
- 14 Replies
- Last post
by Schwarzschild
- I am trying to install the CAM graphics package available at http://www.math.ucla.edu/~anderson/CAMclass/CAMClass.html. I tried just dumping everything in my solution but that did work because I got linker errors. Could someone give me the exact steps I need to take to use this package (I am somewhat new to Visual C++) if that is not asking too much
-
- unresolved external symbol error when using array
by Philly
- 3 Replies
- Last post
by Jonathan Caves - MSFT
- hi,
ok i have a simple struct called Control, and a simple array of Control(s), now when i try and use the array i get:
error LNK2001: unresolved external symbol "private: static struct Forms::Control * Forms::form::AllControls"
my code is below, iv been trying google but with no joy.
thanks,
Philly
Code Snippet
struct Control
{
-
- fwrite in binary mode
by MMMalik
- 11 Replies
- Last post
by Brian Kramer
- I have a binary file that i am reading in an array and then after doing some processing i want to write it into a new binary file. The reading and the processing is working fine but writing back is not working.
FILE *fptr;
FILE *fptr2;
unsigned short *ds;
unsigned short *ds2;
fptr = fopen( "C:\\abc.dat" , "rb" );
fptr2 = fopen( "C:\\abs2.dat" , "wb" );
fre
-
- How to create OpenGl view in Windows forms application
by KeeperMustDie
- 2 Replies
- Last post
by KeeperMustDie
- Hi, can anyone explain me how to create OpenGl view in Windows forms application(C++) If You know any tutorial or You can explain it by Yourself please help me!
-
- SetPixelFormat could not be located in OpenGL32.DLL
by Gunner101
- 7 Replies
- Last post
by Gunner101
- Hello, I recently bought a book on OpenGL programming, so I typed up one of the example lessons, it compiled fine but when I went to debug it, the error message "The procedure entry point SetPixelFormat could not be located in the dynamic link library OpenGL32.DLL" here's the output : 'Polygons.exe': Loaded 'C:\dev\Polygons\Debug\Polygons.exe', Symbols loaded. 'Polygons.exe': Loaded 'C:\
-
- How are the Linefeed and Carriage Return implemented in a ListBox?
by gabit7
- 2 Replies
- Last post
by thrice
- In my dialog I've got a ListBox and I'm using AddString and RedrawWindow to display what's in a data buffer. In the data buffer there are the characters 0x0d 0x0a which represent a carriage return and linefeed. However, when the data is displayed in the ListBox there is just one line of text and the carriage return and linefeed have no effect. I added '\r' '\n' to the data buffer and then ran the
-
- Cant Explain Runtime Error
by dacky
- 4 Replies
- Last post
by Andreas Masur
- Hi Gurus im using VC++.Net 2003 can you please explain why do i get a runtime error like this I just added a private member variable on my Dialog class which is a WORD data type and i initialized it on my own defined constructor. everytime the dialog will close i will have this runtime error. thanks "Run-Time Check Failure #2- Stack around the variable 'AddEditFormDlg' was corrupted"
-
- evt2002web_min.exe
by BuckshotWilson
- 4 Replies
- Last post
by BuckshotWilson
- Does anyone know how to uninstall evt2002web_min.exe
-
- Build error converting C++ 2003 to 2005
by beesol
- 11 Replies
- Last post
by beesol
- I have an unmanaged C++ project in VS 2003. I converted it to VS 2005 without any problem. However, when I build it in 2005 I quickly get a message 'Build failed' in the bottom left hand corner. But the error list is empty! Can anyone help
Thanks
-
- CListCtrl - ReportView - Selecting a row
by Rick Kriscka
- 4 Replies
- Last post
by Viorel.
- I have a CListCtrl and I want a particular row selected, this this example row 4.
int row = 3;
SetItemState(row, LVIS_SELECTED, LVIS_SELECTED);
This does select the row and treats it as selected, BUT it does not look selected (it is not highlighted in the view). How do I highlight a particular row so that it looks selected
-
- Managed Extensions for C++ to C++/CLI conversion tool
by madmac
- 4 Replies
- Last post
by madmac
- We have just finished and released our 1st software project using Visual Studio 2005 MC++, the source code for this has magically turned into a deprecated syntax during the products development lifecycle.
We are using /clr: oldsyntax to keep our existing code working but for how much longer I don¡¯t know.
For example we cant even add any new forms to our flagship software product with out
-
- VC++ class view setting Visual studio 2005
by satyaveer chauhan
- 3 Replies
- Last post
by reenavade
- Hi,
I have recently installed VisualStudio 2005. In class view I see classes and class members in different pane. In 2003 I was able to see in tree format in the same pane. Can I change setting to see again in tree view format in 2005
Please suggest.
Thanks
S S