none
Including a reg file into platform.reg RRS feed

  • Question

  • Hi there,

    why my code is not 'executed', including the reg file inside the platform.reg file?

    ;IF 1
    ;SM dovrebbe essere in project.reg
    #include "$(_TARGETPLATROOT)\SRC\vcilib.reg"
    ;ENDIF
    

    SteMMo
    Tuesday, April 5, 2011 1:35 PM

All replies

  • try:

    #include $(_TARGETPLATROOT)\SRC\vcilib.reg


    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com
    Tuesday, April 5, 2011 1:46 PM
    Moderator
  • the quotes should not make the difference, they are widely used in the MS .reg files: for example, in %_WINCEROOT%\PLATFORM\DEVICEEMULATOR\files\platform.reg you can see:

    #include "$(_TARGETPLATROOT)\src\drivers\pccard\pcc_smdk2410.reg"

    are you sure the path is correct?

    if you take a look at reginit.ini in %_FLATRELEASEDIR%,  can you find something like:

    ; --> Entering D:\WINCE600\public\common\oak\drivers\pccard\mdd\pcc_serv.reg

     

     


    Luca Calligaris lucaDOTcalligarisATeurotechDOTcom www.eurotech.com Check my blog: http://lcalligaris.wordpress.com
    Tuesday, April 5, 2011 2:30 PM
  • I guess it is expanded into:

    c:\WINCE600\PLATFORM\MyBSP\src\vcilib.reg


    SteMMo
    Tuesday, April 5, 2011 3:29 PM
  • Is your reg file actually there?   Are your changes in $(_FLATRELEASEDIR)\platform.reg?
    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG http://geekswithblogs.net/bruceeitman

    Eurotech Inc.
    www.Eurotech.com
    Tuesday, April 5, 2011 4:58 PM
    Moderator
  • Ok, i solved !

    I don't know why the file reg was saved in a UTF format but when i displayed it, i say it well.

    I converted it in ansi format and it entered in the final reg file.

     

    Thanks


    SteMMo
    Wednesday, April 6, 2011 3:37 PM