Click here to Skip to main content
15,667,355 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to skew an image Pin
User 21559715-Oct-08 19:02
User 21559715-Oct-08 19:02 
Questionmsvcp90d.dll and msvcr90d.dll Pin
George_George15-Oct-08 0:32
George_George15-Oct-08 0:32 
AnswerRe: msvcp90d.dll and msvcr90d.dll Pin
Matthew Faithfull15-Oct-08 2:01
Matthew Faithfull15-Oct-08 2:01 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
George_George15-Oct-08 2:52
George_George15-Oct-08 2:52 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
Matthew Faithfull15-Oct-08 3:49
Matthew Faithfull15-Oct-08 3:49 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
George_George15-Oct-08 4:06
George_George15-Oct-08 4:06 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
Matthew Faithfull15-Oct-08 4:24
Matthew Faithfull15-Oct-08 4:24 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
George_George15-Oct-08 23:12
George_George15-Oct-08 23:12 
QuestionRe: msvcp90d.dll and msvcr90d.dll Pin
led mike15-Oct-08 4:25
led mike15-Oct-08 4:25 
AnswerRe: msvcp90d.dll and msvcr90d.dll Pin
George_George15-Oct-08 23:09
George_George15-Oct-08 23:09 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
led mike16-Oct-08 5:25
led mike16-Oct-08 5:25 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
George_George17-Oct-08 1:15
George_George17-Oct-08 1:15 
RantRe: msvcp90d.dll and msvcr90d.dll Pin
led mike17-Oct-08 5:25
led mike17-Oct-08 5:25 
GeneralRe: msvcp90d.dll and msvcr90d.dll Pin
George_George17-Oct-08 5:50
George_George17-Oct-08 5:50 
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 

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.