471,306 Members | 1,237 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,306 software developers and data experts.

CreateFromInstance fails

Hi all,
The following call
hr = appDomain->CreateInstanceFrom_3(
assembly,type,

VARIANT_TRUE,BindingFlags_Default,NULL,args,NULL,
NULL,NULL,&objectHandle);
is fails on some machines we are developing on. This is our first
foray into .NET and we are unsure on how to proceed to determine why
the call is failing.
The code is from here
http://luaforge.net/frs/?group_id=50&release_id=285
Any pointers on how to determine why this is failing would be greatly
appreciated.
Thanks,
Mike

Jan 17 '06 #1
1 1438
is fails on some machines we are developing on.


What's the value of hr after the call?
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Jan 17 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by kenneth fleckenstein nielsen | last post: by
2 posts views Thread by Richard Hsu | last post: by
2 posts views Thread by =?Utf-8?B?YWxiZXJ0b3Nvcmlh?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.