|
what is the exactly the error. probably the compiler has a conflict with the dynamic linked library that VC++ is using or the static library. What is the goal of your program ?. Give me the lib files you are using and a bigger part of your code.
I could help you find another way
gabby
|
|
|
|
|
i think its a compiler problem because all the other friends function can access the private member data execept the one with the stream objects. so how do you fix the compiler conflict.
i have tried reinstalling VC++ and include its components but its still giving me the same messsage " ..... cannot access private member... see declaration of the the variable "
|
|
|
|
|
Can someone please tell me how can I change the resolution of the scren in a win32 application. Hope you don't have to import functions from the Microsoft DX. Something as simple as you can.
gabby
|
|
|
|
|
|
thank you very much
This will help me a lot
gabby
|
|
|
|
|
how can I determine, using C++ or Win32 api which encoding is a Text file written in ?
I have a text file in either unicode or utf8 or ascii and I need to determine which encoding the file is written in. the solution about checking the BOM to verify the encoding dosnt work as not all text files have a BOM associated. eg: vrmlutf8 encoded files normally have a missing BOM.
|
|
|
|
|
You can use the IsTextUnicode() API function to test your file. It uses an array of test, including statistical and/or BOM to see if your file is UNICODE or not. It is not full proof, but I haven't had any problems with its results so far.
MSDN Link[^]
I Dream of Absolute Zero
|
|
|
|
|
Hello:
Could anyone provide me with information in how to move multiple rectangles in screen by mouse using CRectTracker.
I recently build application that draws rectangles by mouse,
and i can select rectangles one at atime and also select multiple shapes ,and move/resize one shape at same time.
my problem in moving multiple shape using CRectTracker.
i read many example like DRAWCLI in MFC sample, but it didnt using CRectTracker.
Thanks
|
|
|
|
|
I have some code I want to compile. I have installed Visual C++ 6.0 but I get a build error:
error C2065: 'INTERNET_CONNECTION_OFFLINE' : undeclared identifier
I understand I need to use a later SDK so I have downloaded the very latest one and installed it but my problem is not solved. I think I must now direct Visual C++ to the SDK directories instead of the old ones. Is this correct? How must I do it?
|
|
|
|
|
It could be because you've not included <WinInet.h>> in the right place (maybe!)
Anonymous wrote:
I understand I need to use a later SDK so I have downloaded the very latest one and installed it
I suppose you are speaking about the Platform SDK here... If you have the latest, you need to move them up in the directories listing for include files & library files in the Project settings dialog box.
|
|
|
|
|
|
Hello everyone,
Just a simple question,
how to display line number in
the Microsoft Visual C++ version 6.0?
thanks
Ronald
|
|
|
|
|
There is no way in MSDEV, the IDE we use for VC++ 6.0 development - to display line numbers.
Alternatively there may be some plug-in written to extend the MSDEV environment, but I've not yet come across any yet.
|
|
|
|
|
Whattt?!?
Such a complex IDE and there's no way
to display the line number??
What a horrendous crime!
[sorry just joking ]
arrgggghhhh!!!!
Ronald
|
|
|
|
|
ron4ld wrote:
What a horrendous crime!
I agree. Thankfully this was sorted in VS7, as well as improving the printing capabilities as well.
I Dream of Absolute Zero
|
|
|
|
|
RChin wrote:
Thankfully this was sorted in VS7
do you know where it is in vs7 ???
|
|
|
|
|
Line numbering can be enabled in VS7 / 7.1 from the options dialog->Text Editor.
I Dream of Absolute Zero
|
|
|
|
|
RChin wrote:Thankfully this was sorted in VS7...
Typical that it took a whole version change to fix it. A folding editor would be nice too. I wonder how long we'll have to wait for that?
"Oh, I'm sick of doing Japanese stuff! In jail we had to be in this dumb kabuki play about the 47 Ronin, and I wanted to be Oshi, but they made me Ori!"
|
|
|
|
|
I thought the line number where the cursor is currently located is displayed in the lower right corner of the status pane? I always look down there when I am scrolling around in the file. Mine shows "Ln 23, Col 34" for example to the left of the REC|COL|OVR|READ status pane area.
|
|
|
|
|
Yeap I know that
But you have to look down though
What I want is the line numbering on the left
side of the editor -- which should be
a standard feature on a programming editor.
But as it was said, the smart engineers took a major version upgrade to add that feature.
Ronald
|
|
|
|
|
Okay, now I get it.
I suppose I have been using a brain-dead IDE like Visual Studio for so long, I don't even know what a nice editor must be like....
|
|
|
|
|
Pls tellme in what contains in this folder.
KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates
As observed by me.......
In this folder I am able to see 3 folders
DatatAccess
Windows 2000
Windows Media player
Under Windows 2000 -I have 2 sub folders
SP4
SP5
Under SP4 I have one folder
Under SP5 I have many folders which starts with KB.
Under this interesting I see FileList folder and click to see there are many folders which starts from 0 - 1 or sometimes up to 10.
When I clicked each one of these folders I see .dll as a file name.
I want to know the following things.
What is a file list
What are the subfolders under it.
Why are they numbered.
Can any expert throw light on this as I am confused with this?
Regards
KP
|
|
|
|
|
ykutanoor wrote:
Under SP5 I have many folders which starts with KB.
Knowledge Base
ykutanoor wrote:
Under this interesting I see FileList folder...
Which is the list of files that are part of that KB article. For example, KB823980 is about buffer overrun in RPC. The files updated for this are ole32.dll, rpcrt4.dll, and rpcss.dll, which are listed under the FileList key.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
HI
How to place a Image (BMP, JPEG etc) on a Button.
TO make my interface .. Good Looking.
Plz tell me..
or sample code
thanx
|
|
|
|
|
Zeeshan Bilal wrote:
How to place a Image (BMP, JPEG etc) on a Button
Either create a CButton object using the BS_BITMAP style, or derive your own class from CButton and do the drawing yourself. The latter solution could for example make use of the IPicture interface to actually display the image.
We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve
|
|
|
|