Forex
Google

Go Back   Forex Trading > Downloads > Tools and utilities
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 01-10-2007, 01:50 PM
dwmcqueen dwmcqueen is offline
Member
 
Join Date: Dec 2006
Posts: 72
dwmcqueen is on a distinguished road
I've posted some questions to the MinGW mailing list - so we will see if there is a way there to do this.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 01-20-2007, 06:41 AM
thebts thebts is offline
Junior Member
 
Join Date: Jul 2006
Posts: 5
thebts is on a distinguished road
You could create a wrapper.
In visual studio Build a win32 dll in c++ that calls your managed code.

You would need follow these rough steps in the c++ wrapper:

1) to get a pointer to the runtime host calling CorBindToRuntimeEx().
2) then call start on it
3) retrieve the app domain from the host with GetDefaultDomain()
4) Create an instance of the assembly you want to call with CreateInstance() on the app domain
5)Create your dispatch interface
6) call invoke on the dispatch object
7) stop the runtime host

I am not sure if this is the most efficient way, but it will work.

Quote:
Originally Posted by bwilhite
I tried adding the .def file to the .dll and that didn't work. I've only tried this in Visual Studio so far. I haven't tried it with mingw yet. I'd really like to be able to cross the managed code to unamanaged code boundary, though.

BW
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 03-29-2008, 12:00 PM
Magick Magick is offline
Junior Member
 
Join Date: Mar 2007
Posts: 6
Magick is on a distinguished road
Hi all

I am only a novice .net dev but would this help - Simplified Wrapper and Interface Generator
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy Language Tutorial! codersguru Metatrader 4 mql 4 - Development course 19 03-18-2008 09:31 PM
CATFX50 tutorial , help us dellan CatFx50 20 06-12-2007 10:38 AM
mql4 tutorial - Where is Lesson 1, etc.? ftsdPadawan Metatrader 4 mql 4 - Development course 2 01-15-2007 08:36 PM
Forex Data 2001 --> 2005 - TF =1 min, 15 min, Daily....Various Pairs..... De Vinci Tools and utilities 1 05-01-2006 09:31 AM


All times are GMT. The time now is 07:41 AM.