Alaska Software Inc. - Debugging Dll
Username: Password:
AuthorTopic: Debugging Dll
Paolo VisentiDebugging Dll
on Thu, 08 Jan 2004 10:31:59 +0100
I would want to know how debugging Dll. I have a Xbase Dll recompiled with
1.82 version.
In Vx, I open the Dll project and everything seems ok, but, when I press
Shift+F9 (or item in menu) nothing doesn't happen.

Regards

Paolo Visenti
Till WarwegRe: Debugging Dll
on Thu, 08 Jan 2004 11:40:06 +0100
"Paolo Visenti" <visenti@computek.it> wrote in message
news:gDQ3Epc1DHA.2016@S15147418...
> I would want to know how debugging Dll. I have a Xbase Dll
> recompiled with 1.82 version. In Vx, I open the Dll project and
> everything seems ok, but, when I press Shift+F9 (or item in menu)
> nothing doesn't happen.

Paolo,

in order to execute (or debug) a DLL target, you need to
specify a host process - an executable that loads it.
Although this works in principle, the dialog ("Parameters...")
seems to be broken in that respect.

To work around this problem, please try the following:
  o Open the Project.xpj file in a text editor, eg. NOTEPAD.EXE
  o Add a line to the DLL's target section, example:
    [PROJECT]
      Version = 2.0
      Project.xpj

   [Project.xpj]
      <yourdll>

   [yourdll]
      Compile  = xpp
       ...
      HOSTPROCESS = <host application/executable>
       $START-AUTODEPEND
      ...
  o Save the project file

If you then load the project into VX, the host application
<host application/executable> should be correctly displayed
in the Run->Parameters... dialog. Also, Shift+F9 should
work as expected.

Good luck,
  Till

--
---------------------------------------------------
ARD - Alaska Research & Development

Web:       http://www.alaska-research.com
Investors: http://www.alaska-research.com/tifund
E-Mail:    mailto:till.warweg@alaska-research.com
Contact:   mailto:info@alaska-research.com
---------------------------------------------------
Paolo VisentiRe: Debugging Dll
on Thu, 08 Jan 2004 12:21:14 +0100
Till,
thanks for the fast answer.

Everything works fine.



Paolo Visenti

P.S.
> Good luck
for a new product, it isn't a good thing