Click here to Skip to main content
15,917,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralExecute functions in context of other thread Pin
Mike_V17-Jul-03 13:37
Mike_V17-Jul-03 13:37 
GeneralRe: Execute functions in context of other thread Pin
Michael Dunn17-Jul-03 13:53
sitebuilderMichael Dunn17-Jul-03 13:53 
GeneralRe: Execute functions in context of other thread Pin
Mike_V17-Jul-03 14:00
Mike_V17-Jul-03 14:00 
GeneralRe: Execute functions in context of other thread Pin
Michael Dunn17-Jul-03 14:42
sitebuilderMichael Dunn17-Jul-03 14:42 
GeneralTool windows in an MDI App Pin
XboxHomebrewer17-Jul-03 13:15
XboxHomebrewer17-Jul-03 13:15 
GeneralFunction template Pin
RalfPeter17-Jul-03 12:27
RalfPeter17-Jul-03 12:27 
GeneralRe: Function template Pin
John M. Drescher17-Jul-03 12:45
John M. Drescher17-Jul-03 12:45 
QuestionHow to Use Precompiled OBJ Pin
Johan_yo17-Jul-03 12:05
Johan_yo17-Jul-03 12:05 
I'm creating one of the biggest project I have undertaken N I'm a newbie, so I need lots of help. Because it's so big, I break it down into multiple parts (multiple projects, 1 DSP for 1 DSW), which I call utilities.
Now I want to use a "Utility", eg MyCustomStringCls, in another project. I have compiled N tested the "utility" so I have the OBJ file already.

Now here are my Q:
1. When I want to use an utility (eg MyCustomStringCls), in VC++, do I need to "Add To Project > Files" the MyCustomStringCls.h and the .CPP?

2. I want to call include with Angle bracket instead of DoubleQuote, do I just need to "Settings > C/C++ tab > Preprocessor" and add the path to "Additional Include directories" ?
I have done this, but everytime I add new method, which returns MyCustomStringCls object, in my new class, VC++ always add new #include with double quote. I'm fighting with it by manually delete that new include.
eg. For the new class, I want to have:
#include <mycustomstringcls.h>
BUT, VC++ always add this:
#include "..\Prj_MyCustomStringCls\MyCustomStringCls.h"

3. Every time I compile my new Project, it creates the MyCustomStringCls.OBJ and puts it in my new project folder. How do I tell VC++ compiler to skip creating OBJ for particular .H .CPP? And how do I tell linker to use the OBJ from MyCustomStringCls project folder?

Hope I don't confuse anybody. Please Help.

cheers,
Jo
AnswerRe: How to Use Precompiled OBJ Pin
Peter Weyzen17-Jul-03 12:45
Peter Weyzen17-Jul-03 12:45 
GeneralRe: How to Use Precompiled OBJ Pin
Johan_yo17-Jul-03 14:01
Johan_yo17-Jul-03 14:01 
GeneralRe: How to Use Precompiled OBJ Pin
Peter Weyzen17-Jul-03 18:23
Peter Weyzen17-Jul-03 18:23 
GeneralRe: How to Use Precompiled OBJ Pin
Anthony_Yio18-Jul-03 0:52
Anthony_Yio18-Jul-03 0:52 
GeneralRe: How to Use Precompiled OBJ Pin
Johan_yo26-Jul-03 9:29
Johan_yo26-Jul-03 9:29 
GeneralTree Ctrl with checkboxes question Pin
YaronNir17-Jul-03 11:52
YaronNir17-Jul-03 11:52 
GeneralRe: Tree Ctrl with checkboxes question Pin
Anonymous17-Jul-03 13:19
Anonymous17-Jul-03 13:19 
GeneralRe: Tree Ctrl with checkboxes question Pin
YaronNir19-Jul-03 20:46
YaronNir19-Jul-03 20:46 
Generalconntext help for dialogs Pin
haritadala17-Jul-03 11:46
haritadala17-Jul-03 11:46 
GeneralConnecting to AutoCAD 2002 Pin
BabakZallaghi17-Jul-03 11:31
BabakZallaghi17-Jul-03 11:31 
GeneralDocument/View Word Automation nightmare! Pin
Jason Henderson17-Jul-03 10:41
Jason Henderson17-Jul-03 10:41 
GeneralCListBox question Pin
Shay Harel17-Jul-03 10:19
Shay Harel17-Jul-03 10:19 
GeneralRe: CListBox question Pin
wb17-Jul-03 11:06
wb17-Jul-03 11:06 
GeneralRe: CListBox question Pin
Shay Harel18-Jul-03 5:34
Shay Harel18-Jul-03 5:34 
GeneralRe: CListBox question Pin
wb19-Jul-03 21:08
wb19-Jul-03 21:08 
Generalextern trouble Pin
act_x17-Jul-03 9:55
act_x17-Jul-03 9:55 
GeneralRe: extern trouble Pin
Peter Weyzen17-Jul-03 10:02
Peter Weyzen17-Jul-03 10:02 

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.