November 25, 2005
Walter Bright wrote:
> "clayasaurus" <clayasaurus@gmail.com> wrote in message
> news:dm6epb$2lfa$1@digitaldaemon.com...
> 
>>nevermind I've managed to get it down to just
>>
>>Error 42: Symbol Undefined ?_beginthreadex@@YAKPAXIP6GI0@Z0IPAI@Z
>>(unsigned long cdecl _beginthreadex(void *,unsigned ,unsigned stdcall
>>(*)(void *),void *,unsigned ,unsigned *))
>>objs\StringCompressor.obj(StringCompressor)
> 
> 
> _beginthreadex is declared in \dm\include\process.h. But it's supposed to
> have C linkage, not C++ linkage as your reference is looking for.
> 
> 

Thanks, that was it. I had to declare _beginthreadex explicitly since for some reason it wasn't being pulled from process.h, so I just added extern "C" linkage and it works.

So, now finally, after thousands of errors, I got raknet to compile under DMC and have D sucessfully link to it!

For the minimum testing I've done so far, the networking works with the windows machine talking to itself. I'm going to clean things up a bit and do some more testing.

Thanks for your help Walter and John! I couldn't have pulled it off without any help.

I'll have the changes up on the bindings project shortly.

~ Clay
November 25, 2005
clayasaurus wrote:

> Thanks, that was it. I had to declare _beginthreadex explicitly since for some reason it wasn't being pulled from process.h, so I just added extern "C" linkage and it works.
> 
> So, now finally, after thousands of errors, I got raknet to compile under DMC and have D sucessfully link to it!
> 
> For the minimum testing I've done so far, the networking works with the windows machine talking to itself. I'm going to clean things up a bit and do some more testing.
> 
> Thanks for your help Walter and John! I couldn't have pulled it off without any help.
> 
> I'll have the changes up on the bindings project shortly.
> 
> ~ Clay

Bravo!  Good work!  I'm glad you persisted.  You were rewarded with success in the end.

-JJR
November 25, 2005
"clayasaurus" <clayasaurus@gmail.com> wrote in message news:dm7kdb$14jr$1@digitaldaemon.com...
> So, now finally, after thousands of errors, I got raknet to compile under DMC and have D sucessfully link to it!
>
> For the minimum testing I've done so far, the networking works with the windows machine talking to itself. I'm going to clean things up a bit and do some more testing.
>
> Thanks for your help Walter and John! I couldn't have pulled it off without any help.
>
> I'll have the changes up on the bindings project shortly.

Great! Thank-you.


1 2 3
Next ›   Last »