Hack Forums
[C#] [Help] "XXX not working" error on Assembly.Load - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C#] [Help] "XXX not working" error on Assembly.Load (/showthread.php?tid=5851262)



[Help] "XXX not working" error on Assembly.Load - Crakxproo - Jun 18, 2018

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


RE: "XXX not working" error on Assembly.Load - Woes - Jun 18, 2018

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


RE: "XXX not working" error on Assembly.Load - Crakxproo - Jun 18, 2018

(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?


RE: "XXX not working" error on Assembly.Load - 0xDEAD10CC - Jun 18, 2018

So your code throws an exception, you don't post the exception, and you want people to spoonfeed you a solution with no context?


RE: "XXX not working" error on Assembly.Load - splunk - Jun 18, 2018

(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


RE: "XXX not working" error on Assembly.Load - GoddessTaliyah - Jun 18, 2018

(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.


RE: "XXX not working" error on Assembly.Load - Vyxn - Jun 18, 2018

Please debug it again and post the error here. We don't have magic ball here. :(


RE: "XXX not working" error on Assembly.Load - Electron - Jun 19, 2018

Check if the passed argument (byte array) is right. I mean if you are really obtaining the bytes.


RE: "XXX not working" error on Assembly.Load - Crakxproo - Jun 19, 2018

(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)Noxious™ 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


RE: [Help] "XXX not working" error on Assembly.Load - 0xDEAD10CC - Jun 19, 2018

(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.


RE: [Help] "XXX not working" error on Assembly.Load - Jaguars - Jun 20, 2018

Debug your program and recheck the parameters


RE: [Help] "XXX not working" error on Assembly.Load - Electron - Jun 21, 2018

Why did you make 2 threads about it? Check my answer here: https://hackforums.net/showthread.php?tid=5851883