For Programmers: Free Programming Magazines  


Home > Archive > VC Language > November 2005 > Debugging a Filemaker Plugin dll in Visual Studio .NET 2003









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Debugging a Filemaker Plugin dll in Visual Studio .NET 2003
Abhi

2005-11-28, 3:58 am

Hi,

I am trying to write an external plugin for Filemaker 7 software. The
plugin takes in a custom image format file and converts it into a jpeg
image and returns the jpeg image back to filemaker for displaying it in
the database. I am developing this plugin in Visual C++ .NET 2003. I
first create a dll (which is named as *.fmx) and then copy it into some
filemaker folder so that filemaker can make use of that dll to perform
the desired operation. I want to debug this dll as I am running into
problems, but unfortunately am not able to do it. I tried setting the
path in the dll project properties to Filemaker Program and starting
the execution from the debug menu. I also tried attaching the program
process. But both the ways, filemaker just runs the process and the
breakpoint never gets hit. I have never debugged a dll file before from
visual studio .NET. Can anybody please help me with this? I even tried
looking in the modules window to see if the dll (*.fmx) is being
loaded... but could not see the dll in there. Please help!

Thanks,
Abhi

Scherbina Vladimir

2005-11-28, 3:58 am

Hello, Abhi.

Make sure, that you debug the debug version of your dll.
If you debug release build, you should make following changes in project
type:

http://msdn.microsoft.com/library/d...lease_Build.asp

--
Scherbina Vladimir

"Abhi" <abhishika@gmail.com> wrote in message
news:1133150648.635970.261630@g14g2000cwa.googlegroups.com...
> Hi,
>
> I am trying to write an external plugin for Filemaker 7 software. The
> plugin takes in a custom image format file and converts it into a jpeg
> image and returns the jpeg image back to filemaker for displaying it in
> the database. I am developing this plugin in Visual C++ .NET 2003. I
> first create a dll (which is named as *.fmx) and then copy it into some
> filemaker folder so that filemaker can make use of that dll to perform
> the desired operation. I want to debug this dll as I am running into
> problems, but unfortunately am not able to do it. I tried setting the
> path in the dll project properties to Filemaker Program and starting
> the execution from the debug menu. I also tried attaching the program
> process. But both the ways, filemaker just runs the process and the
> breakpoint never gets hit. I have never debugged a dll file before from
> visual studio .NET. Can anybody please help me with this? I even tried
> looking in the modules window to see if the dll (*.fmx) is being
> loaded... but could not see the dll in there. Please help!
>
> Thanks,
> Abhi
>



Arnaud Debaene

2005-11-28, 3:58 am

Scherbina Vladimir wrote:
> Hello, Abhi.
>
> Make sure, that you debug the debug version of your dll.


Make sure the symbols file (.pdb) is available for the debug session. The
simpliest way is to copy it along with the DLL in the FileMaker folder
(beware : do NOT distribute this file!)

You should also make sure the DLL is ready loaded by FileMaker : Attach the
debugger to filemaker, break into the debugger and look the modules window.

Arnaud
MVP - VC


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com