I have yet to see my posts appear in the archive. However, I will post this
update anyway. Is anybody listening out there?

Problem solved:
My problem was I was misinterpreting the GDB error. It was saying: gdb:
unknown target exception 0xc0000135 which means it can't load the DLL
(thanks Google). So I looked at my path, and, sure enough, there was a
mistake in it. The GDB error should say "unknown exception". I am new to
this and was thinking that "unknown target" meant GDB couldn't recognize the
binary I had generated. But then I started Googling for the 0xc0000135
(which does NOT appear in the winbase.h file in GNUstep).Sam


On Sun, Aug 10, 2008 at 3:12 PM, Samantha Rahn <[EMAIL PROTECTED]>wrote:

> Hello,
>
> I am trying to create:
> 1) a framework with one object in it that has one class method and one C
> function.
> 2) a tool which loads the DLL and invokes the class method and the C
> function.
>
> My code builds, but does not execute properly. GDB says "unknown target
> exception".
>
> Setup:
> OS: Windows 2003 Server
> 1. gnustep-system-0.19.2-setup.exe
> 2. gnustep-core-0.19.2-setup.exe
> 3. SystemPreferences-1.0.2-2-setup.exe (it runs fine)
>
> Environment:
> GNUSTEP_INSTALLATION_DOMAIN=USER
> GNUSTEP_MAKEFILES=/GNUstep/System/Library/Makefiles
> GNUSTEP_SYSTEM_ROOT=C:/GNUstep
>
> Path:
> C:\GNUstep\bin
> C:\GNUstep\local\bin
> C:\GNUstep\mingw\bin
> C:\GNUstep\GNUstep\Local\Tools
> C:\GNUstep\GNUstep\System\Tools
>
> // FILE: MyFrameworkObject.m
> void myroutine( void )
> {
>   printf ("I'm in the routine.\n");
> }
>
> @implementation MyObject
>
> + (void)run
> {
>   NSLog(@"Hello!\n");
> }
>
> @end
> // EOF
>
> // FILE: MyToolMain.m
> int
> main(int argc, const char *argv[])
> {
>   id pool = [[NSAutoreleasePool alloc] init];
>
>    myroutine();       // from framework
>   [MyObject run];     // from framework
>
>   [pool release];
>
>   return 0;
> }
> // EOF
>
> Builds fine.
> Running, I get
> gdb: unknown target exception
>
> Attached are the actual sources and makefiles for the framework and the
> tool.
>
> Thanks so much for any help!
>
> Samantha
>
>
>
>
_______________________________________________
Help-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnustep

Reply via email to