Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Using controls without the library
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Using controls without the library

 Post Reply Post Reply
Author
Message
mpulice View Drop Down
Newbie
Newbie


Joined: 02 March 2007
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote mpulice Quote  Post ReplyReply Direct Link To This Post Topic: Using controls without the library
    Posted: 02 March 2007 at 2:04pm
Hi All
 
I tried to search for this but came up with no hits. 
I have an app that Im building but I do not want to use
the dll or lib files. 
 
Is there no way to use the source files directly added to
my application? 
 
I only need the PopupControl for this as it is just a demo
like the one in the samples. 
 
Thanks
Mike
 
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 04 March 2007 at 3:03am

Hi,

Yes, you cam, Add XTPPopupControl.cpp/XTPPopupItem.cpp to your sources, some files from Common folder and in stdafx.h add
 
 
#define _XTP_EXT_CLASS
#include "XTPVersion.h"
#include "XTPMacros.h"
 
 
 
but actually if you use statically library, linker automatically adds code you really use...
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
mpulice View Drop Down
Newbie
Newbie


Joined: 02 March 2007
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote mpulice Quote  Post ReplyReply Direct Link To This Post Posted: 05 March 2007 at 5:32pm
Right,  I finally got that.  Decided to go with the static library anyway. 
Just easier to support. 
 
Thanks for the input.
 
Mike
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.