Pelles C forum

Pelles C => Bug reports => Topic started by: eutic04 on February 22, 2008, 04:45:28 PM

Title: In some cases, the addin buildver.dll does not work
Post by: eutic04 on February 22, 2008, 04:45:28 PM
The Addin : buildver.dll

Version: 1.0.0.0
Add-in sample for Pelles C (buildver.dll)

The addin does not work if move the resources file in another directory.

Es.

in this case : WORK OK !
[C:\MyProjectDir]
    |
    +------------- MyProject.ppj
    +------------- Resources.rc
    +------------- file.c
    +------------- file.h
    +------------- etc...

------------------------------------------------------------------------------------------

but, if move the Resources.rc in Sub Directory , the plugin NOT WORK
in this case : NOT WORK !
[C:\MyProjectDir]
    |
    +------------- [Resources]
    |                   |
    |                   +------------- Resources.rc
    |                   +------------- icon.ico
    |                   +------------- etc...
    |
    +------------- MyProject.ppj
    +------------- file.c
    +------------- file.h
    +------------- etc...



bye !
Title: Re: In some cases, the addin buildver.dll does not work
Post by: JohnF on February 25, 2008, 08:49:03 AM
The code in Buildver.c was not written to search sub-folders.

It is only an example listing, if you want it to search in a different folder you have to re-write the code to do that.

John