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

C / C++ / MFC

 
GeneralRe: IE Toolbar Problem Pin
xxhimanshu13-Apr-03 20:28
xxhimanshu13-Apr-03 20:28 
Generalsubclass a button fail :( Pin
_skidrow_vn_13-Apr-03 9:52
_skidrow_vn_13-Apr-03 9:52 
GeneralRe: subclass a button fail :( Pin
PJ Arends13-Apr-03 10:14
professionalPJ Arends13-Apr-03 10:14 
GeneralRe: subclass a button fail :( Pin
_skidrow_vn_13-Apr-03 10:38
_skidrow_vn_13-Apr-03 10:38 
GeneralCString and std::string Pin
tomc13-Apr-03 8:50
tomc13-Apr-03 8:50 
GeneralRe: CString and std::string Pin
Chris Losinger13-Apr-03 9:18
professionalChris Losinger13-Apr-03 9:18 
GeneralRe: CString and std::string Pin
Michael Dunn13-Apr-03 16:02
sitebuilderMichael Dunn13-Apr-03 16:02 
GeneralLinking OBJ files Pin
#realJSOP13-Apr-03 7:40
professional#realJSOP13-Apr-03 7:40 
Using VC6:

I'm trying to link an OBJ file into my MFC C++ application. If I include the obj file in the linker input settings, I get duplicate definitions for functions in libcmtd and nafxcwd. If I set the linker input options to ignore the nafxcwd library results in all kinds of unresolved external errors.

If I do this...

#pragma comment( lib, "papytelemapp.obj")

...I get this

warning LNK4003: invalid library format; library ignored

I do NOT have the source code for the obj file and MSDN doesn't say ANYTHING about this that is more descriptive than what the compiler spits out. I am fairly certain that the obj file is compiled with VC++ 6.0, and the struct byte alignment is set to 1 in the OBJ file (my program is set to 8).

Things I've tried:

1) Changing the linker output to "both" COFF and Microsoft debug formats

2) Changing my program's struct alignment to 1 byte


Anyone got a hint for me?


------- signature starts

"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

Please review the Legal Disclaimer in my bio.

------- signature ends
GeneralRe: Linking OBJ files Pin
Chris Losinger13-Apr-03 9:20
professionalChris Losinger13-Apr-03 9:20 
GeneralRe: Linking OBJ files Pin
#realJSOP14-Apr-03 5:04
professional#realJSOP14-Apr-03 5:04 
GeneralRe: Linking OBJ files Pin
#realJSOP14-Apr-03 11:33
professional#realJSOP14-Apr-03 11:33 
GeneralGet Listbox from Combobox Pin
peterchen13-Apr-03 5:20
peterchen13-Apr-03 5:20 
Generalscreen saver project error Pin
karanba13-Apr-03 4:46
karanba13-Apr-03 4:46 
Generalkeep-alive mechanism Pin
Dudi Avramov13-Apr-03 3:53
Dudi Avramov13-Apr-03 3:53 
GeneralRe: keep-alive mechanism Pin
Brian Shifrin13-Apr-03 17:37
Brian Shifrin13-Apr-03 17:37 
GeneralRe: keep-alive mechanism Pin
Dudi Avramov13-Apr-03 19:47
Dudi Avramov13-Apr-03 19:47 
QuestionOnQueryEndSession - how to delay its imlementation with some seconds? Pin
julych13-Apr-03 3:50
julych13-Apr-03 3:50 
GeneralQuestion about friend function. Pin
George213-Apr-03 3:49
George213-Apr-03 3:49 
GeneralMessageBox variation Pin
J.B.12-Apr-03 22:23
J.B.12-Apr-03 22:23 
GeneralRe: MessageBox variation Pin
Brian Shifrin13-Apr-03 0:29
Brian Shifrin13-Apr-03 0:29 
GeneralRe: MessageBox variation Pin
Neville Franks13-Apr-03 0:46
Neville Franks13-Apr-03 0:46 
GeneralRe: MessageBox variation Pin
Jean-Marc Molina13-Apr-03 1:49
Jean-Marc Molina13-Apr-03 1:49 
GeneralRe: MessageBox variation Pin
J. Dunlap13-Apr-03 7:36
J. Dunlap13-Apr-03 7:36 
GeneralQuestion about overloading operator time_t. Pin
George212-Apr-03 20:34
George212-Apr-03 20:34 
GeneralRe: Question about overloading operator time_t. Pin
markkuk13-Apr-03 0:15
markkuk13-Apr-03 0:15 

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.