Interfacing Vba And Gcc Libraries

virgilz

Registered
Hi,

How can one call a gcc function from Excel VBA?
Please provide an example if possible.

Thank you,

Virgil
 

virgilz

Registered
eldiabloconcaca:)
"gcc function" is short for "gcc compiled function"
under win32 you can call from vba under excel a function from a dll
(compiled with gcc). i was not able to reproduce that in mac os x.
it seems mac os x excel is a pef binary and i am not sure if a
link between a pef binary and gcc object (mach-o) can be done or how.
any opinions?

virgil
 

ElDiabloConCaca

U.S.D.A. Prime
Ah, gotcha...

No, I don't think this is possible as the VBA scripting abilities of Excel are greatly hampered compared to Windows (since VBA is a Microsoft-owned language).

Then again, my experience is limited to writing my own applications in lower-level languages than VBA, so I don't know much about VBA interfacing with mach-o binaries/objects.

Perhaps there are others here who can help... I can also recommend http://www.codeguru.com/forum for more specific programming help.
 
Top