Click here to Skip to main content
16,007,809 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DLL problem!!!! Pin
dabs12-Nov-02 3:19
dabs12-Nov-02 3:19 
GeneralRe: DLL problem!!!! Pin
cradle15-Nov-02 1:50
cradle15-Nov-02 1:50 
GeneralRe: DLL problem!!!! Pin
dabs15-Nov-02 4:07
dabs15-Nov-02 4:07 
GeneralRe: DLL problem!!!! Pin
cradle17-Nov-02 2:04
cradle17-Nov-02 2:04 
GeneralRe: DLL problem!!!! Pin
dabs17-Nov-02 3:12
dabs17-Nov-02 3:12 
GeneralRe: DLL problem!!!! Pin
cradle19-Nov-02 2:20
cradle19-Nov-02 2:20 
GeneralRe: DLL problem!!!! Pin
cradle11-Nov-02 1:31
cradle11-Nov-02 1:31 
QuestionHow to reuse code in a simple way Pin
Jan Van Der Mix10-Nov-02 22:38
sussJan Van Der Mix10-Nov-02 22:38 
Hello all
i have developed (VC7) a Cstatic derived CUlrLink class to enable url clicking and browsing in my about dialog boxes.
It basically uses a custom cursor (IDC_HAND) created inside the 'res' subfolder.
As i'd like to reuse this stuff in all my projects, I've tried something like:

main projects folder
\--> reuse_code\urllink.cpp, urllink.h,
\--> reuse_code\res\hand cursor
\--> newapplication
in this folder i was planning to use an #include "..\common\urllink.h"
but i need also the cursor hand to be included, so i have at least to copy it inside the local 'res' folder, and i have noticed have also to manually change the local resource.h file...
Futher problems when i try to create a reusable 'about dialog box' including an usual couple url link + a mailto link. Fo esample I have to examine the Resources ids etc.
In VC6 i remember there was a 'components gallery', i had only to select a 'component' and it was included , say, with the right references inside a new project.
Summarizing, how do you reuse your code in a situation close to the above?
As pointed out, i don't get troubles with classes not using some resources (just including the .h files and adding the .h/.cpp files seems enough)

thanks in advance
AnswerRe: How to reuse code in a simple way Pin
Christian Graus10-Nov-02 23:19
protectorChristian Graus10-Nov-02 23:19 
AnswerRe: How to reuse code in a simple way Pin
Stephane Rodriguez.10-Nov-02 23:25
Stephane Rodriguez.10-Nov-02 23:25 
GeneralUser Breakpoint in Gdiplus.dll Pin
Swinefeaster10-Nov-02 22:29
Swinefeaster10-Nov-02 22:29 
GeneralRe: User Breakpoint in Gdiplus.dll Pin
Christian Graus10-Nov-02 23:20
protectorChristian Graus10-Nov-02 23:20 
GeneralRe: User Breakpoint in Gdiplus.dll Pin
Swinefeaster11-Nov-02 13:20
Swinefeaster11-Nov-02 13:20 
GeneralRe: User Breakpoint in Gdiplus.dll Pin
Christian Graus11-Nov-02 13:24
protectorChristian Graus11-Nov-02 13:24 
GeneralRe: User Breakpoint in Gdiplus.dll Pin
Swinefeaster11-Nov-02 13:36
Swinefeaster11-Nov-02 13:36 
GeneralRe: User Breakpoint in Gdiplus.dll Pin
Christian Graus11-Nov-02 13:49
protectorChristian Graus11-Nov-02 13:49 
GeneralTabCtrl sizing simple problem... Pin
Joan M10-Nov-02 22:17
professionalJoan M10-Nov-02 22:17 
GeneralURL parsing; how annoying can it be Pin
10-Nov-02 22:17
suss10-Nov-02 22:17 
GeneralRe: URL parsing; how annoying can it be Pin
Rob Caldecott10-Nov-02 23:12
Rob Caldecott10-Nov-02 23:12 
GeneralRe: URL parsing; how annoying can it be Pin
spod11-Nov-02 1:09
spod11-Nov-02 1:09 
GeneralDockable streched toolbar Pin
Anonymous10-Nov-02 22:07
Anonymous10-Nov-02 22:07 
GeneralPrinting Job Status Query Pin
jmarcos10-Nov-02 20:36
jmarcos10-Nov-02 20:36 
Generalsimple question: casting Pin
devvvy10-Nov-02 20:25
devvvy10-Nov-02 20:25 
GeneralRe: simple question: casting Pin
Michael Dunn10-Nov-02 20:31
sitebuilderMichael Dunn10-Nov-02 20:31 
GeneralRe: simple question: casting Pin
Christian Graus10-Nov-02 20:37
protectorChristian Graus10-Nov-02 20:37 

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.