Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Using c++ string and iostream library when developing WinDbg extension.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ferad Zyulkyarov  
View profile  
 More options Jan 3 2009, 12:58 pm
Newsgroups: microsoft.public.windbg
Followup-To: microsoft.public.windbg
From: Ferad Zyulkyarov <fer...@gmail.com>
Date: Sat, 3 Jan 2009 09:58:57 -0800 (PST)
Local: Sat, Jan 3 2009 12:58 pm
Subject: Using c++ string and iostream library when developing WinDbg extension.
Hi, I am developing one simple extension for WinDbg. In one of my
classes I wanted to use the string c++ class but the build failed
because the the <string> header was not found and the std namespace
was not found.

The error messages

error C1083: Cannot open include file: 'string' No such file or
directory
error C2871: 'std' : a namespace with this name does not exist

I use the WDK tool set to build the extension as suggested at Building
DbgEng Extensions at msdn page.

I wonder is there a way to use c++ string class, and also the iostream
library when developing WinDbg extension (DbgEng or EngExtCpp).

Thanks,
Ferad


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mht  
View profile  
 More options Jan 4 2009, 7:37 am
Newsgroups: microsoft.public.windbg
From: mht <moha...@gmail.com>
Date: Sun, 4 Jan 2009 04:37:00 -0800 (PST)
Subject: Re: Using c++ string and iostream library when developing WinDbg extension.
On Jan 3, 10:58 pm, Ferad Zyulkyarov <fer...@gmail.com> wrote:

I'm able to use the string successfully in my windbg extension.
plz chk if you have done following:
#include <string>
using namespace std;

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ferad Zyulkyarov  
View profile  
 More options Jan 4 2009, 11:49 am
Newsgroups: microsoft.public.windbg
From: Ferad Zyulkyarov <fer...@gmail.com>
Date: Sun, 4 Jan 2009 08:49:49 -0800 (PST)
Local: Sun, Jan 4 2009 11:49 am
Subject: Re: Using c++ string and iostream library when developing WinDbg extension.

> I'm able to use the string successfully in my windbg extension.
> plz chk if you have done following:
> #include <string>
> using namespace std;

Hi,

I do have

#include <string>
using namespace std;

But this results to the following error
 - error C1083: Cannot open include file: 'string' No such file or
directory

When I delete #include <string> and leave just "using namespace std;"
I get the following error:
- error C2871: 'std' : a namespace with this name does not exist

I guess there is something wrong with the include paths. Could it be?

Thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Using c++ string and iostream library when developing WinDbg e" by Alon
Alon  
View profile  
 More options Jan 5 2009, 7:50 am
Newsgroups: microsoft.public.windbg
From: Alon <A...@discussions.microsoft.com>
Date: Mon, 5 Jan 2009 04:50:03 -0800
Local: Mon, Jan 5 2009 7:50 am
Subject: Re: Using c++ string and iostream library when developing WinDbg e
Did you try adding to Sources file the following line(s):

USE_STL=1

USE_NATIVE_EH=1
USE_MSVCRT=1


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ferad Zyulkyarov  
View profile  
 More options Jan 7 2009, 6:44 am
Newsgroups: microsoft.public.windbg
From: Ferad Zyulkyarov <fer...@gmail.com>
Date: Wed, 7 Jan 2009 03:44:36 -0800 (PST)
Local: Wed, Jan 7 2009 6:44 am
Subject: Re: Using c++ string and iostream library when developing WinDbg e

> Did you try adding to Sources file the following line(s):

> USE_STL=1

> USE_NATIVE_EH=1
> USE_MSVCRT=1

Thanks, that worked!

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »