miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AccessViolation in Release

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation
View previous topic :: View next topic  
Author Message
dabillus



Joined: 17 Sep 2012
Posts: 1

PostPosted: Mon Sep 17, 2012 3:49 pm    Post subject: AccessViolation in Release Reply with quote

When I compile in 'Release' and try to execute I get AccessViolation error.

Code:
   struct UPNPDev *devices;
   int Returns;
   int validDevices;
   int error=0;
   int ipv6 = 0;
   const char * multicastif = 0;
   const char * minissdpdpath = 0;

AccessViolation--->   devices = upnpDiscover(2000, multicastif, minissdpdpath, 0,ipv6,&error);

In 'Debug' no error.

Edit:
Can Someone upload a working "Release" project for visual studio 2010.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.