|
||||
AW: AW: [Shapelib] DLL -> access violationshapelib@lists.maptools.org shapelib@lists.maptools.orgTue, 2 Mar 2004 22:29:00 +0100
|
:) This i try too. But than i get other compiler errors. If i only include, the compiler say, he reach the EOF while searching directive precompiled header file (translate word by word), normal this mean that he want #include "stdafx.h" (hmm or have i disable the using of precompiled headers????) If i include his file, he say: Debug/test.pch' isnt a precompiled Header-File, who is create whit this compiler And if i look in MSDN, its because using c files. And i have to recompile (create all new), but this change nothing. Sorry for asking so much im a study in learning (and english too ) mfg Michael -----Ursprungliche Nachricht----- Von: shapelib-admin@lists.maptools.org [mailto:shapelib-admin@lists.maptools.org] Gesendet: Dienstag, 2. Marz 2004 21:59 An: shapelib@lists.maptools.org Betreff: Re: AW: [Shapelib] DLL -> access violation shapelib-admin@lists.maptools.org wrote: > I use VC++6.0. Make minimal project (dialog). (add the > shapefil.h,shapelib.lib and shapelib.dll in the working directory > Only add 3 things, > 1.Include in stdafx.h > 2.Linker: use shapelib.lib > 3.Dialogclass: SHPHandle file = SHPOpen("michael_lines.shp","rb"); Michael, Instead of adding shapelib.lib to your project, try just adding the shpopen.c and dbfopen.c source files into your project. Also, bring the shapefil.h include file. My guess would be that you are using different build options than were used for the shapelib.lib static library. Best regards, -- ---------------------------------------+------------------------------------ -- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent _______________________________________________ Shapelib mailing list Shapelib@lists.maptools.org http://lists.maptools.org/mailman/listinfo/shapelib
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |