Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

[Help] "XXX not working" error on Assembly.Load

Code
Assembly.Load((byte[])ResourceManager("Test", Assembly.GetExecutingAssembly()).GetObject("TestObject"));

When i compile a stub, it returns a error box showing "XXX not working" and "reporting to microsoft" error

Or could someone give me template code

https imgur.com a inj8VJY

is the error
I thought this thread was just a bad joke about XXXTentacion's death.

[Image: 9Y60Xjq.png]
(Jun 18, 2018 04:51 PM)Woes Wrote:  I thought this thread was just a bad joke about XXXTentacion's death.

Whos that?

What 'bout him?
So your code throws an exception, you don't post the exception, and you want people to spoonfeed you a solution with no context?
Getting Started: C/C++
[C/C++/.NET/x86 ASM - Automation Programmer]
(Jun 18, 2018 04:51 PM)Woes Wrote:  I thought this thread was just a bad joke about XXXTentacion's death.

haha bro I thought the same thing
[Image: nyUnJk4.png]
(Jun 18, 2018 04:51 PM)Woes Wrote:  I thought this thread was just a bad joke about XXXTentacion's death.

LMAO so did i holy shit.
Please debug it again and post the error here. We don't have magic ball here. :(
[Image: signaturetwo.png]
Check if the passed argument (byte array) is right. I mean if you are really obtaining the bytes.
(Jun 18, 2018 05:10 PM)0xDEAD10CC Wrote:  So your code throws an exception, you don't post the exception, and you want people to spoonfeed you a solution with no context?
Debugged it, didn't show errors

(Jun 19, 2018 05:22 AM)Electron Wrote:  Check if the passed argument (byte array) is right. I mean if you are really obtaining the bytes.

don't know why but that new object[1] fixes TargetParameterCountException i'd get
(Jun 19, 2018 05:45 AM)Crakxproo Wrote:  Debugged it, didn't show errors


don't know why but that new object[1] fixes TargetParameterCountException i'd get

Don't these two statements contradict what I was asking for?...

The parameter count is determined by the array length and needs to match the invocation.. Sounds like this project is over your head.
Getting Started: C/C++
[C/C++/.NET/x86 ASM - Automation Programmer]
Debug your program and recheck the parameters
Why did you make 2 threads about it? Check my answer here: https://hackforums.net/showthread.php?tid=5851883


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by HardStoNNov 12, 2020 04:02 PM 5 215 Nov 12, 2020 04:02 PM
Last Post: HardStoN
[C#] by gigajewJul 26, 2018 07:38 PM 10 802 Jul 26, 2018 07:38 PM
Last Post: techcrunch
[C#] by RickHTWDec 30, 2017 05:57 PM 5 396 Dec 30, 2017 05:57 PM
Last Post: RickHTW