General Q & A

This page contains
answers to common questions handled by our support staff,
along with some tips and tricks that we have found useful and
presented here as questions

Note: In these answers we will follow a
few shorthand conventions for describing user-interface (UI)
procedures. Key combinations will be presented like this:
Ctrl+Alt+Delete, which means that you
should press and hold down the Control key, the Alt key, and
the Delete key at the same time. Menu selections will be
presented like this: File->Open, which
means that you should open the File menu, and then make the
Open selection.

Q: I installed the XD++ Library, but I cannot
find any of the DLL or library files, where can I find
them?
A:

You need to build all of the XD++
Library DLL and library files. Open the XD++ Library
workspace from the start menu -> XD++ Library. You
should generate both release and debug builds for your
desired platform.

Configuration
Name

Default
Library Name

MFC
Dll,XD++ Dll Release

XD**.lib

MFC
Dll,XD++ Dll Debug

XDD**.lib

MFC
Dll,XD++ Dll Unicode Release

XDU**.lib

MFC
Dll,XD++ Dll Unicode Debug

XDUD**.lib

MFC
Dll ,XD++ Lib Release

XDS**.lib

MFC
Dll ,XD++ Lib Debug

XDSD**.lib

MFC
Dll ,XD++ Lib Unicode Release

XDUS**.lib

MFC
Dll ,XD++ Lib Unicode Debug

XDUSD**.lib

MFC
Lib ,XD++ Lib Release

XDLS**.lib

MFC
Lib ,XD++ Lib Debug

XDLSD**.lib

MFC
Lib ,XD++ Lib Unicode Release

XDLUS**.lib

MFC
Lib ,XD++ Lib Unicode Debug

XDLUSD**.lib

NOTE:**
Denotes the version of the library. For example, if you are
using version 6.0.0, then the Win32 Debug DLL would be
XDD60.dll.If you are linking to XD++ as a DLL, you need to
add FO\Lib directory to your path or manually copy the XD++
DLLs to your Windows directory.

Note: If you are
using the evaluation version of the library, only the XD++ MFC
Library - Win32 Debug version of the DLL is supplied including
associated lib files. You will not need to build the library.

Q:What do I need to do to begin using the XD++ Library,
and how do I set up VisualStudio®?
A: In Visual Studio you will need to make the
following changes, assuming that you have installed the
XD++ Library in the directory "C:\Program Files\UCanCode
Software Inc\XD++ MFC Library". If you installed the XD++
into another location you will need to adjust this
accordingly:

For Visual C++ 5.0 &
6.0 users:

From the Visual Studio IDE
select the ‘Tools’ then ‘Options’ pull-down menu.

After you download and
installed the library, to get started, open the XD++ Library
project workspace (see above question, if you are using the
evaluation version this does not apply to you). Depending on
your platform, build both the debug and release versions of
the library. After you have done this, open the AppWizard
workspace and build the project. Now you can run the wizard
the same way you normally would create a new MFC project using
the standard AppWizard. Also, it may be a good idea to build
the examples as well so you can see how your project may look.
You can do this by opening the examples workspace.

Q: What do I use my program support Ole Drag and drop?
A: To let your program support
Ole Drag and Drop, you need add the following code at the CWinApp's
InitInstance. Example:

BOOL
CCustomSampleApp::InitInstance()

AfxOleInit();

Q: What do I need to do to set up my existing
application to use the XD++ Library?
A: To get started to used the XD++ with your
existing application, make you have included the following
line in your stdafx.h file, make sure that the .\lib, .\bin
and .\include directories where the XD++ was installed have
been added to DevStudio's directories list: