Click here to Skip to main content
15,905,420 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Dragable Menu Items Pin
Naveen10-Dec-06 22:09
Naveen10-Dec-06 22:09 
AnswerRe: Dragable Menu Items Pin
benjamin2310-Dec-06 22:18
benjamin2310-Dec-06 22:18 
GeneralRe: Dragable Menu Items Pin
Naveen10-Dec-06 22:26
Naveen10-Dec-06 22:26 
AnswerRe: Dragable Menu Items Pin
Michael Dunn10-Dec-06 22:15
sitebuilderMichael Dunn10-Dec-06 22:15 
GeneralRe: Dragable Menu Items Pin
benjamin2310-Dec-06 22:22
benjamin2310-Dec-06 22:22 
GeneralRe: Dragable Menu Items Pin
benjamin2314-Dec-06 21:11
benjamin2314-Dec-06 21:11 
AnswerRe: Dragable Menu Items Pin
benjamin2310-Dec-06 23:14
benjamin2310-Dec-06 23:14 
QuestionHow to create and use a lib file ? Pin
KEL310-Dec-06 21:51
KEL310-Dec-06 21:51 
Hello there,

I am trying to put my code into a ".lib" file but there is sth
going wrong. I use MSVC++6 (I also use MSVC++2005 if you prefer).
I create a "Static library project", I place my class files into,
the project, I compile (debug and release) and I get the two .lib files.
Then I create the 2nd project (let's say a dialog project) and I add the
".h" file and the ."lib" into my project. I place the
pragma comment(lib, "MyLib.lib" ) // If I remember it clearly.
into the file that uses the library code (or it's header) and then I try to
build (debug or release)... but then I get linker errors...
One of them is for :
_afx(sth_here)Nil // I don't know what this function is !

Any help would be appreciated.

kostas KEL

AnswerRe: How to create and use a lib file ? Pin
Cedric Moonen10-Dec-06 21:58
Cedric Moonen10-Dec-06 21:58 
GeneralRe: How to create and use a lib file ? Pin
rgbalpha10-Dec-06 22:02
rgbalpha10-Dec-06 22:02 
GeneralRe: How to create and use a lib file ? Pin
Hamid_RT10-Dec-06 23:16
Hamid_RT10-Dec-06 23:16 
AnswerRe: How to create and use a lib file ? Pin
Rems Kris11-Dec-06 22:58
Rems Kris11-Dec-06 22:58 
QuestionHow can we find out network disable or enable programatically Pin
johnalek10-Dec-06 21:45
johnalek10-Dec-06 21:45 
AnswerRe: How can we find out network disable or enable programatically Pin
bob1697211-Dec-06 2:09
bob1697211-Dec-06 2:09 
AnswerRe: How can we find out network disable or enable programatically Pin
David Crow11-Dec-06 3:53
David Crow11-Dec-06 3:53 
Questionhow to new a doc/view in program with parameters Pin
rgbalpha10-Dec-06 21:42
rgbalpha10-Dec-06 21:42 
AnswerRe: how to new a doc/view in program with parameters Pin
Sam Hobbs10-Dec-06 23:48
Sam Hobbs10-Dec-06 23:48 
AnswerRe: how to new a doc/view in program with parameters Pin
rgbalpha11-Dec-06 1:17
rgbalpha11-Dec-06 1:17 
GeneralRe: how to new a doc/view in program with parameters Pin
Sam Hobbs11-Dec-06 1:25
Sam Hobbs11-Dec-06 1:25 
GeneralRe: how to new a doc/view in program with parameters Pin
rgbalpha11-Dec-06 1:45
rgbalpha11-Dec-06 1:45 
GeneralRe: how to new a doc/view in program with parameters Pin
Sam Hobbs11-Dec-06 1:53
Sam Hobbs11-Dec-06 1:53 
GeneralRe: how to new a doc/view in program with parameters Pin
rgbalpha11-Dec-06 2:20
rgbalpha11-Dec-06 2:20 
GeneralRe: how to new a doc/view in program with parameters Pin
Sam Hobbs11-Dec-06 17:15
Sam Hobbs11-Dec-06 17:15 
GeneralRe: how to new a doc/view in program with parameters Pin
rgbalpha11-Dec-06 18:20
rgbalpha11-Dec-06 18:20 
GeneralRe: how to new a doc/view in program with parameters Pin
Sam Hobbs11-Dec-06 1:30
Sam Hobbs11-Dec-06 1:30 

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.