I have tried with the 'C' interface and get exactly the same error.
Any ideas what I'm doing wrong?



-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
Tim Smith
Sent: 24 November 2005 11:42
To: [email protected]
Subject: [mitab] Unhandled exception error on execution


Hi,

I'm new to mitab.

I've compiled the latest version for windows and have created the 
most basic MFC application.

When I click a button, the following code is executed:

TABFile* pTab = new TABFile();
int ret = pTab->Open("dummy.tab", "w");

When executing, the Open command throws an exception. The dialog box 
says
"Unhandled exception at 0x00550573 (ogrinfo.exe) in MitabTest.exe: 
0xC0000005: Access violation writing location 0x00507230."

The callstack is in cpl_error.cpp, in the method CPLErrorReset(). The
error is occuring when trying to execute this line gnCPLLastErrNo =
CPLE_None;

Any ideas why this is happening?
What is ogrinfo.exe? I put it in my project directory when it 
complained it couldn't find it.

Cheers

Tim












 
Yahoo! Groups Links



 



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/mitab/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to