Need help with C# Dll and C++ menu

User Tag List

Results 1 to 11 of 11
  1. #1
    hamburger12's Avatar Contributor CoreCoins Purchaser
    Reputation
    87
    Join Date
    Jan 2010
    Posts
    297
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help with C# Dll and C++

    Hello everyone. Some of you know that i develope an Gatherbot. Now i will ad an new system for walking and Navigation. My prob is that my bot is complett written in c++ and i don't know how to include an C# dll. Does anyone know how to do it? It would be verry nice and it would be my bot much better! Thanks for reading.

    Need help with C# Dll and C++
  2. #2
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh sweet jesus...

  3. #3
    XTZGZoReX's Avatar Active Member
    Reputation
    32
    Join Date
    Apr 2008
    Posts
    173
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh sweet jesus...
    Hosting the CLR is hard, you know!

    *Hint, hint*

  4. #4
    Kryso's Avatar Active Member
    Reputation
    40
    Join Date
    Jul 2009
    Posts
    97
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    mycpp.dll + mycsharp.dll

    ->

    winzip

    ->

    mybot.zip

    ->

    rename to mybot.dll

    ->

    inject as your current cpp dll

    ->

    win

  5. #5
    hamburger12's Avatar Contributor CoreCoins Purchaser
    Reputation
    87
    Join Date
    Jan 2010
    Posts
    297
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What ?? I don't want to inject anything i just wan't to call a funktion!

  6. #6
    Bananenbrot's Avatar Contributor
    Reputation
    153
    Join Date
    Nov 2009
    Posts
    384
    Thanks G/R
    1/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How about rewriting the function yourself in c++?
    Honestly, try learning C# and read some guides around here or stick to c++ and learn that... everything only waits for being read by you :P
    Especially moving and stuff that has to be done beforehand (memory reading class, objectmanager (which is really optional for a gatherbot I think), input handling class) aren't that hard to implement and there are various threads about it.

  7. #7
    Mr.Zunz's Avatar Contributor
    Reputation
    92
    Join Date
    Mar 2007
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1. Open your C# dll in notepad.
    2. Open your App.exe in notepad.
    3. Paste all the code you see from your C# DLL into your app.exe.
    4. Save file.
    5. Profit?


  8. #8
    hamburger12's Avatar Contributor CoreCoins Purchaser
    Reputation
    87
    Join Date
    Jan 2010
    Posts
    297
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    o.O the Bot is already finished and Released (Farmcrawler Gatherbot) If i would re write Ppather from C# to c++ i would need much time! You don't understand my prob. Its all done the only thing whats left is that want to use Ppather in my C++ App.

  9. #9
    Mr.Zunz's Avatar Contributor
    Reputation
    92
    Join Date
    Mar 2007
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by hamburger12 View Post
    o.O the Bot is already finished and Released (Farmcrawler Gatherbot) If i would re write Ppather from C# to c++ i would need much time! You don't understand my prob. Its all done the only thing whats left is that want to use Ppather in my C++ App.
    Originally Posted by hamburger12 View Post
    My prob is that my bot is complett written in c++ and i don't know how to include an C# dll. Does anyone know how to do it?
    PPather doesn't compile in a dll for me, might need to build as a class library but then again I have no idea if that works properly... and indeed, I still dont really get it...


  10. #10
    suicidity's Avatar Contributor
    Reputation
    207
    Join Date
    Oct 2006
    Posts
    1,439
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This thread is full of win.


  11. #11
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Edit: Second thread where I have to resort to using a picture.

    In truth, his question isn't all THAT stupid, so: http://msdn.microsoft.com/en-us/library/ms164408.aspx
    Last edited by Robske; 05-18-2010 at 08:26 PM.
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

Similar Threads

  1. [Client] Need help with Beta client and server.
    By rhoadsofrock in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 06-02-2011, 05:58 AM
  2. Need help with Character -> Creature and Weapon swaps
    By maxyboy in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 10-14-2010, 02:49 AM
  3. Need help with HotSpot Shield and WoW
    By d0z3r123 in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 06-25-2010, 12:11 AM
  4. [Misc] Need help with HotSpot Shield and WoW
    By d0z3r123 in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 06-21-2010, 03:41 PM
  5. Need help with instant 70, and GM Tickets
    By roflstomp15 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 03-16-2008, 01:12 PM
All times are GMT -5. The time now is 10:37 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search