Click here to Skip to main content
15,888,803 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSend data to a service Pin
nitin321-Feb-08 20:03
nitin321-Feb-08 20:03 
GeneralRe: Send data to a service Pin
Matthew Faithfull21-Feb-08 22:35
Matthew Faithfull21-Feb-08 22:35 
AnswerRe: Send data to a service Pin
Rajkumar R21-Feb-08 22:51
Rajkumar R21-Feb-08 22:51 
GeneralRe: Send data to a service Pin
Maxwell Chen21-Feb-08 23:00
Maxwell Chen21-Feb-08 23:00 
GeneralRe: Send data to a service Pin
Rajkumar R22-Feb-08 2:47
Rajkumar R22-Feb-08 2:47 
Generallnk file path [modified] Pin
john563221-Feb-08 19:35
john563221-Feb-08 19:35 
GeneralRe: lnk file path Pin
Iain Clarke, Warrior Programmer22-Feb-08 5:07
Iain Clarke, Warrior Programmer22-Feb-08 5:07 
QuestionC++ package objects into separate .dll class library projects Pin
TheGeneral6921-Feb-08 18:40
TheGeneral6921-Feb-08 18:40 
I have a 'Table' object (reads a text file to create a table and return table picks). I have moved the code into it's own class library project, and I wish to call the code in the .dll from the main app. The class library project compiles to a .dll, but I don't know how to add it to the main project. I have addded the header file to the main project, and put the .dll in the source directory and debug directories.

How do I add a reference to the .dll? Do I use '#include' or '#using'? How do I declare / instantiate the object, etc. (my attempts broke the build).

What are the basic steps to do this? Can I put both projects in the same solution? Both are in C++ / VS2005. THe main app is from the DirectX SDK April 2007.

Thanks,

Steve
AnswerRe: C++ package objects into separate .dll class library projects Pin
Rajkumar R21-Feb-08 19:15
Rajkumar R21-Feb-08 19:15 
GeneralRe: C++ package objects into separate .dll class library projects Pin
TheGeneral6921-Feb-08 20:40
TheGeneral6921-Feb-08 20:40 
GeneralRe: C++ package objects into separate .dll class library projects Pin
TheGeneral6925-Feb-08 14:50
TheGeneral6925-Feb-08 14:50 
AnswerRe: C++ package objects into separate .dll class library projects Pin
Rajkumar R25-Feb-08 16:56
Rajkumar R25-Feb-08 16:56 
GeneralRe: C++ package objects into separate .dll class library projects Pin
TheGeneral6925-Feb-08 19:12
TheGeneral6925-Feb-08 19:12 
GeneralAbout constructer Pin
rowdy_vc++21-Feb-08 17:46
rowdy_vc++21-Feb-08 17:46 
AnswerRe: About constructer [modified] Pin
Rajkumar R21-Feb-08 18:31
Rajkumar R21-Feb-08 18:31 
QuestionRe: About constructer Pin
CPallini21-Feb-08 21:23
mveCPallini21-Feb-08 21:23 
GeneralRe: About constructer Pin
Hamid_RT23-Feb-08 1:54
Hamid_RT23-Feb-08 1:54 
GeneralRe: About constructer Pin
David Crow22-Feb-08 2:41
David Crow22-Feb-08 2:41 
GeneralNooby would like assistance with compile error building a property sheets program [modified] Pin
doorprize21-Feb-08 17:06
doorprize21-Feb-08 17:06 
GeneralRe: Nooby would like assistance with compile error building a property sheets program Pin
Rajkumar R21-Feb-08 18:23
Rajkumar R21-Feb-08 18:23 
GeneralRe: Nooby would like assistance with compile error building a property sheets program Pin
David Crow22-Feb-08 2:43
David Crow22-Feb-08 2:43 
GeneralSystemtray Pin
act_x21-Feb-08 15:04
act_x21-Feb-08 15:04 
GeneralRe: Systemtray Pin
Stephen Hewitt21-Feb-08 16:06
Stephen Hewitt21-Feb-08 16:06 
GeneralVersion Info Pin
Bram van Kampen21-Feb-08 14:47
Bram van Kampen21-Feb-08 14:47 
GeneralRe: Version Info Pin
Stephen Hewitt21-Feb-08 14:55
Stephen Hewitt21-Feb-08 14:55 

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.