Author Topic: Undocumented Features  (Read 4403 times)

0 Members and 1 Guest are viewing this topic.

Offline blackhole

  • Still not over the rainbow
  • 29
  • Destiny can suck it
    • Black Sphere Studios
Undocumented features are so nice. Like this little one in Raknet where ALMOST NOTHING F*CKING WORKS IF YOU COMPILE IT AS A DLL

*screams in rage*

I would really appreciate it if they actually mentioned this somewhere instead of making you believe that you can use more then the bare-bones functionality in the DLL.

 
In what way doesn't it work?, and it sounds like there's been a mistake in linking.
STRONGTEA. Why can't the x86 be sane?

 

Offline blackhole

  • Still not over the rainbow
  • 29
  • Destiny can suck it
    • Black Sphere Studios
well what happens is that it's been exported with __declspec(dllexport) but not imported with __declspec(dllimport), which means you can't create any of the classes inside your DLL or it'll explode when you try to delete them. Hence you have to use the built in factory class to build and destroy the classes for you. Said factory only actually lets you build/create about 15 classes, so if you use any other class, your f*cked >C

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
or you can let yourself have a memory leak, or do something really crazy like manual memory management.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline blackhole

  • Still not over the rainbow
  • 29
  • Destiny can suck it
    • Black Sphere Studios
or you can let yourself have a memory leak, or do something really crazy like manual memory management.

I'm not sure if even that would work, because it would likely choke up when you manually invoked the constructor/destructor.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
only one way to find out.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline blackhole

  • Still not over the rainbow
  • 29
  • Destiny can suck it
    • Black Sphere Studios
only one way to find out.

Or I could just use the static lib.

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Make a dll out of the lib?

 

Offline blackhole

  • Still not over the rainbow
  • 29
  • Destiny can suck it
    • Black Sphere Studios
Make a dll out of the lib?

I could switch over the code to __declspec(dllimport), which would take something like 2 hours.

...or I could just use the static lib. :p

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
oh, your no fun at all
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

  

Offline blackhole

  • Still not over the rainbow
  • 29
  • Destiny can suck it
    • Black Sphere Studios