Click here to Skip to main content
15,904,877 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWindows XP Theme Conflict Pin
Jnewg52-Mar-04 5:29
Jnewg52-Mar-04 5:29 
GeneralRe: Windows XP Theme Conflict Pin
Michael Dunn2-Mar-04 9:01
sitebuilderMichael Dunn2-Mar-04 9:01 
GeneralRe: Windows XP Theme Conflict Pin
Jnewg53-Mar-04 5:36
Jnewg53-Mar-04 5:36 
GeneralRe: Windows XP Theme Conflict Pin
Michael Dunn3-Mar-04 6:41
sitebuilderMichael Dunn3-Mar-04 6:41 
GeneralRe: Windows XP Theme Conflict Pin
Jnewg511-Mar-04 3:14
Jnewg511-Mar-04 3:14 
GeneralRe: Windows XP Theme Conflict Pin
Michael Dunn12-Mar-04 4:28
sitebuilderMichael Dunn12-Mar-04 4:28 
GeneralRe: Windows XP Theme Conflict Pin
Jnewg512-Mar-04 15:22
Jnewg512-Mar-04 15:22 
GeneralRe: Windows XP Theme Conflict Pin
Michael Dunn12-Mar-04 16:45
sitebuilderMichael Dunn12-Mar-04 16:45 
uxtheme.dll isn't present on 2K (or earlier). You can't link with uxtheme.lib since, as you've seen, that makes the app require that DLL to load.
You have two choices:
1. use the /delayload:uxtheme.dll linker switch
2. use LoadLibrary/GetProcAddress at runtime

Either way, you must add OS checks to your code so that you don't call the functions in uxtheme unless the app is running on XP or later.

--Mike--
Personal stuff:: Ericahist | Homepage
Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt
CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ

----
If my rhyme was a drug, I'd sell it by the gram.
Generalprinting your source code Pin
BlackDice2-Mar-04 5:28
BlackDice2-Mar-04 5:28 
GeneralRe: printing your source code Pin
John M. Drescher2-Mar-04 6:05
John M. Drescher2-Mar-04 6:05 
GeneralRe: printing your source code Pin
BlackDice2-Mar-04 6:16
BlackDice2-Mar-04 6:16 
GeneralRe: printing your source code Pin
John M. Drescher2-Mar-04 6:54
John M. Drescher2-Mar-04 6:54 
GeneralRe: printing your source code Pin
BlackDice2-Mar-04 6:58
BlackDice2-Mar-04 6:58 
GeneralRe: printing your source code Pin
John M. Drescher2-Mar-04 8:08
John M. Drescher2-Mar-04 8:08 
GeneralRe: printing your source code Pin
John M. Drescher2-Mar-04 8:20
John M. Drescher2-Mar-04 8:20 
GeneralPassing Data between threads Pin
Tom Wright2-Mar-04 4:19
Tom Wright2-Mar-04 4:19 
GeneralRe: Passing Data between threads Pin
Prakash Nadar2-Mar-04 4:25
Prakash Nadar2-Mar-04 4:25 
GeneralRe: Passing Data between threads Pin
Tom Wright2-Mar-04 4:33
Tom Wright2-Mar-04 4:33 
GeneralRe: Passing Data between threads Pin
RobJones2-Mar-04 4:40
RobJones2-Mar-04 4:40 
GeneralRe: Passing Data between threads Pin
jhwurmbach2-Mar-04 4:43
jhwurmbach2-Mar-04 4:43 
GeneralString pointer questions Pin
Tom Wright2-Mar-04 4:51
Tom Wright2-Mar-04 4:51 
GeneralRe: String pointer questions Pin
jhwurmbach2-Mar-04 4:58
jhwurmbach2-Mar-04 4:58 
QuestionWhy cannot add new database record? Pin
siew hoon2-Mar-04 3:17
siew hoon2-Mar-04 3:17 
GeneralProblems with MFC Extensions DLLs Pin
SashaTis2-Mar-04 3:12
SashaTis2-Mar-04 3:12 
GeneralRe: Problems with MFC Extensions DLLs Pin
John M. Drescher2-Mar-04 3:39
John M. Drescher2-Mar-04 3:39 

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.