Hi all,
I'm completely newbie with CE so excuse me if this is not the right place to
ask such questions, any redirection welcomed.

I created a new OSDesign project, with custom template, and did not checked
anything offered (trying to keep the components at minimum). It builded
okay.

Than I've installed all x86 CE updates (up to april 08), and checked .NET
Compact Framework 3.5 in the catalog list view items. Now the project
doesn't want to build.

The build.log ends with
crypt32.def : error LNK2001: unresolved external symbol CryptPFXDllMain
crypt32.def : error LNK2001: unresolved external symbol PFXExportCertStoreEx
crypt32.def : error LNK2001: unresolved external symbol PFXImportCertStore
crypt32.def : error LNK2001: unresolved external symbol PFXIsPFXBlob
crypt32.def : error LNK2001: unresolved external symbol PFXVerifyPassword

I've tried to check whole SYSGEN_CRYPTO group in the catalog, but this only
added additional uneresolved symbol errors. So my first question is how
could I fix this problem, but the real question I would like to ask is how
can I find, seeing this kind of error, which SYSGEN am I missing?


Thank you for any help,
Jan Kucera

Re: Unresolved CryptPFXDllMain (.NET CF 3.5) by Paul

Paul
Fri May 16 14:54:49 PDT 2008

You need to set the Clean Before Building flag and *then* do a Sysgen
operation, if you haven't done such a clean sysgen so far, which I think you
haven't.

Paul T.

"Jan Kucera" <kucera@lupacovka.cz> wrote in message
news:euyAPr5tIHA.4376@TK2MSFTNGP06.phx.gbl...
> Hi all,
> I'm completely newbie with CE so excuse me if this is not the right place
> to ask such questions, any redirection welcomed.
>
> I created a new OSDesign project, with custom template, and did not
> checked anything offered (trying to keep the components at minimum). It
> builded okay.
>
> Than I've installed all x86 CE updates (up to april 08), and checked .NET
> Compact Framework 3.5 in the catalog list view items. Now the project
> doesn't want to build.
>
> The build.log ends with
> crypt32.def : error LNK2001: unresolved external symbol CryptPFXDllMain
> crypt32.def : error LNK2001: unresolved external symbol
> PFXExportCertStoreEx
> crypt32.def : error LNK2001: unresolved external symbol PFXImportCertStore
> crypt32.def : error LNK2001: unresolved external symbol PFXIsPFXBlob
> crypt32.def : error LNK2001: unresolved external symbol PFXVerifyPassword
>
> I've tried to check whole SYSGEN_CRYPTO group in the catalog, but this
> only added additional uneresolved symbol errors. So my first question is
> how could I fix this problem, but the real question I would like to ask is
> how can I find, seeing this kind of error, which SYSGEN am I missing?
>
>
> Thank you for any help,
> Jan Kucera
>



Re: Unresolved CryptPFXDllMain (.NET CF 3.5) by Dylan

Dylan
Fri May 16 17:17:07 PDT 2008

It looks like you might be missing SYSGEN_CERTS_PFX.

--
Dylan DSilva
Software Development Engineer
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © Microsoft Corporation. All rights
reserved.

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:ePtCx95tIHA.4476@TK2MSFTNGP06.phx.gbl...
> You need to set the Clean Before Building flag and *then* do a Sysgen
> operation, if you haven't done such a clean sysgen so far, which I think
> you haven't.
>
> Paul T.
>
> "Jan Kucera" <kucera@lupacovka.cz> wrote in message
> news:euyAPr5tIHA.4376@TK2MSFTNGP06.phx.gbl...
>> Hi all,
>> I'm completely newbie with CE so excuse me if this is not the right place
>> to ask such questions, any redirection welcomed.
>>
>> I created a new OSDesign project, with custom template, and did not
>> checked anything offered (trying to keep the components at minimum). It
>> builded okay.
>>
>> Than I've installed all x86 CE updates (up to april 08), and checked .NET
>> Compact Framework 3.5 in the catalog list view items. Now the project
>> doesn't want to build.
>>
>> The build.log ends with
>> crypt32.def : error LNK2001: unresolved external symbol CryptPFXDllMain
>> crypt32.def : error LNK2001: unresolved external symbol
>> PFXExportCertStoreEx
>> crypt32.def : error LNK2001: unresolved external symbol
>> PFXImportCertStore
>> crypt32.def : error LNK2001: unresolved external symbol PFXIsPFXBlob
>> crypt32.def : error LNK2001: unresolved external symbol PFXVerifyPassword
>>
>> I've tried to check whole SYSGEN_CRYPTO group in the catalog, but this
>> only added additional uneresolved symbol errors. So my first question is
>> how could I fix this problem, but the real question I would like to ask
>> is how can I find, seeing this kind of error, which SYSGEN am I missing?
>>
>>
>> Thank you for any help,
>> Jan Kucera
>>
>
>



