| awsdert (128) | |||||||||
1st the compiler output
2nd I have actually defined these and included them using header code like this
and src code like this
and the xs* stuff is defined like this
For me DLLs are foreign territory so I don't know what I did wrong here, any info / explanation would be helpful | |||||||||
|
|
|||||||||
| kbw (5374) | |
|
That a little more complicated than it needs to be. Do you link against the .lib file in the project that uses the DLL? Does the .lib exist? If it doesn't if may indicate that the DLL isn't exporting anything. You can use depends to check the content of the DLL. | |
|
|
|
| awsdert (128) | |
| Thank you, my problem was that I hadn't linked the generated lib files, as for more complicated than it needs to be, what do you mean? | |
|
|
|
| kbw (5374) | |||||
This
could be this:
| |||||
|
Last edited on
|
|||||
| awsdert (128) | |
| That was intended to go with other operating systems as well otherwise I would have done it the way you mentioned, since I don't know anything about the other systems yet I'm just dealing with MSW first then doing the next OS which will be UNIX then OSX then whatever else I can find | |
|
|
|
| kbw (5374) | |
| Yes, but xsMSW is only defined for Windows by the OS selection block above. So my smaller version is sufficient. | |
|
|
|
| awsdert (128) | |
|
I understand what you're saying and I agree however the reason I left it like that is so I could add in the other operating systems quickly and since it's only a few more cycles spent on compiling it's not a big deal. If all my code was like that then I really would give it a re-think but the way I'm designing it so that will be pretty much the only instance of that style of coding. Edit: if you happen to know a general reference for OS specific libraries then I would apprieciate a link. | |
|
Last edited on
|
|