This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Where does it put the bitmap?


Where does it put the bitmap?

Postby UMCP_matt » Jun 28, 2002 @ 7:02am

UMCP_matt
 


Postby Marco » Jun 28, 2002 @ 10:52am

Marco
 


Postby R0B » Jun 28, 2002 @ 12:21pm

"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Postby Dan East » Jun 28, 2002 @ 2:56pm

The easiest way to handle this is to make all your paths relative to the location of the main program EXE. That way you aren't hardcoding your paths (which is bad for many reasons - Storage Card installs, non-english devices, etc). You can use GetModuleFileName to get the path and filename of the current running exe. Extract the path, and slap it on the beginning of all the files you need to load.

Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


resrouces

Postby UMCP_matt » Jun 28, 2002 @ 6:39pm

UMCP_matt
 


Postby James S » Jun 28, 2002 @ 7:12pm

<img src="http://home.comcast.net/~sonne/james/tag.gif">
James S
pm Insider
 
Posts: 17064
Joined: Jan 12, 2002 @ 2:33pm
Location: Lexington, KY


Postby Digby » Jun 28, 2002 @ 7:58pm

Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


ok

Postby UMCP_matt » Jun 28, 2002 @ 8:35pm

UMCP_matt
 


trying to just write a file

Postby UMCP_matt » Jun 28, 2002 @ 9:03pm

UMCP_matt
 


Postby Dan East » Jun 28, 2002 @ 10:24pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


ok.. i got it

Postby UMCP_matt » Jun 28, 2002 @ 10:53pm

UMCP_matt
 


Postby Dan East » Jun 29, 2002 @ 1:46am

That's just the debugger asking for a local, debug version of the DLL. If you provide a debug version (MS didn't provide a debug version of gx.dll, so you can't for that DLL) then you could step into the DLL and debug just like with your app. MS does provide debug versions of some DLLs such as MFC, etc.

Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


im new so some of these questions seem simple

Postby umcpmatt » Jun 29, 2002 @ 4:29am

so I cdan never get rid of that notice about gx.dll

how come MS does not provide a debug version anyways?

since I have a XSCALE the only way to take advantage of it is write assembly.. or could someone write a library and then I could use that?
umcpmatt
 


Postby Dan East » Jun 29, 2002 @ 5:01am

There should be two different ways to remedy that. First you can extract gx.dll to your PC somewhere, and when it asks for the dll browse and select it (make sure you use the gx.dll to match your processor type). It still may warn you that gx.dll does not contain debugging info, but I don't think it will say that every time you start a debug session.

Second, if you go into the Project Settings, "Debug" tab, and select "Additional DLLs" you will see an option "Try to locate other DLLs". Try unchecking that option.

There's really no need for a debug version of gx.dll. That library does very little, and more importantly, does not do extensive calling into other libraries. Some libraries, like MFC.dll, are pretty complex and make calls into user code, so it is very important that debug versions are provided so the entire call stack can be navigated.

Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


more random thoughts

Postby UMCPmatt » Jun 29, 2002 @ 7:44am

UMCPmatt
 


Next

Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

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 post attachments in this forum