Re: Unresolved CryptPFXDllMain (.NET CF 3.5) by Jan

Jan
Mon May 19 15:08:23 PDT 2008

Hello Paul,
thank you for the tip, I've choosed "Clean Sysgen" from Advanced Build
Commands and it worked. Is there any place where to set the Clean Before
Building flag permanently? Or when typically I will need to clean?

Jan



"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:ePtCx95tIHA.4476@TK2MSFTNGP06.phx.gbl...
> You need to set the Clean Before Building flag and *then* do a Sysgen
> operation, if you haven't done such a clean sysgen so far, which I think
> you haven't.
>
> Paul T.
>
> "Jan Kucera" <kucera@lupacovka.cz> wrote in message
> news:euyAPr5tIHA.4376@TK2MSFTNGP06.phx.gbl...
>> Hi all,
>> I'm completely newbie with CE so excuse me if this is not the right place
>> to ask such questions, any redirection welcomed.
>>
>> I created a new OSDesign project, with custom template, and did not
>> checked anything offered (trying to keep the components at minimum). It
>> builded okay.
>>
>> Than I've installed all x86 CE updates (up to april 08), and checked .NET
>> Compact Framework 3.5 in the catalog list view items. Now the project
>> doesn't want to build.
>>
>> The build.log ends with
>> crypt32.def : error LNK2001: unresolved external symbol CryptPFXDllMain
>> crypt32.def : error LNK2001: unresolved external symbol
>> PFXExportCertStoreEx
>> crypt32.def : error LNK2001: unresolved external symbol
>> PFXImportCertStore
>> crypt32.def : error LNK2001: unresolved external symbol PFXIsPFXBlob
>> crypt32.def : error LNK2001: unresolved external symbol PFXVerifyPassword
>>
>> I've tried to check whole SYSGEN_CRYPTO group in the catalog, but this
>> only added additional uneresolved symbol errors. So my first question is
>> how could I fix this problem, but the real question I would like to ask
>> is how can I find, seeing this kind of error, which SYSGEN am I missing?
>>
>>
>> Thank you for any help,
>> Jan Kucera
>>
>
>



Re: Unresolved CryptPFXDllMain (.NET CF 3.5) by Paul

Paul
Mon May 19 15:52:27 PDT 2008

I would not do that permanently, as it takes much longer. I don't see where
you've told us what version of CE you're talking about. If CE5, just
choosing Clean for Building from the Build menu and that will remain checked
until you uncheck it.

Paul T.

"Jan Kucera" <kucera@lupacovka.cz> wrote in message
news:ug5xbzfuIHA.3484@TK2MSFTNGP06.phx.gbl...
> Hello Paul,
> thank you for the tip, I've choosed "Clean Sysgen" from Advanced Build
> Commands and it worked. Is there any place where to set the Clean Before
> Building flag permanently? Or when typically I will need to clean?
>
> Jan
>
>
>
> "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
> com> wrote in message news:ePtCx95tIHA.4476@TK2MSFTNGP06.phx.gbl...
>> You need to set the Clean Before Building flag and *then* do a Sysgen
>> operation, if you haven't done such a clean sysgen so far, which I think
>> you haven't.
>>
>> Paul T.
>>
>> "Jan Kucera" <kucera@lupacovka.cz> wrote in message
>> news:euyAPr5tIHA.4376@TK2MSFTNGP06.phx.gbl...
>>> Hi all,
>>> I'm completely newbie with CE so excuse me if this is not the right
>>> place to ask such questions, any redirection welcomed.
>>>
>>> I created a new OSDesign project, with custom template, and did not
>>> checked anything offered (trying to keep the components at minimum). It
>>> builded okay.
>>>
>>> Than I've installed all x86 CE updates (up to april 08), and checked
>>> .NET Compact Framework 3.5 in the catalog list view items. Now the
>>> project doesn't want to build.
>>>
>>> The build.log ends with
>>> crypt32.def : error LNK2001: unresolved external symbol CryptPFXDllMain
>>> crypt32.def : error LNK2001: unresolved external symbol
>>> PFXExportCertStoreEx
>>> crypt32.def : error LNK2001: unresolved external symbol
>>> PFXImportCertStore
>>> crypt32.def : error LNK2001: unresolved external symbol PFXIsPFXBlob
>>> crypt32.def : error LNK2001: unresolved external symbol
>>> PFXVerifyPassword
>>>
>>> I've tried to check whole SYSGEN_CRYPTO group in the catalog, but this
>>> only added additional uneresolved symbol errors. So my first question is
>>> how could I fix this problem, but the real question I would like to ask
>>> is how can I find, seeing this kind of error, which SYSGEN am I missing?
>>>
>>>
>>> Thank you for any help,
>>> Jan Kucera
>>>
>>
>>
>
>



