Hi,
My requirement is to read in a TCHAR pointer returned by a c++ dll.
Prototype in c++
__declspec(dllexport) TCHAR * Get_string();
Problem started after upgrading to 2012. Earlier with installshield 2010 the following worked fine.
prototype cdecl POINTER _mydll.Get_string();
POINTER Group;
STRING svGroup;
Group=_mydll.Get_string();
Sprintf(svGroup,"%s",Group);
Later use the svGroup to process further.
But now after upgrade the svGroup is getting garbage values.
How should I handle this?
Thanks in advance
Maddy
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
problem retreiving tchar string from a c++ dll
Started by
techmaddy
, Jun 06 2012 10:53
2 replies to this topic
Posted 06 June 2012 - 13:20
I've not needed to do this, so I would recommend contacting Flexera about such an upgrade issue. Especially since it was working before.
Posted 06 June 2012 - 16:31
I think InstallScript now supports unicode/double byte characters, maybe the problem is related to this.
Stefan Krüger
InstallSite.org twitter facebook