Click here to Skip to main content
15,918,178 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: database Pin
bsunil_18519-Oct-04 0:08
sussbsunil_18519-Oct-04 0:08 
QuestionHow to Craete Event Pin
ThatsAlok16-Oct-04 3:58
ThatsAlok16-Oct-04 3:58 
AnswerRe: How to Craete Event Pin
ThatsAlok29-Oct-04 20:44
ThatsAlok29-Oct-04 20:44 
QuestionHow can we persist Custom Interfaces Pin
qur15-Oct-04 0:43
qur15-Oct-04 0:43 
Generalostream_iterator and pair Pin
Kevin McFarlane13-Oct-04 22:26
Kevin McFarlane13-Oct-04 22:26 
GeneralRe: ostream_iterator and pair Pin
Joaquín M López Muñoz14-Oct-04 2:52
Joaquín M López Muñoz14-Oct-04 2:52 
GeneralRe: ostream_iterator and pair Pin
Kevin McFarlane14-Oct-04 6:29
Kevin McFarlane14-Oct-04 6:29 
QuestionUsing WTL with MSLU, crash on Windows 98? Pin
billholt11-Oct-04 19:41
billholt11-Oct-04 19:41 
Hi,

I'm following the guide in the platform sdk docs, and the information found on http://www.trigeminal.com/usenet to create a unicode WTL application that uses MSLU (Microsoft Layer for Unicode).

The project is created in VS.NET 2003 and WTL version 7.5.4196 (latest) is used. MSLU (unicows) .lib and .dll comes from Feb,2003's PSDK. In the WTL App Wizard, only "view type" in the "user interface features" section was changed to "HTML Page" so that I can get a web browser control hosted.

Then I changed:
_Module.Init(NULL, hInstance);
to:
_Module.Init(NULL, hInstance, &LIBID_ATLLib);
to avoid the LIBID debug assertion problem.

Before compilation, I made the following changes to the project settings:
Use of ATL -> Static Link to ATL
Minimize CRT Use in ATL -> No
Character Set -> Use Unicode
Ignored those libraries mentioned in the psdk guide, and linked to unicows.lib and all previously ignored libraries, as is specified by the guide.

The compiled executable (release build) worked on Windows XP but it generated a kernel32.dll crash on Windows 98. The debug build will complain about a failed assertion at an IsWindow check of m_hWnd. I figured it was because the web browser control window wasn't created.

Then I reset the settings back to get an ANSI build, and it worked on Windows 98. Is it a known problem with MSLU? Is there any way to solve it?

Thanks in advace,

AnswerRe: Using WTL with MSLU, crash on Windows 98? Pin
billholt12-Oct-04 21:26
billholt12-Oct-04 21:26 
Generalcopy file to netwk Pin
Anonymous8-Oct-04 13:58
Anonymous8-Oct-04 13:58 
GeneralRe: copy file to netwk Pin
ThatsAlok29-Oct-04 20:46
ThatsAlok29-Oct-04 20:46 
GeneralPassing structure btw Client and DCOM server Pin
sergeyv20027-Oct-04 7:53
sergeyv20027-Oct-04 7:53 
GeneralATL free threaded question Pin
Martin Hinchy6-Oct-04 13:31
Martin Hinchy6-Oct-04 13:31 
GeneralRe: ATL free threaded question Pin
Michael Dunn9-Oct-04 6:29
sitebuilderMichael Dunn9-Oct-04 6:29 
GeneralRe: ATL free threaded question Pin
Jörgen Sigvardsson9-Oct-04 8:12
Jörgen Sigvardsson9-Oct-04 8:12 
GeneralRe: ATL free threaded question Pin
Martin Hinchy10-Oct-04 12:39
Martin Hinchy10-Oct-04 12:39 
GeneralMFCan you Introduce... Pin
Polite Programmer6-Oct-04 12:35
Polite Programmer6-Oct-04 12:35 
GeneralRe: MFCan you Introduce... Pin
Joaquín M López Muñoz6-Oct-04 12:56
Joaquín M López Muñoz6-Oct-04 12:56 
GeneralRe: MFCan you Introduce... Pin
Polite Programmer6-Oct-04 13:05
Polite Programmer6-Oct-04 13:05 
GeneralRe: MFCan you Introduce... Pin
Joaquín M López Muñoz6-Oct-04 13:20
Joaquín M López Muñoz6-Oct-04 13:20 
GeneralRe: MFCan you Introduce... Pin
toxcct6-Oct-04 22:50
toxcct6-Oct-04 22:50 
GeneralATL 2-byte leak, i'm embarassed Pin
Eugene Homyakov6-Oct-04 5:28
Eugene Homyakov6-Oct-04 5:28 
GeneralRe: ATL 2-byte leak, i'm embarassed Pin
unimatrics10-Oct-04 7:03
unimatrics10-Oct-04 7:03 
GeneralMessage Map problem Pin
qur6-Oct-04 1:11
qur6-Oct-04 1:11 
QuestionIs possible to use ATL 7.0 in VC.6 ? Pin
Rodrigo Pinto Pereira de Souza5-Oct-04 9:50
Rodrigo Pinto Pereira de Souza5-Oct-04 9: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.