Forums
This topic is locked
C-Level extensibility tutorial
Posted 31 Aug 2001 21:38:07
1
has voted
31 Aug 2001 21:38:07 Bruno Mairlot posted:
Does anybody knows where I could find a tutorial for the first-time about C-Level extensibility ?And, is it possible to do it with Free C Compiler (like Borland C++ 5.5 Free Edition ?)
Thanks
"First they laugh at you, then they fight you, then you Win..." Ghandi
Replies
Replied 01 Sep 2001 13:23:32
01 Sep 2001 13:23:32 Waldo Smeets replied:
All I know is that Public Domain has released some sort of template for C-extensions. I think it is at our extensions section.
Waldo Smeets - www.UDzone.com Webmaster
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Waldo Smeets - www.UDzone.com Webmaster
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 01 Sep 2001 13:32:42
01 Sep 2001 13:32:42 Bruno Mairlot replied:
Yes, I've downloaded it.
But it seems to work with MS Visual Studio. (which I don't own)
And the only download available, seems to be not very useful; (VSA SDK)
But I have Borland C++ 5.5, which should be able to produce DLL. I have followed the guidelines from Macromedia Help about C extensibility, but I can't register my library as a ojbect within the JavaScript interpreter.
I have the JS_DefineFunction code that defines my test function, and I have compiled everything into a dll.
The name of the DLL will the be the name of the new object, won't it ?
I'm a little stuck here, and don't know what to do.
"First they laugh at you, then they fight you, then you Win..." Ghandi
But it seems to work with MS Visual Studio. (which I don't own)
And the only download available, seems to be not very useful; (VSA SDK)
But I have Borland C++ 5.5, which should be able to produce DLL. I have followed the guidelines from Macromedia Help about C extensibility, but I can't register my library as a ojbect within the JavaScript interpreter.
I have the JS_DefineFunction code that defines my test function, and I have compiled everything into a dll.
The name of the DLL will the be the name of the new object, won't it ?
I'm a little stuck here, and don't know what to do.
"First they laugh at you, then they fight you, then you Win..." Ghandi