All- I spent some time yesterday downloading and experimenting with the Bloodshed Dev C++ compiler to create Windows external libraries and came up with this:
Yes, it can be done. There are a couple of undocumented options you need to set in order to do this. The Bloodshed help file seems fairly useless (where have I heard this before?) but perusing the online gcc documentation with Google gave better, if painstaking, results for the command-line options. There may be #pragmas for some of these things but I haven't found them. Include your source file and XCmdGlue.c. Under Project | Project Options select the "Parameters" tab. Then in the Linker window you will want to have just these two options: -fno-leading-underscore -def myDLL.def <or whatever the name of your def file is> The contents of myDLL.def should be: LIBRARY external EXPORTS getXtable Hope this helps someone. -- -Mark Wieder [EMAIL PROTECTED] _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution