Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Linking error - porting to AC23

Anonymous
Not applicable
Hi.
I can't figure out how to resolve this link. error. I tried to search for InputFromDataFile within API structure but with no luck. Thanks again for your assistance.
Error	LNK2019	unresolved external symbol "short __cdecl InputFromDataFile(int,class GS::UniString const &,class GS::UniString const &,int,int *,class GDLRequestResult &)" (?InputFromDataFile@@YAFHAEBVUniString@GS@@0HPEAHAEAVGDLRequestResult@@@Z) referenced in function GetExportedFuncAddrs	CorocadGDX_23	D:\corocad\corocad	D:\corocad\corocad\GDLDev.lib(ACGDlib.obj)	1	
3 REPLIES 3

Anonymous
Not applicable
Resolved, mistake on my side...

cfranklin
Newcomer
Do you mind expanding on what you did to resolve it? I'm now running into this as well trying to port to 23.

Anonymous
Not applicable
Sure. There is a change in function signatures for 23. The same for OutputToData...
GSErr __GDLEXT_CALL InputFromDataFile(Int32                channel,
                                      const GS::UniString& recordID,
                                      const GS::UniString& fieldID,
                                      Int32                nrvals,
                                      Int32*               nrgotvals,
                                      GDLRequestResult&    values)
vs
GSErr __GDLEXT_CALL InputFromDataFile(Int32                      channel,
                                      const GS::UniString&       recordID,
                                      const GS::UniString&       fieldID,
                                      Int32                      nrvals,
                                      Int32*                     nrgotvals,
                                      GS::Array<GdlValueRecord>& values,
                                      GS::Array<GS::UniString>&  stringvals)

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!