PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sat Oct 19, 2019 11:45 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: .NET Instantiation Error
PostPosted: Wed Aug 06, 2014 9:09 am 
Offline
Forum Newbie

Joined: Wed Aug 06, 2014 8:41 am
Posts: 3


Top
 Profile  
 
PostPosted: Thu Aug 07, 2014 6:31 am 
Offline
Moderator
User avatar

Joined: Mon Nov 03, 2003 7:13 pm
Posts: 5978
Location: Odessa, Ukraine
You specified proper version and public key token instead of those XXXXs, did you?


Top
 Profile  
 
PostPosted: Thu Aug 07, 2014 7:52 am 
Offline
Forum Newbie

Joined: Wed Aug 06, 2014 8:41 am
Posts: 3
Yes absolutely I did in no time. This in my scenario was:

Syntax: [ Download ] [ Hide ]
$sample = new DOTNET("NiladriSen, Version=2.3.4.2035, Culture=en, PublicKeyToken=e6a7328c4d7e537b", "NiladriSen.InfoValley.Sample.MyClass");


or

Syntax: [ Download ] [ Hide ]
$sample = new DOTNET("NiladriSen.InfoValley.Sample, Version=2.3.4.2035, Culture=en, PublicKeyToken=e6a7328c4d7e537b", "NiladriSen.InfoValley.Sample.MyClass");


Furthermore, where can I obtain the list of "com_exception" with all the hexadecimal values as: "[CreateInstance] [0x80070002]"?


Top
 Profile  
 
PostPosted: Fri Aug 08, 2014 10:44 am 
Offline
Moderator
User avatar

Joined: Mon Nov 03, 2003 7:13 pm
Posts: 5978
Location: Odessa, Ukraine


Top
 Profile  
 
PostPosted: Fri Aug 08, 2014 10:50 am 
Offline
Moderator
User avatar

Joined: Mon Nov 03, 2003 7:13 pm
Posts: 5978
Location: Odessa, Ukraine
Also see http://blogs.msdn.com/b/yizhang/archive ... 3xxxx.aspx , it deals with .net HRESULTs specifically.


Top
 Profile  
 
PostPosted: Sat Aug 09, 2014 8:47 am 
Offline
Forum Newbie

Joined: Wed Aug 06, 2014 8:41 am
Posts: 3
Thank you Weirdan for such valuable resource you've specified for HRESULT codes. But the glitch I was facing that it generally solved not all purposes which I was intended to gather for C# as in for the code "0x80131522". It might be the whole list of Windows error codes, I didn't know. What exactly I was looking for the HRESULT codes that C# compiler generated during my implementation with PHP. Anyways, thank you once again for your reply.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group