|
Dear, you can visit microsft.msdn.com, that is full of help, or simply use MSDN help that comes with Visual studio 6.0 ,2003 or 2005, just search for the error number and the whole help will be yours serving your needs, I was using C++ for 7 years, trust me go for C# and never for J#.
C# is easier, has the same libraries and more rich GUI wise.
I've been programming since year 1999, graduated from Univeristy Paris 2 France, fluent in C,C++,VC++,Web programming (XML,HTML,php etc..),.NET frameworks,C# and ASP.NET,SQL server, Mastering VC++ .NET and SQL server,data structure and database design
|
|
|
|
|
Thank you very much!!!
-------------------
I am learning C++ and English
|
|
|
|
|
The first one you are passing by value. So a copy constructor is required.
The second one you are passing by reference so no copy constructor is required. Only the reference is passed.
Jesus Loves You and Me <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
Thank you very much!!!
-------------------
I am learning C++ and English
|
|
|
|
|
Hello and a Happy 2006 to all of you! ::- )
Short question: how can I add "version", "description" and "producer" information to a simple (empty project, no files created by the wizard) Win32 DLL? Somebody told me a few days ago that I can do it by adding a "Version" resource, but as I said, this is an "empty" Win32 DLL and I don't know what steps to take to add such a resource and what is its format.
-= E C H Y S T T A S =-
The Greater Mind Balance
|
|
|
|
|
insert->Resource
never say die
|
|
|
|
|
To add resource Script
Open the Workspace in which u have to add.Then click new and select Resource Script
never say die
|
|
|
|
|
Thank you very much, that's what I was looking for ::- ).
-= E C H Y S T T A S =-
The Greater Mind Balance
|
|
|
|
|
I created a JobObject in a process and am able to use AssignProcessToJobObject to add processes to the JobObject. But if I CreateJobObject from ProcessA and open this job object using OpenJobObject in ProcessB, I am not able to use AssignProcessToJobObject to add processes to this job object in ProcessB. I get error 5.
Is this supposed to work? Has anyone done this before?
thanks!
Happy 2006!
|
|
|
|
|
I am developing a program using MFC and I want to know the computer's IP to use it. Is there any function that can get the IP of the computer???
|
|
|
|
|
|
|
Using MSVC you can compile and link youre own kernel, and have it loaded into bochs a x86 emulator with this package. It contains everything you need except MSVC.
Once unzipped, simply double-click the bochs.bat to run the prebuilt kernel which will display letters across the screen letting you know it booted okay.
To modify and add your own code to the kernel, open the solution file and when ready press F7 to compile. F5 does not work, unless you specify the path for bochs.
YOU CAN NOT DEBUG YOUR KERNEL FROM MSVC. However, you can double-click bochsdbg.bat to run the bochs emulator in debug mode. Typing help at its command line will give you commands to debug the kernel.
When you are ready to try the kernel on a real PC, simply locate the floppy.img in the directory and use a utility to write this image directly to a floppy disk. Stick it in the drive and boot it up.
http://mcguire.sytes.net:8080/msvcoek.zip
http://mcguire.sytes.net:8080/
Here are some extra sites to help you get started along with forums:
http://www.osdev.net
http://www.osdever.net
http://www.mega-tokyo.com
http://www.osdcom.info
http://www.invalidsoftware.net
I would love to hear from anyone who thought this was a neat idea, useful, or full of problems. =)
kmcguire3413@hotmail.com
|
|
|
|
|
I want to write my data on CD in visual c++ code.How can I do it?
Agh
|
|
|
|
|
|
i am trying to create a class which have a pointer which points to one or more other class
but i cant find anyway to do it pleaes show me an example please
i am using #include<iostream>
using namespace std;
wat i am trying to do:
i am trying to make a class that some how have a pointer which links to item class which is shown below
these are my 2 item class:
class graphic_card
{
int core_clock,memory_clock,memory_size,pixel_pipe_line;
char model[20],vpu[20];
float direct_X;
bool Twin_view,video_in,D_sub;
public:
};
class mother_board
{
int hyper_transport,pci,audio_channel;
char model[20],cpu_socket[30],memory_slot[20];
bool lan,dual_bios,intergrated_VGA;
public:
};
|
|
|
|
|
I might not quite understand you. your requirement seems quite simple:
class NewClass
{
graphic_card *m_pGraphic_card;
mother_board *m_pMother_board;
public:
...
}
|
|
|
|
|
|
B.M.Sudhakar wrote: error C2065: 'IHTMLElement2' : undeclared identifier
Actually IHTMLElement2 is defined under namespace MSHTML , so u either declare variable as MSHTML::IHTMLElement2 or use statement using namespace MSHTML;
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
If you included the right headers, then you have an outdated Platform SDK. More bad news, the latest Platform SDK does not support VC6. Upgrade your Visual C++, or look for an old-but-newer-than-yours Platform SDK download somewhere.
My blogs:
http://blog.joycode.com/jiangsheng
http://blog.csdn.net/jiangsheng
http://bloglines.com/public/jiangsheng
Command what is yours
Conquer what is not
---Kane
|
|
|
|
|
I would like to use Win API's SendMessage( wnd, WM_GETTEXTLENGTH, 0, 0 );, or PostMessage function to be able to get the text from the textbox of another program. Let's say, I would like to be able to get the text from Instant Messenger and show it in my App. Does anyone know how to do this!
I'm doing it in C#, but I'm posting here because those functions are not C# native and you are more familiar with them than C# programmers.
|
|
|
|
|
Hi peshkunta,
You want to retrieve the text from the text box of some Instant messenger?
What all you require are
1. HWND of -- IM
2. Class name for text box (most of cases it's "Edit")
The API's you would require are...
1. EnumWindows:
-Pass IM HWND as 1 param, and give your (own) callback function name as
second param to this API.
-Loop through the text boxes inside IM (if more text boxes exists).
-When ever you get the text box from where you want to retrive the text
return TRUE from callback to terminate the enumeration. (one possible
approach to compare the text boxes is compare class name)
-EnumWindows must return you the HWND to (desired) text box.
2. PostMessage
-Use PostMessage to get the text from the text box.
Pseudo code is done... now get in action to retrive the text !
all the very best !
Cheers,
Vishal
|
|
|
|
|
Thanks so much for the response! I'm not very familiar with C++ functions. I know that SendMessage or PostMessage have many versions (all accept different parameters), but I have no experience in using them.
I know how to get the handle of a window/dialog (HWND), and pass the message constant WM_CLOSE, etc., but I'm not sure how to get the class of a text box, hence don't know how to loop through them. Is EnumWindows a function? And how do I use it? That below is what I think I'm most iffy about:
******************************************************************
-Loop through the text boxes inside IM (if more text boxes exists).
-When ever you get the text box from where you want to retrive the text
return TRUE from callback to terminate the enumeration. (one possible
approach to compare the text boxes is compare class name)
-EnumWindows must return you the HWND to (desired) text box.
******************************************************************
Could you please write me an example on how I would do that? THANKS!!
|
|
|
|
|
I am using Window CE emulator as a CPU choice to debug my eVC++ program.Can i able to open my PC's com port thrugh this emulator option.I am running this emulator in Window XP environment.
birajendu
CyberG India
Delhi
India
|
|
|
|
|
there is an example in VC samples, you can have a look.
open com port is by function CreateFile(...)
includeh10
|
|
|
|