Re: Unresolved CryptPFXDllMain (.NET CF 3.5) by Jan

Jan
Mon May 19 15:08:23 PDT 2008

Hi Dylan, thanks for the tip. I wonder if there is any place or way how
could I find out in the future the right SYSGEN_ package I'm missing based
on the unresolved symbol name?

Thanks,
Jan

"Dylan DSilva (MS)" <ddsilva@microsoft.com> wrote in message
news:OGPVZN7tIHA.4260@TK2MSFTNGP05.phx.gbl...
> It looks like you might be missing SYSGEN_CERTS_PFX.
>
> --
> Dylan DSilva
> Software Development Engineer
> Microsoft Corporation
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> You assume all risk for your use. © Microsoft Corporation. All rights
> reserved.
>
> "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
> com> wrote in message news:ePtCx95tIHA.4476@TK2MSFTNGP06.phx.gbl...
>> You need to set the Clean Before Building flag and *then* do a Sysgen
>> operation, if you haven't done such a clean sysgen so far, which I think
>> you haven't.
>>
>> Paul T.
>>
>> "Jan Kucera" <kucera@lupacovka.cz> wrote in message
>> news:euyAPr5tIHA.4376@TK2MSFTNGP06.phx.gbl...
>>> Hi all,
>>> I'm completely newbie with CE so excuse me if this is not the right
>>> place to ask such questions, any redirection welcomed.
>>>
>>> I created a new OSDesign project, with custom template, and did not
>>> checked anything offered (trying to keep the components at minimum). It
>>> builded okay.
>>>
>>> Than I've installed all x86 CE updates (up to april 08), and checked
>>> .NET Compact Framework 3.5 in the catalog list view items. Now the
>>> project doesn't want to build.
>>>
>>> The build.log ends with
>>> crypt32.def : error LNK2001: unresolved external symbol CryptPFXDllMain
>>> crypt32.def : error LNK2001: unresolved external symbol
>>> PFXExportCertStoreEx
>>> crypt32.def : error LNK2001: unresolved external symbol
>>> PFXImportCertStore
>>> crypt32.def : error LNK2001: unresolved external symbol PFXIsPFXBlob
>>> crypt32.def : error LNK2001: unresolved external symbol
>>> PFXVerifyPassword
>>>
>>> I've tried to check whole SYSGEN_CRYPTO group in the catalog, but this
>>> only added additional uneresolved symbol errors. So my first question is
>>> how could I fix this problem, but the real question I would like to ask
>>> is how can I find, seeing this kind of error, which SYSGEN am I missing?
>>>
>>>
>>> Thank you for any help,
>>> Jan Kucera
>>>
>>
>>
>
>



Re: Unresolved CryptPFXDllMain (.NET CF 3.5) by Paul

Paul
Mon May 19 16:18:12 PDT 2008

This really doesn't come up much, except when you change the configuration
of the OS and fail to do a clean sysgen. You can follow things backwards,
at least sometimes, by figuring out which public library the exports that
you need are found in (search of *.lib in somewhere like
\public\common\oak\lib\<etc>). When you find such a library, you need to
figure out what sysgen constant causes that library to be built into the DLL
or other library that's missing it. You'd search in places like
\public\cebase\oak\misc looking for the name of the library. When you find
it, you have to look at the batch file or makefile to figure out what causes
it to be added to the list of components.

Paul T.

