News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Is that possible to invoke WPF (mscorlib.dll) functions in my MASM program?

Started by enzechen, August 03, 2015, 09:30:17 PM

Previous topic - Next topic

enzechen

I read one of the WPF for VB.net book. It says although most of the WPF function is managed code, the "mscorlib.dll" is not managed code.
Then I wondered is it possible to call functions in "mscorlib.dll" to indirectly call wrapped DirectX raw api?

Thanks.

enzechen

I checked the include and lib folder: there is no mscorlib...related header and static libarary.....Does that mean the saying from the book is incorrect?

K_F

I'm looking at connecting to managed code via normal stuff, but this is a side project which I'll do later.

The mscorlib is a COM object interface manager to and from managed code.
You have to use COM to get to the functions, which requires knowing your function GUIDs

This is as far as I've got.. I heard it can be quite messy.
:)
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

Vortex

Hi enzechen,

You could check the Mono Project :

http://masm32.com/board/index.php?topic=3858.0

Gunther

Hi enzechen,

it's not easy, but the proposal of Vortex seems a possibility. You can download the latest release and documentation here. But take care, the resulting applications are fairly large.

Gunther
You have to know the facts before you can distort them.