In some cases, the addin buildver.dll does not work

Started by eutic04, February 22, 2008, 04:45:28 PM

Previous topic - Next topic

eutic04

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 !

JohnF

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