Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-22-2005, 19:34
loman
 
Posts: n/a
Problem compiling IL

Hello, I've read the codex's thread about .net packer and I was trying to decompile a .net dll and recompile it without any success, I get this error
"Could not create output file, error code=0x80070002"

if anyone is skilled in that stuff can please pm me and I pass him the dll
Thanks!
Reply With Quote
  #2  
Old 06-22-2005, 20:33
TQN TQN is offline
VIP
 
Join Date: Apr 2003
Location: Vietnam
Posts: 358
Rept. Given: 143
Rept. Rcvd 24 Times in 13 Posts
Thanks Given: 196
Thanks Rcvd at 168 Times in 51 Posts
TQN Reputation: 24
0x80070002 = File not found.
Can you attach the dll or the .il file ?
Regards,
Reply With Quote
  #3  
Old 06-23-2005, 02:05
loman
 
Posts: n/a
for sure that I can, here's the file!
Attached Files
File Type: rar RedGate.Update.Client.rar (34.9 KB, 9 views)
Reply With Quote
  #4  
Old 06-23-2005, 20:15
TQN TQN is offline
VIP
 
Join Date: Apr 2003
Location: Vietnam
Posts: 358
Rept. Given: 143
Rept. Rcvd 24 Times in 13 Posts
Thanks Given: 196
Thanks Rcvd at 168 Times in 51 Posts
TQN Reputation: 24
No, I don't see any wrong things here. Here is my recompiled dll file with .il file, .res, .resource and build.bat.
Please recheck your .NET SDK and enviroment, PATH variables...
Attached Files
File Type: rar RedGate.Update.Client.rar (55.0 KB, 13 views)
Reply With Quote
  #5  
Old 06-23-2005, 23:33
loman
 
Posts: n/a
can you please tell me which parameter u pass to ildasm and to ilasm? do you also get some strange char.resource file?
Thanks
Bests Regards
loman
Reply With Quote
  #6  
Old 06-24-2005, 08:25
TQN TQN is offline
VIP
 
Join Date: Apr 2003
Location: Vietnam
Posts: 358
Rept. Given: 143
Rept. Rcvd 24 Times in 13 Posts
Thanks Given: 196
Thanks Rcvd at 168 Times in 51 Posts
TQN Reputation: 24
I used ildasm as normally, ildasm /adv your.dll, end choose Dump with default option. The build.bat in attached file show the command line of ilasm.
Reply With Quote
  #7  
Old 06-25-2005, 17:56
loman
 
Posts: n/a
hi, I don't know what's the problem on my OS, but I receive this dumping with default options

Resolving member refs: 507 -> 507 defs, 0 refs
Error: failed to open mgd resource file ''
Error: failed to read expected 3036 bytes from mgd resource file ''
Could not create output file, error code=0x80004005

Here's my command typed in prompt:

C:\Program Files\Red Gate\ANTS Profiler>ilasm /dll /out=test.dll/res=RedGate.Lic
ensing.Client.dll.res RedGate.Licensing.Client.dll.il

Thanks
loman
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.Net native compiling atzplzw General Discussion 8 01-10-2011 15:47
need help on compiling FlexLM v9.2 alastone General Discussion 16 10-26-2005 11:04


All times are GMT +8. The time now is 14:50.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )