Get Ready to Unleash the
Power of UCanCode .NET

Knowledge Base

Our
technical notes are small texts explaining the solution of the most
commonly found problems. Although not as big as some our competitors
pages, we tried to include as much information as possible. This page is
updated constantly and new tips are added. Come back often and check if
your problem is already solved .

From common
programming problems to complete sample programs, entries are constantly
being updated and expanded by our Technical Support team. Information
can be accessed by entry number, product type, or by indexed search. No
login process is required to access this information.

These articles answer the frequently ucancode.neted questions and problems reported
by our users. Generally, the article 'expires' in the next version (problem
is corrected), but you just might find the analogy with your current situation.

XD++
Library Knowledge Base

Q:
I installed the E-XD++ Library V18.0, but I cannot find any of the DLL or
library files, where can I find them?

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

E-XDENG1700.dll
E-XDENG1700.lib

DLL
- Win32 Debug

E-XDENGD1700.dll
E-XDENGD1700.lib

DLL
- Win32 Release

E-XDStatic1700D.lib

Static
Library - Win32 Debug

E-XDStatic1700lib

Static
Library - Win32 Release

Note: If you are using the evaluation version of the
library, only the dStatic Library - Win32 Debug sx 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 VisualStudio you will need to make the following changes,
assuming that you have installed the XD++ Library in the
directory "C:\Program Files\UCanCode.Net Software Inc\E-XD++
Visualization Enterprise Suite". If you installed the XD++ into another
location you will need to adjust this accordingly:

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:

Q:We have been
delivering about your XD++ product and it suits to our needs, but
we have one critical requirement for our project that we haven t
seen in it. Our software has to be able to save its drawing, or
export it, to a dxf file format, so we would like to know how can we
get this functionality in your product or besides it.

A:For default
serialization you need to override Serialize() in all of the
objects, the view ob, the frame ob and the view/doc to work use this
format. For export/import you could just add a SerializeDXF method
to all of your objects. Either way is easy, but somewhat laborious
since there are a fair number of properties to convert.

We are not working on the .dxf filters. It would be great to have
them as a sample though if you wouldn't mind contributing them. That
way we would probably maintain them if the XD++-object properties
every change

Q:Can
I offer component based on a XD++ source code as a competitor product?

A:No. We offer source
code at a very special price.You cann't make a competitor product using any
party of our source code.

Q:What
is one developer license?

A:Developer license means the software can be installed
on one developer's computer.
What does Team 4 and Team 8 stand for?
Team 4 stands for 4 developer licenses e.g. the software can be installed on 4
developer machines. Team 8 stands for 8 developer licenses.

Q:Is
the XD++ UNICODE?

A:Yes, XD++5.0 and all of
its standard classes fully support UNICODE.

Q:What's
version of VC XD++ support?

A:XD++
can be compiled on VC++ versions starting from version 4 all the way to
the upcoming VS.Net (with MFC 7) without any problems

Q:Can U give me a function where I'll pass CFOImageShape pointer
and it'll make a list of all links only. Make sure that I won't
use GetFormObject() function.

Q:Want to prevent resizing of an image but make sure I don't
want to lock
the control otherwise I won't be able to move the image. Is
there any
function thought which I can enable and disable the
control/image resizing?

A:You can use the
following method to do it:
void LockWidthAndHeight(const BOOL bLock) it defined in
class
CFODrawShape

Q: Is
XD++ MFC Library available for Visual Basic® or other ActiveX container?

A: Yes

Q: What is
"Design Mode"?

A: By
default,XD++ include "Design Mode" and "Runtime Mode",with
"Design Mode" you can edit or change the shapes on the canvas,for
"Runtime Mode",you can only HitTest shapes on the canvas.You can call
the following method to change it:

GetCurrentModel()->SetDesignMode(TRUE/FALSE);

Q: HOW
TO: Get IntelliSense to work with Visual C++ 6.0

A: IntelliSense
stores information about each project into a .ncb file. This file is an
inventory of classes and member data that are contained in the project's file
structure. The problem is that IntelliSense does not recognize class
members outside of the immediate project, and therefore will not display
information on these objects ( see
INFO:
Limitations of IntelliSense in Visual C++ 6.0 for more details ).

As a work around for this problem, you can
include the XD++ MFC Library into your project. This will update your
project's .ncb file adding the IntelliSense information for the Library. To
do this, follow these steps:

Open your project and select the File tab.

Right click on the Workspace item in the
tree display ( usually the first item ).

Choose Insert New Project and browse to the
directory where the XD++ project .dsp file is located.

Select either FO.dsp or FOStatic.dsp and
choose OK.

Press the Save All button.

Now your project's .ncb file has been updated
and you should see IntelliSense active for the XD++ objects. You can now
highlight the XD++ project in the File tree and remove it from your project
workspace.