FWIW, we got ti to stop blowing up.   The native function was returning a
string, and we tried a bunch of different variants, but when we changed to
Halloc the memory for the string, it stopped crashing.   Note, this pInvoke
call worked fine in any other instance in any configuration.

Not really sure why it would work compared to any other method, but there
you go.

Chris

On Tue, Mar 10, 2009 at 3:06 PM, Christopher Karper <
christopher.kar...@gmail.com> wrote:

> I'm actually carrying around the native file as an embedded resource in my
> managed .dll.   It deploys it during it's static constructor if needed.
>
> The file is deploying as expected, and depends shows that everything it
> needs is there.   The dll loads, and the function is called and executes...
>
> Then, somewhere between the end of the native function, and the return to
> managed code, it blows up rundll32.exe
> Not really even sure where to go next to gather more info.
>
> Chris
>
>
> On Tue, Mar 10, 2009 at 2:41 PM, Richard <legal...@xmission.com> wrote:
>
>>
>> In article <b63998890903101103u266c965fmcd2c6648c85a5...@mail.gmail.com>,
>>     Christopher Karper <christopher.kar...@gmail.com>  writes:
>>
>> > I have a CA written in C#, which is pInvoking a native dll that I'm
>> > supplying.  This doesn't work in an installer when I'm actually
>> installing.
>>
>> If your CA has a dependency on a file that's installed, then you have
>> to schedule the CA after the file is installed, or the dependency
>> won't be present.
>>
>> Have you done that?
>> --
>> "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
>>      
>> <http://www.xmission.com/~legalize/book/download/index.html<http://www.xmission.com/%7Elegalize/book/download/index.html>
>> >
>>
>>        Legalize Adulthood! <http://blogs.xmission.com/legalize/>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>
>
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to