GTKmm and VS2005 problem



Hello there, =)


looking into the GTKmm API I thought "nice" - so I tried it 
out. Now I got the following problem:
Programs compile, but they don't want to run!
(See below for in-depth debugging...)

I use Visual Studio 2005 (Professional) on XP SP2.

I installed those two in that order:

gtk-dev-2.10.11-win32-1.exe
gtkmm-win32-devel-2.10.8-1.exe

First question:
===============
Could it be that the versions are supposed to be ABSOLUTELY 
identical? If so, up to which digit?!? (For instance the 
latest gtkmm is "gtkmm-win32-devel-2.10.8-1.exe", but there 
was no gtk-dev-2.8 - only 2.7)?

Second question:
================
While installing GTK+ displayed a dialog for it to be 
"integrated" in some common programming environments.
It also had MSVC on the list, but everything was grayed 
out...
What benefits would I have had (I only intended to use GTKmm 
anyhow) if it had integrated itself into MSVC?


Now to the "doesn't want to run at all" problem:
================================================
The applications display an error message like this when 
being started:

"Die Anwendung konnte nicht richtig initialisiert werden 
(0xc0150002)..."

which translates into:
"The application could not be initialized properly 
(0xc0150002)..."


"The application" being the following bit of code compiling 
nicely:


#include <gtkmm.h>

int main( int argc, char *argv[] ) {
    Gtk::Main kit( argc, argv );
    Gtk::Window window;
    Gtk::Main::run( window );
    return 0;
}


I added the gtkmm-2.4d.vsprops and gtkmm-2.4.vsprops as 
requested of course. Here is the debugger output:


debug (gtkmm-2.4d.vsprops):
===========================
Create Process @00411122
Loading DLL: C:\WINDOWS\system32\ntdll.dll  @ 7C910000
Loading DLL: C:\WINDOWS\system32\kernel32.dll  @ 7C800000
Loading DLL: C:\WINDOWS\system32\nview.dll  @ 10000000
Output debug string: LDR: LdrpWalkImportDescriptor() failed 
to probe C:\PROGRA~1\GEMEIN~1\GTK\2.0\bin\gtkmm-2.4d.dll for 
its manifest, ntstatus 0xc0150002


release (with gtkmm-2.4.vsprops):
=================================
Create Process @0040145B
Loading DLL: C:\WINDOWS\system32\ntdll.dll  @ 7C910000
Loading DLL: C:\WINDOWS\system32\kernel32.dll  @ 7C800000
Loading DLL: C:\WINDOWS\system32\nview.dll  @ 10000000
Output debug string: LDR: LdrpWalkImportDescriptor() failed 
to probe C:\PROGRA~1\GEMEIN~1\GTK\2.0\bin\gtkmm-2.4.dll for 
its manifest, ntstatus 0xc0150002


and for a contrast the WORKING GTKmm DEMO (which I didn't 
compile of course):
=========================================================
Create Process @004012A0
Loading DLL: C:\WINDOWS\system32\ntdll.dll  @ 7C910000
Loading DLL: C:\WINDOWS\system32\kernel32.dll  @ 7C800000
Loading DLL: libgdkmm-2.4-1.dll  @ 6A140000
Loading DLL: libpangomm-1.4-1.dll  @ 6EAC0000
Loading DLL: libglib-2.0-0.dll  @ 685C0000
Loading DLL: C:\WINDOWS\system32\nview.dll  @ 10000000
Loading DLL: iconv.dll  @ 00530000
Loading DLL: C:\WINDOWS\system32\msvcrt.dll  @ 77BE0000
Loading DLL: C:\WINDOWS\system32\advapi32.dll  @ 77DA0000
Loading DLL: C:\WINDOWS\system32\RPCRT4.dll  @ 77E50000
Loading DLL: C:\WINDOWS\system32\ole32.dll  @ 774B0000
Loading DLL: C:\WINDOWS\system32\GDI32.dll  @ 77EF0000
Loading DLL: C:\WINDOWS\system32\user32.dll  @ 77D10000
Loading DLL: C:\WINDOWS\system32\SHELL32.dll  @ 7C9D0000
Loading DLL: C:\WINDOWS\system32\SHLWAPI.dll  @ 77F40000
Loading DLL: C:\WINDOWS\system32\WS2_32.dll  @ 71A10000
Loading DLL: C:\WINDOWS\system32\WS2HELP.dll  @ 71A00000
Loading DLL: libgobject-2.0-0.dll  @ 63A40000
Loading DLL: libpango-1.0-0.dll  @ 65580000
Loading DLL: libgmodule-2.0-0.dll  @ 6DD00000
Loading DLL: libpangocairo-1.0-0.dll  @ 6D4C0000
Loading DLL: libcairo-2.dll  @ 68DC0000
Loading DLL: libfontconfig-1.dll  @ 64F80000
Loading DLL: libfreetype-6.dll  @ 00610000
Loading DLL: zlib1.dll  @ 003D0000
Loading DLL: libxml2.dll  @ 63500000
Loading DLL: libpng12.dll  @ 6CC40000
Loading DLL: libpangoft2-1.0-0.dll  @ 6D700000
Loading DLL: libpangowin32-1.0-0.dll  @ 6B280000
Loading DLL: libcairomm-1.0-1.dll  @ 62140000
Loading DLL: libglibmm-2.4-1.dll  @ 664C0000
Loading DLL: libsigc-2.0-0.dll  @ 00690000
Loading DLL: libgdk-win32-2.0-0.dll  @ 6C340000
Loading DLL: libgdk_pixbuf-2.0-0.dll  @ 65340000
Loading DLL: C:\WINDOWS\system32\IMM32.DLL  @ 76330000
Loading DLL: libgtk-win32-2.0-0.dll  @ 61780000
Loading DLL: libatk-1.0-0.dll  @ 62940000
Loading DLL: COMCTL32.dll  @ 5D450000
Loading DLL: C:\WINDOWS\system32\comdlg32.dll  @ 76350000
Loading DLL: C:\WINDOWS\system32\winspool.drv  @ 72F70000
Loading DLL: libgtkmm-2.4-1.dll  @ 00720000
Loading DLL: libatkmm-1.6-1.dll  @ 01480000
Loading DLL: C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-
Controls_6595b64144ccf1df_6.0.2600.2180_x-
ww_a84f1ff9\comctl32.dll  @ 773A0000


Any idea what went wrong (I hope it's not the version 
thing)?


Regards,
                              LC (myLC gmx de)


-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]