I always get an exception when running any casablance metro-style sample app or my own app
-
Sonntag, 19. August 2012 20:07
Hi,
I am trying to use casablanca in my metro-style app in some of the samples that you provide, but I get this kind of exception at the startup:
First-chance exception at 0x7744B2D8 (ntdll.dll) in HttpClientSample.exe: 0xC0000139: Entry Point Not Found.
The thread 0x1b40 has exited with code -1073741511 (0xc0000139).
The program '[1152] HttpClientSample.exe' has exited with code -1073741511 (0xc0000139) 'Entry Point Not Found'.
Activation of the Windows Store app 'Microsoft.SDKSamples.HttpClientSample.CPP_8wekyb3d8bbwe!HttpClientSample.App' failed with error 'L’application n’a pas démarré'.
Do you have an idea about the problem?
Thanks
Pascal
Alle Antworten
-
Dienstag, 21. August 2012 14:08Besitzer
Pascal,
Which version of Windows 8 (CP, RP, etc.) are you using, and which version of Visual Studio 2012 are you using? The bits on DevLabs were built for Windows 8 RP and VS 2012 RC; there may be a version difference if, for example, you are using the latest VS bits from MSDN. We are working on a refresh of Casablanca, but we are not ready yet.
Niklas
-
Dienstag, 21. August 2012 22:13
Hi,
I have installed W8 RTM just a few days ago, with my MSDN subscribption.
I use a French version of W8 and I use US version of Visual Studio 2012 RTM.
My intent was to write, as an exercice, some wrapper ref classes on top of casablanca to expose casablanca to other metro languages like C#.
But no pb, I can wait for your next refresh pack, and focus on using Casablanca inside a desktop app instead of a metro app.
By the way, this should probably be another question in the forum, but: do you have an advice on which tool to use for sniffing/analysing the http requests/responses sent/received via casablanca? I tried using Fiddler, but I don't see your traffic with it. (I suspect that Fiddler cannot catch your feed because it works as a proxy, something like that... Please forgive me, my knowledge about networking principles is... limited :-))
-
Mittwoch, 22. August 2012 14:24Besitzer
Hmm, that's strange, we used Fiddler to test our, but never from a WinRT app. Do you see the traffic with Fiddler when you use it from a desktop app?
Niklas
-
Mittwoch, 22. August 2012 20:41
I had some problems with Fiddler when I was using W8CP + VC11CP a few months ago.
At this time, I was using W8CP inside a VM, and I was testing casablanca with a desktop app project.
I will re-check with my fresh new W8.
By the way, it seems that my problem with metro apps happens also with desktop apps.
I get this message at the startup of my test Console program:
---------------------------
CasaTest.exe - Point d’entrée introuvable
---------------------------
Le point d’entrée de procédure ?_Init@locale@std@@CAPAV_Locimp@12@XZ est introuvable dans la bibliothèque de liens dynamiques F:\DEV\TestVS2012\Debug\casablanca110.dll.
---------------------------
OK
---------------------------
I verified with Depenceny Walker and could not find this function in your dll.
Eventually, I don't understand why the dll loader searches for a function std::locale::_Init inside your dll.
Do you have some global object that calls this function in your heade file http_client.h? (when I do not include this file, I don't have the start-up error anymore)
-
Montag, 27. August 2012 14:49Besitzer
Sorry for the delay in responding.
I believe that you are seeing these problems because you are using VS RTM, while the available Casablanca bits are built against the release candidate build of VS, which was released in June. We are currently working on a refresh of the bits for RTM.
Niklas
- Als Antwort markiert Niklas GustafssonOwner Mittwoch, 29. August 2012 14:06
-
Montag, 27. August 2012 19:04
OK. No pb. I will wait for the next refresh for VS 2012.
Thanks for your work. Keep improving it :-)
In the meantime, I will do some testing in VS 2010.
Casablanca is a really interesting piece of C++11ish code. -
Montag, 24. September 2012 15:56Besitzer
The links on the site have now been updated to point to the new, refreshed, bits. To verify that you are not getting something from a file cache, you can verify the date of the digital signature of the MSIs. It should be stamped Saturday, September 22.
The DevLabs site will continue to refer to Windows 8 Release Preview and VS 2012 RC for a little while -- please disregard this and note instead that this refresh requires the final, release versions of both Windows 8 (for App Store development) and Visual Studio.
The links to the MSIs for Visual Studio 2012 Express are not yet available, but will be when we update the DevLabs site later today. At that time, we will post a note here and also on the VC++ blog.
Thanks,
Niklas

