Hello,

Have you passed the http-port, http-addr and docroot arguments ? I. e.

hello.exe --docroot . --http-port 8080 --http-addr 0.0.0.0

Not passing them should not through an exception, though

On Fri, May 22, 2009 at 4:48 AM, Bhushan Inamdar <[email protected]> wrote:
> Hi,
>     I am not very good at working with native coding. I have developed a few
> .NET web applications (where in you create a root directory on IIS and put
> all the .htm and .aspx and other business dlls in Inetpub and create a
> virtual directory for hosting) and a few windows applications using Visual
> C++ MFC. I have never created anything with C++ that displays html in
> browser. So I do not know how to work with Witty and Visual C++. I tried to
> run it in debug mode, but I get a first chance exception as under:
>
> First-chance exception at 0x7c812aeb in hello.wt.exe: Microsoft C++
> exception:
> boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::program_options::unknown_option>
>> at memory location 0x011ff16c..
> First-chance exception at 0x7c812aeb in hello.wt.exe: Microsoft C++
> exception: Wt::WServer::Exception at memory location 0x011ff888..
> 'hello.wt.exe': Unloaded 'C:\WINDOWS\system32\winrnr.dll'
> 'hello.wt.exe': Unloaded 'C:\WINDOWS\system32\wldap32.dll'
> The program '[1076] hello.wt.exe: Native' has exited with code 1 (0x1).
>
> And then nothing happens. So please let me know how to deal with this error.
> I do not have IIS. May be that is one of the reasons that I am getting this
> error. But I do have Apache installed on my machine correctly and it
> dsiplays the default page when I type in local host url in the browser. So I
> am clueless. I have heard about attaching to the process option in Visual
> Studio IDE, but do not know much about it.
>
> Please help me out!
>
> Thanks
> Bhushan
>
>
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals.
> Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>



-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to