-
- What kind of C++ application is IE, Wordpad, Paint etc..?
by Mateusz Rajca
- 2 Replies
- Last post
by Damien Watkins - MSFT
- Hi!
What kind of C++ application is IE, wordpad, paint, notepad windows media player etc... (MFC, ATL, Win32 etc...)
Matt
-
- Disassembly Operand @ILT
by Mathphile
- 7 Replies
- Last post
by Mathphile
- The following is a function call to a member function defined in a C++ class. Can anyone tell me what ILT stands for
00402318 call @ILT+175(C::C) (004010b4)
-
- More WinSock problems...
by Frawley
- 6 Replies
- Last post
by Frawley
- This has been solved, read the posts below for the next question.
Hello again! I managed to get winsock to connect using gethostbyip(), however the problem starts when I use gethostbyname(). When I call connect(), the connection always times out. I've tried several servers such as google and none of them connect. Here is my code:
WSADATA wsaData;
if (WSAStartup(MAKEWORD(2, 2)
-
- i want to use log4net
by indupraveen
- 1 Replies
- Last post
by einaros
- i want to use log4net for my application . how can use it
plz help me anyone who knows it.thanks.
-
- dllexport a private member of an exportable class
by Hicham Mouline
- 9 Replies
- Last post
by Holger Grund
- Hi, here are relevant excerpts of the code:
main.cpp (Project main)
#include "Tree.h"
int main( int argc, char * argv[])
{
...
const Tree<AmericanPut,CRR>& m = Tree<AmericanPut,CRR>::getModel();
...
}
Tree.h (Project DLL)
template <typename cT, template<const int> class tT, const int ntree =2>
class F
-
- fatal error LNK1112
by Jai G
- 5 Replies
- Last post
by Bite Qiu - MSFT
- Hi all,
I get this fatal error. fatal error LNK1112: module machine type "IA64" conflicts with target machine type "IX86" I use the following specification: 1.Windows 2000 with service pack 4 2.Microsoft VC++ 6.0 3. The MicrosoftR Platform SDK - Nov 2001 In my project i have the following settings: Tools->Options->Directories->(Win32)Include Files->C:\PROGRAM F
-
- ListView_SetItemCount macro
by amit_kr
- 3 Replies
- Last post
by Giovanni Dicanio
- When I set the item count of virtual list view using ListView_SetItemCount macro. This macro is causing listview to be painted.
Is this correct behaviour of this macro
Thanks
amit
-
- Setup project questions
by Randy Seedle
- 3 Replies
- Last post
by Simple Samples
- Two questions.
1. Can you change the project name displayed in the Setup Wizard
2. Can you change the path displayed in the "select installation folder" of the Setup Wizard
Randy Seedle
-
- Menu limitations
by ANicoll
- 4 Replies
- Last post
by ANicoll
- I am using Visual C++ 2005 and need to create a menu heirarchy that has thousands of items. As I approach about 8000 items, the menu starts to display incorrectly. Parts of the menu that should be displayed as subitems appear as top level items.
I never receive an error as I enter new items in the menu structure, nor do I receive any errors about overflowing the menu heap as the application
-
- new operator changing parameter values in release build
by JoeChip90
- 4 Replies
- Last post
by Simple Samples
- Hi, I hope someone can help me. I've been in the process of trying to sort this bug out in my code for some time now. I think I've isolated the problem but I can't for the life of me work out why this bug is happening.
Basically, the program uses a simple template class that is a dynamically allocated array of arrays (each element of which holds an object of the type which the template is insta
-
- Programming Help
by shailigum
- 5 Replies
- Last post
by Damien Watkins - MSFT
- Well hello everybody, im a 15 year old kid from the U.S. and im pretty interested in programming. i know a lot of Visual Basic (i use Visual Studio '05), and im moving on to C++ and im trying to learn whatever i can. i thought that maybe you guys could give me some ideas about where to go from here or what i can do in the future to further advance myself. im dedicated to this stuff and im willing
-
- Newbie needs help on C++: string issue
by Fantonis
- 6 Replies
- Last post
by Samuel Hobbs
- Please help me if you know how to do it. I want to display an object in C++ (for testing purpose). My intention is like what we can do with Java by reimplementing "ToString()" method. Hence, can you give me some example(or link) on
- convert int/float/double to string
- "convert" object to string: display its fields
- how about pointer
Thank you very much.
Fanton
-
- Stop Dll Injection
by brietje698
- 14 Replies
- Last post
by rtpninja
- Hello, I'm wondering how i could stop people from injectinf Dll's into my app, anyone could tell me
-
- Intelli
by Raghunc
- 1 Replies
- Last post
by Brian Kramer
- Problem with the intelli Kindly help not able to get the context help em a new bie kindly help
-
- How to find where a string in an RC file is used
by chas2003
- 6 Replies
- Last post
by chas2003
- I have a bug in a project I need to track down. I know the error message and I can find it in the project. It is in an RC file. It is associated with the number 0x00000230. But that number doesn't appear anywhere else in the solution. Is there a way to find out where an error string is used within a project/solution Thanks, Chas
-
- How to select sub items of list control of style REPORT ?
by ketu0001
- 1 Replies
- Last post
by Pintu Shukla
- Hi All,
Read and write from file is done. Thanks for that. :-)
I have implemented list control such that I can edit the items in it by double clicking on them. However it's not possible to edit subitems of list control. I can't even select the subitems. Which list property should I use to activate selection of sub items My list control style is - " REPORT".My question is How to mak
-
- reading and writing file
by aguess
- 14 Replies
- Last post
by aguess
- hello i would like to open an existent file with read and writing and to modify some characters and i just know :
StreamWriter^ sw1 = gcnew StreamReader( "c:\\me.txt",true,Encoding::Unicode);
and don't know if i can read with it or not and i would like to know how can i read character by character in the file because i just know ReadLine who read line by line
-
- Basic DLL Creation and Deployment in Visual C++ 2005
by Sebastian381
- 13 Replies
- Last post
by Sebastian381
- Hello: I'm having trouble understanding how to create and use C++ DLLs in Visual Studio 2005. I'm used at creating DLLs in C#, but as that code is run on a VM, the process is a lot simpler. I know this is probably a newbie question, but I haven't been able to find a complete resource on the topic. The problem is the following: I have one project, which used to compile to a .lib file, and now I wan
-
- Making OLE Object
by MReza &#40;Mohammad Re
- 2 Replies
- Last post
by MReza (Mohammad Reza Jooyandeh
- Hi. I want to have a COM object which is be singleton for all processes. and as I undrestand I should write an ole object. My first question is am I correct with this usage or ole is just for document components I assumed that answer of the above question is true! Now how should I do it! (As I mentioned My com object is not document. It is an object which provides some services.) As I see everywh
-
- Problem using ReadFile
by engineereeyore
- 2 Replies
- Last post
by engineereeyore
- I'm using ReadFile to read data from the Serial port on my computer. Everything works fine and I get the data. However, the problem I'm having, is that I don't always know exactly how much data is coming. This causes a problem with ReadFile since it will just sit there until it gets the number of bytes requested. Is there any way around that Some way to tell it to just give me what's there up to
-
- Help please! Can't figure out something with ::DoModal() function
by phalaris_trip
- 3 Replies
- Last post
by Holger Grund
- Hi guys, I have an MFC application and I made a class called CCustomFilter.. it basically brings up a dialog with some edit boxes, etc.. the user is able to enter a mask and apply the filter.. Now, from the main dialog I am instantiating it as follows:
Code Snippet
CCustomFilter outdata; outdata.m_Numerator = 1; outdata.m_Denominator = 1; outdata.DoModal();
Of-cours
-
- extending the index list of a stdext::hash_map?????
by sebastian_v_b
- 0 Replies
- Last post
by sebastian_v_b
- Hi folks, I have to many collisions in my hash_map. I am using the stdext::hash_map with the stdext::hash function. As key I use long. I thought maybe I can get rid of some collisions by extending the index table of the hash_map........ However I do not know how!! Maybe a different hash function with a greater function range will automaticly increase the index list....but I am not sure of this. An
-
- Using a getfileopen in console.
by Zeromus EvanGelion
- 1 Replies
- Last post
by Saravanan V V
- I'm having troubles with converting LPWSTR to char*. The prototype is something like this:
Code Snippet
void GetOpenFile( char * fn,LPWSTR mask)
I don't know how to convert LPWSTR to char*. I had an idea to use WideCharToMultiByte but I don't know the specific conditions to apply to the parameters.
Please help!
-
- How to serialize multiple objects
by Khufu_I
- 9 Replies
- Last post
by Simple Samples
- Is there a way to serialize multiple objects in C++/CLI, such as array<Cars^>^ BMW = gcnew array<Cars^>(number_bmw_models) array<Motorcycles^>^ Honda = gcnew array<Motorcycles^>(number_honda_models) I want to serialize the BMW array of car objects and the Honda array of motorcycle objects into one file, preferably XML. Note that the length of the arrays are variable, de
-
- Owner and Parent - difference?
by bucz
- 3 Replies
- Last post
by Simple Samples
- What is the difference between Owner and Parent of a form