Click here to Skip to main content
15,912,932 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWM_PAINT please read Pin
The_Server7-Apr-02 16:06
The_Server7-Apr-02 16:06 
GeneralRe: WM_PAINT please read Pin
alex.barylski7-Apr-02 18:06
alex.barylski7-Apr-02 18:06 
QuestionHow to move a text in rect smoothly? Pin
Feng Qin7-Apr-02 15:58
Feng Qin7-Apr-02 15:58 
AnswerRe: How to move a text in rect smoothly? Pin
Shog97-Apr-02 16:14
sitebuilderShog97-Apr-02 16:14 
AnswerRe: How to move a text in rect smoothly? Pin
Roman Nurik7-Apr-02 16:35
Roman Nurik7-Apr-02 16:35 
GeneralOn the res:// protocol Pin
soup7-Apr-02 14:53
soup7-Apr-02 14:53 
GeneralRe: On the res:// protocol Pin
Matt Newman7-Apr-02 15:30
Matt Newman7-Apr-02 15:30 
GeneralRe: On the res:// protocol Pin
soup8-Apr-02 2:44
soup8-Apr-02 2:44 
Yup, that's exactly what I am after.

I created a Win32 Dynamic-Link Library project (empty) and ripped all the code link settings out, then added a resource file. To that I added a HTML resource, with the resource identifier IDR_HOME.

This resulted in the following line being in my resource file when viewed as text: IDR_HOME HTML DISCARDABLE "home.htm"

Also, a home.htm file gets created in my project folder, so I put in some source and then build it.

Then typing in the actual path (given here for completeness):

res://C:\Program Files\Microsoft Visual Studio\VC98\MyProjects\HtmlRes\reslocal\Debug\reslocal.dll/home.htm

simply results in the 'Page Cannot be Displayed' IE error from it's own shdocl.dll thingy.

Anything obvious I am doing wrong here?

Thanks,

Simon
GeneralRe: On the res:// protocol Pin
Matt Newman8-Apr-02 11:11
Matt Newman8-Apr-02 11:11 
GeneralRe: On the res:// protocol Pin
soup8-Apr-02 13:03
soup8-Apr-02 13:03 
GeneralRe: On the res:// protocol Pin
Matt Newman8-Apr-02 16:10
Matt Newman8-Apr-02 16:10 
GeneralRe: On the res:// protocol Pin
Michael Dunn7-Apr-02 15:42
sitebuilderMichael Dunn7-Apr-02 15:42 
GeneralRe: On the res:// protocol Pin
soup8-Apr-02 13:05
soup8-Apr-02 13:05 
GeneralTwo threads in different processes Pin
NicholasCougar7-Apr-02 14:48
NicholasCougar7-Apr-02 14:48 
GeneralRe: Two threads in different processes Pin
Nish Nishant7-Apr-02 15:06
sitebuilderNish Nishant7-Apr-02 15:06 
GeneralRe: Two threads in different processes Pin
Bob Groves8-Apr-02 9:28
Bob Groves8-Apr-02 9:28 
QuestionCRichEditCtrl & ITextDocument???? Pin
Dave_7-Apr-02 12:33
Dave_7-Apr-02 12:33 
AnswerRe: CRichEditCtrl & ITextDocument???? Pin
Michael Dunn7-Apr-02 12:51
sitebuilderMichael Dunn7-Apr-02 12:51 
GeneralRe: CRichEditCtrl & ITextDocument???? Pin
Dave_7-Apr-02 15:52
Dave_7-Apr-02 15:52 
GeneralRe: CRichEditCtrl & ITextDocument???? Pin
Michael Dunn7-Apr-02 16:01
sitebuilderMichael Dunn7-Apr-02 16:01 
GeneralRe: CRichEditCtrl & ITextDocument???? Pin
Dave_7-Apr-02 16:05
Dave_7-Apr-02 16:05 
GeneralCFile::modeWrite + CFile::modeRead Pin
Rickard Andersson207-Apr-02 11:05
Rickard Andersson207-Apr-02 11:05 
GeneralRe: CFile::modeWrite + CFile::modeRead Pin
Andrew Peace7-Apr-02 11:05
Andrew Peace7-Apr-02 11:05 
GeneralRe: CFile::modeWrite + CFile::modeRead Pin
Christian Graus7-Apr-02 11:58
protectorChristian Graus7-Apr-02 11:58 
GeneralRe: CFile::modeWrite + CFile::modeRead Pin
Rickard Andersson207-Apr-02 21:38
Rickard Andersson207-Apr-02 21:38 

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.