Click here to Skip to main content
15,887,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Importing a class from a DLL with a different name Pin
Code-o-mat17-Aug-09 21:10
Code-o-mat17-Aug-09 21:10 
GeneralRe: Importing a class from a DLL with a different name Pin
Bram van Kampen18-Aug-09 0:07
Bram van Kampen18-Aug-09 0:07 
AnswerRe: Importing a class from a DLL with a different name Pin
KarstenK19-Aug-09 3:25
mveKarstenK19-Aug-09 3:25 
GeneralRe: Importing a class from a DLL with a different name Pin
Code-o-mat19-Aug-09 5:32
Code-o-mat19-Aug-09 5:32 
QuestionHooking a api function using jmp instruction implent Pin
jhon cage17-Aug-09 9:37
jhon cage17-Aug-09 9:37 
AnswerRe: Hooking a api function using jmp instruction implent Pin
Bram van Kampen17-Aug-09 14:26
Bram van Kampen17-Aug-09 14:26 
QuestionCreateFile problem Pin
birajendu17-Aug-09 4:38
birajendu17-Aug-09 4:38 
AnswerRe: CreateFile problem Pin
Ahmed Charfeddine17-Aug-09 4:50
Ahmed Charfeddine17-Aug-09 4:50 
the system GetLastError API often can tell you about error details especially when you also try to retrieve the rror code and tranlate it into readable text. Use the following snippget of code and tell us what is the message you receive. That case you may be even be able to understand the pbm yourself.


std::string GetFormattedSystemError()
{
	LPVOID lpMsgBuf;
	LPVOID lpDisplayBuf;
	DWORD dw = GetLastError(); 

	FormatMessageA(
		FORMAT_MESSAGE_ALLOCATE_BUFFER | 
		FORMAT_MESSAGE_FROM_SYSTEM |
		FORMAT_MESSAGE_IGNORE_INSERTS,
		NULL,
		dw,
		MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
		(LPTSTR) &lpMsgBuf,
		0, NULL );


	char* pMessage = (char*) lpMsgBuf;
	return std::string(pMessage);
}



Good luck.

Easy Profiler : a compile-time profiler for C++
www.potatosoftware.com

AnswerRe: CreateFile problem Pin
David Crow17-Aug-09 4:58
David Crow17-Aug-09 4:58 
GeneralRe: CreateFile problem Pin
birajendu17-Aug-09 6:49
birajendu17-Aug-09 6:49 
QuestionBest place to call GdiplusStartup in an MFC MDI Application Pin
bob1697217-Aug-09 4:25
bob1697217-Aug-09 4:25 
AnswerRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
Randor 17-Aug-09 4:38
professional Randor 17-Aug-09 4:38 
GeneralRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
bob1697217-Aug-09 5:10
bob1697217-Aug-09 5:10 
GeneralRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
bob1697217-Aug-09 7:28
bob1697217-Aug-09 7:28 
AnswerRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
Stuart Dootson17-Aug-09 6:06
professionalStuart Dootson17-Aug-09 6:06 
GeneralRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
bob1697217-Aug-09 7:24
bob1697217-Aug-09 7:24 
AnswerRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
Joe Woodbury17-Aug-09 6:11
professionalJoe Woodbury17-Aug-09 6:11 
GeneralRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
bob1697217-Aug-09 7:33
bob1697217-Aug-09 7:33 
GeneralRe: Best place to call GdiplusStartup in an MFC MDI Application [modified] Pin
Joe Woodbury17-Aug-09 7:39
professionalJoe Woodbury17-Aug-09 7:39 
GeneralRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
bob1697217-Aug-09 7:58
bob1697217-Aug-09 7:58 
GeneralRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
Joe Woodbury17-Aug-09 8:24
professionalJoe Woodbury17-Aug-09 8:24 
GeneralRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
bob1697217-Aug-09 10:07
bob1697217-Aug-09 10:07 
GeneralRe: Best place to call GdiplusStartup in an MFC MDI Application Pin
Joe Woodbury17-Aug-09 10:16
professionalJoe Woodbury17-Aug-09 10:16 
QuestionGood UI to select one of 250+ item ? (proto-answered, but looking for other suggestions) Pin
Maximilien17-Aug-09 4:04
Maximilien17-Aug-09 4:04 
AnswerRe: Good UI to select one of 250+ item ? (proto-answered, but looking for other suggestions) Pin
Cedric Moonen17-Aug-09 4:06
Cedric Moonen17-Aug-09 4:06 

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.