Answer Questions
Rich S C++ Convert
I have a project in which 99% code are written in C++ and the project is using some other 3rd party application written in C such as Codebase, Crush32, Paige32, Zinc Framework. The project is using Zinc framework for windows, buttons, text and so on. I would like to convert this project to Visual C++ that I can eliminate to use the Zinc Framwork. Is there any method that can help me to convert or I have to start a fresh project in Visual C+ ...Show All
Rance Downer declaring a stream
hi..... i'm trying to open a binary file using iostream, so i need to declare a stream. how can i structure the stream so that it read my file as i want it to i need the stream to read my binary file as integer. thanks! Ok, I was searching around online and came up with this site which shows how to create a graph in MFC using CGraphWnd. Hope it helps you^^. http://www.thecodeproject.com/miscctrl/graph2d.asp C ...Show All
jeff.adams86 how can i use the type struct in VISUAL C++??... i'm new in visual c++
hi! i have a program in c++ and i want to do it in visual c++, but i found a problem, in the code program made in c++ i use a type struct : struct ind { char *c; int f; } but i think that in visual c++ doesn’t exist the type struct , i'm not sure..... can i use the type struct in VISUAL C++ or what other kind of struct may i use i think that is the main question.... WH ...Show All
mabraham1 error LNK2001: unresolved external symbol "struct ....."
Hi, any help with this problem would be greatly appreciated. I have three files in a project using visual c++ 6.0. One is a library file with the following code: typedef struct gl_Mesh { int nVerts; float *Vertices; int nFaces; int *Faces; int nTcoords; float *Tcoords; int nTfaces; &nbs ...Show All
edburdo MS C++ 2005 express database mismatch error when compiling
Every time that I attempt to compile a c++ program I get a database mismatch error. When I looked this error up in the included documents, it said that I needed a newer version of dbi.dll. Where can I find this file I know that my programs work because they compile with ms vc++ 6.0 and the gcc complier. Here is the artilce where it told me "how to fix it," but I still cannot find the file that I need. Visual C++ Conc ...Show All
Thomas55 Unresolved Token and other link errors when migrating from VC++ 2003 to VC++2005 Express
Hello all, Here is the situation. I am migrating an existing solution from Visual C++ 2003 to Visual C++ 2005 Express. I have the Platform SDK installed as well. The solution contains two mixed mode projects. One is essentially a managed wrapper dll for a 3rd party static win32 library. I do not have access to the source for the 3rd party library. The other project is a managed executable that utilizes the wrapper dll. These proje ...Show All
Warwick Jaensch Static class decalarion and access
First I know this post mentions windows forms but it isnt really a windows forms question I just use this as an example. It is a general c++ question for which I have other uses if there is a solution. I want to declare a class to keep track of certain values. I guessed the way to do this was with static members. So for example I want to keep track of some of the windows forms in my application so I did this: using namespace System; ...Show All
Dc123 how to Call .NET dll in C ?
how to Call .NET dll in C You can use the /CLR switch to generate managed code for your C++ application. Thanks, Ayman Shoukry VC++ Team Once you have enabled the switch Ayman mentioned (see your help if you don't know how), go to Project Add reference, then browse to your .net dll and press OK. Now you can use the namespace, classes, structures and enums of the .NET dll. yes, call a .Net ...Show All
DFive Batch Build Broken
Re Visual Studio 2005 Standard: I'm testing with a large project (240 components), and I found that parallel builds don't work from the Batch Build box, no matter what setting I use (1-32) for the number of builds. Oddly enough, parallel builds worked fine in Beta 2, and they still work if I choose to build a "solution." When I do a batch build, however, I'm back to one CL process at a time. This same project took 3 minutes to build in Beta 2. I ...Show All
V_Bapat Where did the quick console go?
Anyone know where the quick console window went in Visual C++ Express August CTP Jeff House Hi Yaniv, Thanks a lot for your feedback. You can actually log your suggestion at http://lab.msdn.microsoft.com/productfeedback/ where other interested folks and users can vote and determine the importance of your suggestion. The VC team for sure considers every single suggestion entered there. T ...Show All
pappascd Migration from VC 6.0 to VC 7.1
I am porting from VC 6.0 to VC.NET 2003 and I am getting the following issue:- error C2143: syntax error : missing '}' before 'constant'. Plus any document or help on migration from VC 6.0 to VC 7.1 Best Regards, If you use this import you must use the interface name with the namespace as prefix! MSXML::IXMLDOMDocument yep i used #import "msxml4.dll" .. and if I dont I get other errors .. like missing ...Show All
dlgross datagridview refresh problem
Was hoping someone could help with a refresh problem. I'm running a function to update the colours for the rows on the DataGridView in a tabbed pane based on some value from the dataSource of the DataGridView. However the DataGridView will not refresh the first time round. If I move to another tabbed pane and come back then the DataGridView is properly refreshed. What I think the problem might be is that the dataGridView has a few ...Show All
ecast calling managed dll from native dll and keeping a static ref
What issues should I be aware of when doing the following: End scenario: Native dll needs to hold a static reference to a managed class (written in c#) throughout the lifetime of the native dll. I have written a slight wrapper in managed c++ (technically c++/cli) in whidbey. This all seems to work fine and dandy, but there always seems to be a "gotcha" in the managed c++ world. When I compile I get this warning: Warning 1 warning C42 ...Show All
Dan Dieckmann PostMessage & ON_MESSAGE(...)
Hi. when I use form ON_MESSAGE(WM_USER+1,ShowInListBox) in my Code after 2 or 3 Second (Less or More) my Program does Hang! but If I delete ON_MESSAGE(WM_USER+1,ShowInListBox) my Thread work Properly. this my Code: //////////////////////////////////////////////////////////////////////////////////// ........... public: BOOL* GetContinue() {return m_bContinue;} void SetContinue(BOOL* bContinue) {m_bContinue=bContinue;} ... ..... voi ...Show All
RAMPRAKASH _bstr_t question
How do I do case conversion for _bstr_t Are there any functions available I looked up MSDN, did not find much help there. Appreciate any help, S Actually, _bstr_t exists to wrap BSTRs - COM (and VB) strings, which are represented differently than regular null-terminated strings. The representation as I remember it is the integer length of the string followed by the string buffer. The buffer is much like a re ...Show All