"Jan Kucera" <kucera@lupacovka.cz> wrote in message
news:%23yB8dUguIHA.552@TK2MSFTNGP06.phx.gbl...
> Hi Dylan, thanks for the tip. I wonder if there is any place or way how
> could I find out in the future the right SYSGEN_ package I'm missing based
> on the unresolved symbol name?
>
> Thanks,
> Jan
>
> "Dylan DSilva (MS)" <ddsilva@microsoft.com> wrote in message
> news:OGPVZN7tIHA.4260@TK2MSFTNGP05.phx.gbl...
>> It looks like you might be missing SYSGEN_CERTS_PFX.
>>
>> --
>> Dylan DSilva
>> Software Development Engineer
>> Microsoft Corporation
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> You assume all risk for your use. © Microsoft Corporation. All rights
>> reserved.
>>
>> "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
>> DOT com> wrote in message news:ePtCx95tIHA.4476@TK2MSFTNGP06.phx.gbl...
>>> You need to set the Clean Before Building flag and *then* do a Sysgen
>>> operation, if you haven't done such a clean sysgen so far, which I think
>>> you haven't.
>>>
>>> Paul T.
>>>
>>> "Jan Kucera" <kucera@lupacovka.cz> wrote in message
>>> news:euyAPr5tIHA.4376@TK2MSFTNGP06.phx.gbl...
>>>> Hi all,
>>>> I'm completely newbie with CE so excuse me if this is not the right
>>>> place to ask such questions, any redirection welcomed.
>>>>
>>>> I created a new OSDesign project, with custom template, and did not
>>>> checked anything offered (trying to keep the components at minimum). It
>>>> builded okay.
>>>>
>>>> Than I've installed all x86 CE updates (up to april 08), and checked
>>>> .NET Compact Framework 3.5 in the catalog list view items. Now the
>>>> project doesn't want to build.
>>>>
>>>> The build.log ends with
>>>> crypt32.def : error LNK2001: unresolved external symbol CryptPFXDllMain
>>>> crypt32.def : error LNK2001: unresolved external symbol
>>>> PFXExportCertStoreEx
>>>> crypt32.def : error LNK2001: unresolved external symbol
>>>> PFXImportCertStore
>>>> crypt32.def : error LNK2001: unresolved external symbol PFXIsPFXBlob
>>>> crypt32.def : error LNK2001: unresolved external symbol
>>>> PFXVerifyPassword
>>>>
>>>> I've tried to check whole SYSGEN_CRYPTO group in the catalog, but this
>>>> only added additional uneresolved symbol errors. So my first question
>>>> is how could I fix this problem, but the real question I would like to
>>>> ask is how can I find, seeing this kind of error, which SYSGEN am I
>>>> missing?
>>>>
>>>>
>>>> Thank you for any help,
>>>> Jan Kucera
>>>>
>>>
>>>
>>
>>
>
>



Re: Unresolved CryptPFXDllMain (.NET CF 3.5) by Jan

Jan
Mon May 19 16:26:38 PDT 2008

Thanks Paul!

