realbasic-plugins
[Top] [All Lists]

Re: Compiling plugin on Windows. Story1

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Compiling plugin on Windows. Story1
From: Ruslan Zasukhin <sunshine at public dot kherson dot ua>
Date: Sat, 03 Jul 2004 01:11:30 +0300
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
List-help: <mailto:realbasic-plugins-request@lists.realsoftware.com?subject=help>
List-id: REALbasic Plugins <realbasic-plugins.lists.realsoftware.com>
List-post: <mailto:realbasic-plugins@lists.realsoftware.com>
On 7/2/04 11:38 PM, "William Yu" <william at realsoftware dot com> wrote:

Hi William,

> On 7/2/04 12:42 PM, "Ruslan Zasukhin" <sunshine at public dot kherson dot ua> 
> wrote:
> 
>> * okay, I open compiled app in dependency.exe to check what DLLs it use.
>>   I see that it NOT depend on V4RB.DLL and NOT depend on second dll.
>> 
>> * okay, I assume that V4RB.DLL was compiled inside of myapp.exe
>> 
>> * okay, now I check how they install V4RB.dll when I run app.
>>   in the past plugin dll was installed into win32 directory.
>>   I run app, do search -> nothing.
>> 
>> * okay, so I assume that REAL have found way load DLL directly into RAM.
>>   this is good in fact.
> 
> No, we're not quite there yet, we still write it out to the user's app data
> directory or the temp directory if we can't.

But why I do not see that DLL ?

You make it hidden ?
I will check that later

>> But any ideas how we can DEBUG such DLLs ?
> 
> Best to debug within the IDE (yeah I know, it's not ideal nor can you test
> everything in that situation but at least it's possible to debug).  It's not
> possible right now to debug in runtime (but feature request it).

Mmmm, can you explain more?

You say that I can setup CodeWarrior WIN project

- to build plugin.dll into plugin folder of RB
- to set REALbasic as executable for CW project
- run it
- open RB project
- run rb project from IDE (this build tmp app in fact)

And I can debug PLUGIN code in CW debugger ?
William, this NOT WORK.

Please note, I talk about DEBUGGING of plugin itself.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    also note, Valentina plugin now is designed as

        plugin + engine.DLL located in other folder.

    I was in hope that I will be bale catch breakpoints AT LEAST
    inside of this engine.dll, because it is not compiled into app.exe
    and therefore it not change its location as plugin.dll
    but even this not works.

So, Please explain your point in more details.
    what you mean with debugging in IDE ?
    what you mean with runtime ?



-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft dot com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------

_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>