IT-Consultant: James C. Fuller > Discussion

TCLib update for Patrice

<< < (2/8) > >>

James C. Fuller:
Patrice,
  Try to make another standard Visual studio project like the one you posted without including  mfapi.h and shlwapi.h, instead add the prototypes of the functions used in the source. I forgot to add tan (DUH) to TCLib so that will fail until I update and post a new TCLib.
Also there are a couple of calls in IsFileImage that are not supported (yet):
_wsplitpath_s
wcsncat_s
wcsstr

James


Patrice Terrier:
rand, and srand are causing me havoc
--> redefinition, previous definition was 'function'.

James C. Fuller:
Patrice,
  Yeah that is one of the issues you have to be aware of. One of your includes is also including the sdk <stdlib.h>
It's going to take a bit more planning on your part on managing #include files and prototypes.
What I would suggest if/when you decide to continue is to create tour own versions of includes you need and put them in the TCLib folder.
I have a mixed version (bc9/c++) of your dll compiled but don't quite know what to do with it to test?
It comes in at 12k.

James

Patrice Terrier:
I don't know how to resolve these 3 link errors (see the attached screen shot)

...

James C. Fuller:
Patrice,
  I updated the library and it should help.
Attached is the new library and includes along with my version of your dll.
To compile: TBLIBDLL.BAT LB01

James

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version