Click here to Skip to main content
15,908,776 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
led mike17-Oct-08 5:55
led mike17-Oct-08 5:55 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
George_George17-Oct-08 6:18
George_George17-Oct-08 6:18 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
led mike17-Oct-08 6:21
led mike17-Oct-08 6:21 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
George_George17-Oct-08 6:37
George_George17-Oct-08 6:37 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
led mike17-Oct-08 8:43
led mike17-Oct-08 8:43 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
George_George20-Oct-08 23:32
George_George20-Oct-08 23:32 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
led mike21-Oct-08 5:17
led mike21-Oct-08 5:17 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
George_George21-Oct-08 21:39
George_George21-Oct-08 21:39 
Hi led mike,


Previously I think STL functions like cout is provided in source form, but through debugging (I attached my output below), which proves cout is provided in binary form (in MSVCP90D.DLL), so here is my confusion. I want to know what is your point whether you think STL is provided in binary form or in source form.

Looks here MSVCP90D!std::basic_ostream<char,std::char_traits<char> >::operator<<: module name is MSVCP90D other than my own exe name.

In binary form means we use import library to link, and actual implementation code is in DLL, source code form means the source code of STL is provided and we integrate (compile) the source code directly into our code.

0:000> t
MSVCP90D!std::basic_ostream<char,std::char_traits<char> >::operator<<:
00000000`104c32d0 4889542410      mov     qword ptr [rsp+10h],rdx ss:00000000`0012fe88=cccccccccccccccc
0:000> k
Child-SP          RetAddr           Call Site
00000000`0012fe78 00000001`400010e6 MSVCP90D!std::basic_ostream<char,std::char_traits<char> >::operator<< 
00000000`0012fe80 00000001`400016b2 TestDebug1!main+0x56
00000000`0012fee0 00000001`4000150e TestDebug1!__tmainCRTStartup+0x1920
00000000`0012ff50 00000000`77d5964c TestDebug1!mainCRTStartup+0xe
00000000`0012ff80 00000000`00000000 kernel32!BaseProcessStart+0x29

#include <iostream>

using namespace std;

int foo()
{
	int b = 300;

	return b;
}

int goo()
{
	int a = 400;

	return a;
}

int main()
{
	int a = 200;

	void** b1 = (void**)&a;

	void* b2 = *b1;

	int b3 = (int)*b1;

	cout << (void*)b2 << endl;

	cout << (void*)b3 << endl;

	return 0;
}



regards,
George
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
led mike22-Oct-08 5:29
led mike22-Oct-08 5:29 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
George_George22-Oct-08 19:52
George_George22-Oct-08 19:52 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
led mike23-Oct-08 5:41
led mike23-Oct-08 5:41 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
George_George24-Oct-08 1:08
George_George24-Oct-08 1:08 
Questionftp connection in C++ Pin
AnithaSubramani15-Oct-08 0:29
AnithaSubramani15-Oct-08 0:29 
AnswerRe: ftp connection in C++ Pin
Jose David Pujo15-Oct-08 0:54
Jose David Pujo15-Oct-08 0:54 
AnswerRe: ftp connection in C++ Pin
SandipG 15-Oct-08 1:32
SandipG 15-Oct-08 1:32 
GeneralRe: ftp connection in C++ Pin
AnithaSubramani15-Oct-08 3:13
AnithaSubramani15-Oct-08 3:13 
GeneralRe: ftp connection in C++ Pin
David Crow15-Oct-08 3:25
David Crow15-Oct-08 3:25 
QuestionFlat border for RichEdit control Pin
preeti sharma15-Oct-08 0:17
preeti sharma15-Oct-08 0:17 
AnswerRe: Flat border for RichEdit control Pin
_AnsHUMAN_ 15-Oct-08 0:22
_AnsHUMAN_ 15-Oct-08 0:22 
QuestionDisplay UTF8 and unicode in richedit control Pin
Dhiraj kumar Saini15-Oct-08 0:01
Dhiraj kumar Saini15-Oct-08 0:01 
QuestionRe: Display UTF8 and unicode in richedit control Pin
Rajesh R Subramanian15-Oct-08 0:29
professionalRajesh R Subramanian15-Oct-08 0:29 
AnswerRe: Display UTF8 and unicode in richedit control Pin
Dhiraj kumar Saini15-Oct-08 0:32
Dhiraj kumar Saini15-Oct-08 0:32 
AnswerRe: Display UTF8 and unicode in richedit control Pin
Rajesh R Subramanian15-Oct-08 0:40
professionalRajesh R Subramanian15-Oct-08 0:40 
GeneralRe: Display UTF8 and unicode in richedit control Pin
Dhiraj kumar Saini15-Oct-08 0:48
Dhiraj kumar Saini15-Oct-08 0:48 
GeneralRe: Display UTF8 and unicode in richedit control Pin
Rajesh R Subramanian15-Oct-08 0:50
professionalRajesh R Subramanian15-Oct-08 0:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.