Click here to Skip to main content
15,892,072 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: packet info Pin
summo9-Mar-03 22:27
summo9-Mar-03 22:27 
GeneralRe: packet info Pin
Johnny ²9-Mar-03 22:36
Johnny ²9-Mar-03 22:36 
QuestionVisual C++ .NET bug? Pin
Davide Pizzolato9-Mar-03 20:21
Davide Pizzolato9-Mar-03 20:21 
AnswerRe: Visual C++ .NET bug? Pin
Hesham Amin9-Mar-03 21:14
Hesham Amin9-Mar-03 21:14 
GeneralRe: Visual C++ .NET bug? Pin
Davide Pizzolato10-Mar-03 1:52
Davide Pizzolato10-Mar-03 1:52 
QuestionVSS API Interface ? Pin
vikramj9-Mar-03 20:21
vikramj9-Mar-03 20:21 
AnswerRe: VSS API Interface ? Pin
Baris Kurtlutepe10-Mar-03 0:43
Baris Kurtlutepe10-Mar-03 0:43 
GeneralString Table used in DLL Pin
stevenson9-Mar-03 20:01
stevenson9-Mar-03 20:01 
Hi,

I insert a string table in my dll resource eidtor, and then export a fuction from this dll. in that function one of string IDs in the string table is showed by a Messagebox. The problem is: this message box shows nothing.

the following is my code:

Inside DLL


<br />
#include "Resource.h"<br />
<br />
__declspec(dllexport) void LoadMaya();



void LoadMaya()<br />
{<br />
	CString strMaya;<br />
<br />
	strMaya.LoadString(IDS_MAYA);<br />
	AfxMessageBox(strMaya);<br />
<br />
}


Inside EXE
#include "..\MyDll\Maya.h"<br />
<br />
void CDllExeDlg::OnOK() <br />
{<br />
	// TODO: Add extra validation here<br />
	LoadMaya();<br />
	<br />
	CDialog::OnOK();<br />
}


<br />
Inside String Table


ID Value Caption
------------------------------------
IDS_MAYA 100 Maya Culture


Please single out the bug for me, thank you

Extreme programming. Do the No.1
GeneralRe: String Table used in DLL Pin
Hans Ruck9-Mar-03 21:39
Hans Ruck9-Mar-03 21:39 
GeneralWindows Media Format SDK Problem Pin
RaajaOfSelf9-Mar-03 19:01
RaajaOfSelf9-Mar-03 19:01 
GeneralGradientProgressCtrl Pin
sunsam9-Mar-03 17:22
sunsam9-Mar-03 17:22 
GeneralVisual SafeSource Pin
Anonymous9-Mar-03 12:49
Anonymous9-Mar-03 12:49 
GeneralRe: Visual SafeSource Pin
Anders Molin9-Mar-03 13:20
professionalAnders Molin9-Mar-03 13:20 
QuestionHow to add shell32.lib to project... Pin
JoeSox9-Mar-03 12:17
JoeSox9-Mar-03 12:17 
AnswerRe: How to add shell32.lib to project... Pin
Anders Molin9-Mar-03 12:24
professionalAnders Molin9-Mar-03 12:24 
QuestionHandle error??? Pin
cemlouis9-Mar-03 10:49
cemlouis9-Mar-03 10:49 
GeneralMDI Views... Pin
Anonymous9-Mar-03 9:36
Anonymous9-Mar-03 9:36 
GeneralRe: MDI Views... Pin
Brian Shifrin10-Mar-03 2:33
Brian Shifrin10-Mar-03 2:33 
GeneralLines Pin
cerb-dk9-Mar-03 9:31
cerb-dk9-Mar-03 9:31 
GeneralRe: Lines Pin
Dave Bryant9-Mar-03 15:53
Dave Bryant9-Mar-03 15:53 
GeneralWriting to a file with CInternetSession Pin
Gilfrog9-Mar-03 9:23
Gilfrog9-Mar-03 9:23 
GeneralRe: Writing to a file with CInternetSession Pin
Big Art9-Mar-03 12:21
Big Art9-Mar-03 12:21 
QuestionHow to suck up CPU time? Pin
Jim A. Johnson9-Mar-03 9:05
Jim A. Johnson9-Mar-03 9:05 
AnswerRe: How to suck up CPU time? Pin
Chris Losinger9-Mar-03 9:21
professionalChris Losinger9-Mar-03 9:21 
AnswerRe: How to suck up CPU time? Pin
Anders Molin9-Mar-03 9:57
professionalAnders Molin9-Mar-03 9:57 

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.