By the way, building on CE6 R2.
Jan

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:%23MwtZaguIHA.524@TK2MSFTNGP05.phx.gbl...
> This really doesn't come up much, except when you change the configuration
> of the OS and fail to do a clean sysgen. You can follow things backwards,
> at least sometimes, by figuring out which public library the exports that
> you need are found in (search of *.lib in somewhere like
> \public\common\oak\lib\<etc>). When you find such a library, you need to
> figure out what sysgen constant causes that library to be built into the
> DLL or other library that's missing it. You'd search in places like
> \public\cebase\oak\misc looking for the name of the library. When you
> find it, you have to look at the batch file or makefile to figure out what
> causes it to be added to the list of components.
>
> Paul T.
>
> "Jan Kucera" <kucera@lupacovka.cz> wrote in message
> news:%23yB8dUguIHA.552@TK2MSFTNGP06.phx.gbl...
>> Hi Dylan, thanks for the tip. I wonder if there is any place or way how
>> could I find out in the future the right SYSGEN_ package I'm missing
>> based on the unresolved symbol name?
>>
>> Thanks,
>> Jan
>>
>> "Dylan DSilva (MS)" <ddsilva@microsoft.com> wrote in message
>> news:OGPVZN7tIHA.4260@TK2MSFTNGP05.phx.gbl...
>>> It looks like you might be missing SYSGEN_CERTS_PFX.
>>>
>>> --
>>> Dylan DSilva
>>> Software Development Engineer
>>> Microsoft Corporation
>>>
>>> This posting is provided "AS IS" with no warranties, and confers no
>>> rights.
>>> You assume all risk for your use. © Microsoft Corporation. All rights
>>> reserved.
>>>
>>> "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
>>> DOT com> wrote in message news:ePtCx95tIHA.4476@TK2MSFTNGP06.phx.gbl...
>>>> You need to set the Clean Before Building flag and *then* do a Sysgen
>>>> operation, if you haven't done such a clean sysgen so far, which I
>>>> think you haven't.
>>>>
>>>> Paul T.
>>>>
>>>> "Jan Kucera" <kucera@lupacovka.cz> wrote in message
>>>> news:euyAPr5tIHA.4376@TK2MSFTNGP06.phx.gbl...
>>>>> Hi all,
>>>>> I'm completely newbie with CE so excuse me if this is not the right
>>>>> place to ask such questions, any redirection welcomed.
>>>>>
>>>>> I created a new OSDesign project, with custom template, and did not
>>>>> checked anything offered (trying to keep the components at minimum).
>>>>> It builded okay.
>>>>>
>>>>> Than I've installed all x86 CE updates (up to april 08), and checked
>>>>> .NET Compact Framework 3.5 in the catalog list view items. Now the
>>>>> project doesn't want to build.
>>>>>
>>>>> The build.log ends with
>>>>> crypt32.def : error LNK2001: unresolved external symbol
>>>>> CryptPFXDllMain
>>>>> crypt32.def : error LNK2001: unresolved external symbol
>>>>> PFXExportCertStoreEx
>>>>> crypt32.def : error LNK2001: unresolved external symbol
>>>>> PFXImportCertStore
>>>>> crypt32.def : error LNK2001: unresolved external symbol PFXIsPFXBlob
>>>>> crypt32.def : error LNK2001: unresolved external symbol
>>>>> PFXVerifyPassword
>>>>>
>>>>> I've tried to check whole SYSGEN_CRYPTO group in the catalog, but this
>>>>> only added additional uneresolved symbol errors. So my first question
>>>>> is how could I fix this problem, but the real question I would like to
>>>>> ask is how can I find, seeing this kind of error, which SYSGEN am I
>>>>> missing?
>>>>>
>>>>>
>>>>> Thank you for any help,
>>>>> Jan Kucera
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>



Re: Unresolved CryptPFXDllMain (.NET CF 3.5) by Michel

Michel
Mon May 19 16:32:31 PDT 2008

Hi Jan,

Read this blog post so you know what to build when:
http://www.guruce.com/content/whattobuildwhen

Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE Ltd.
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

Jan Kucera wrote:
> Hello Paul,
> thank you for the tip, I've choosed "Clean Sysgen" from Advanced Build
> Commands and it worked. Is there any place where to set the Clean Before
> Building flag permanently? Or when typically I will need to clean?
>
> Jan
>
>
>
> "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
> com> wrote in message news:ePtCx95tIHA.4476@TK2MSFTNGP06.phx.gbl...
>> You need to set the Clean Before Building flag and *then* do a Sysgen
>> operation, if you haven't done such a clean sysgen so far, which I think
>> you haven't.
>>
>> Paul T.
>>
>> "Jan Kucera" <kucera@lupacovka.cz> wrote in message
>> news:euyAPr5tIHA.4376@TK2MSFTNGP06.phx.gbl...
>>> Hi all,
>>> I'm completely newbie with CE so excuse me if this is not the right place
>>> to ask such questions, any redirection welcomed.
>>>
>>> I created a new OSDesign project, with custom template, and did not
>>> checked anything offered (trying to keep the components at minimum). It
>>> builded okay.
>>>
>>> Than I've installed all x86 CE updates (up to april 08), and checked .NET
>>> Compact Framework 3.5 in the catalog list view items. Now the project
>>> doesn't want to build.
>>>
>>> The build.log ends with
>>> crypt32.def : error LNK2001: unresolved external symbol CryptPFXDllMain
>>> crypt32.def : error LNK2001: unresolved external symbol
>>> PFXExportCertStoreEx
>>> crypt32.def : error LNK2001: unresolved external symbol
>>> PFXImportCertStore
>>> crypt32.def : error LNK2001: unresolved external symbol PFXIsPFXBlob
>>> crypt32.def : error LNK2001: unresolved external symbol PFXVerifyPassword
>>>
>>> I've tried to check whole SYSGEN_CRYPTO group in the catalog, but this
>>> only added additional uneresolved symbol errors. So my first question is
>>> how could I fix this problem, but the real question I would like to ask
>>> is how can I find, seeing this kind of error, which SYSGEN am I missing?
>>>
>>>
>>> Thank you for any help,
>>> Jan Kucera
>>>
>>
>
>