|
Thank you toxcct!
Good guess,
I am looking for some formal documents dealing with this issue, if you have found any, please share with me.
regards,
George
|
|
|
|
|
|
Hi toxcct!
3 to 4 means I partially understand your answer.
regards,
George
|
|
|
|
|
Hi toxcct,
I mean I am looking for more information from you. To this question, I am looking for some formal documents which describe the format of a shortcut file. Could you help please?
regards,
George
-- modified at 2:56 Thursday 3rd August, 2006
|
|
|
|
|
ok, then here my last post to you :
good luck, and don't expect much of me in the future. suss:
without regrets, BYE
oh, BTW, GOOGLE[^] is you friend
|
|
|
|
|
Hi All,
error PRJ0019: A tool returned an error code from "Registering Type Library"
I am not able to figure out this.Any resouloution for this. As these files are created by the compiler.
I am, using VS 2005 and compiling the project for x64 bit compatible.
"A winner is not one who never fails...but the one who never quits"
|
|
|
|
|
Ganesh_T wrote: A tool returned an error code from "Registering Type Library"
Are you able to register your component with regsvr32.
If not, you'll need to diagnose why your DLL is failing registration.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
If we get this error our project will not be compiled. You willl not get the dll file generated.
"A winner is not one who never fails...but the one who never quits"
|
|
|
|
|
What I thought was that you would be getting the problem due to some fault in the settings that enable the IDE to register the DLL.So is the dll file generated or you are getting the error and the dll is not being created?
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Hi All,
How can I make a user write to his blog using VC++6.0?
Googling returned that it using RSS feed it is possible to write the data to blogs.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
You have the blogsearch.google.com
BUt when user wants to write the to his blog I think he should have the user name and passoword which is supported by the blog sites. for eg. Wordpress.com, msn spaces.
for this you have types of blogs : movable types.
"A winner is not one who never fails...but the one who never quits"
|
|
|
|
|
This returns the available blogs only.
Where do I read about API's that allow us to write to different blogs.I know that API's exist but most of them are for managed code
I also tried to read about RSS feeds(XML Files)
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Each blog site does things a bit differently. For example, LiveJournal has a published API (either using HTTP or XMLRPC). Pick a blog you want to write a client for and investigate their documentation on how to do so.
If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week
Zac
|
|
|
|
|
Friends,
I've a dialog based application which launches MS-Word. I already obtained the handle of the MS-Word window. Problem is that MS-Word window appears in front of my dialog box. I want to send MS-Word window at the back of my dialog box window and i want my dialog box window to remain active window having input focus. How can i do so ?
Imtiaz
|
|
|
|
|
try calling SetWindowPos()
nave
|
|
|
|
|
Imtiaz Murtaza wrote: obtained the handle of the MS-Word window. Problem is that MS-Word window appears in front of my dialog box. I want to send MS-Word window at the back of my dialog box window
You can use,
::SetActiveWindow(...);
or
::SetWindowPos(...);
or
::SetForegroundWindow(...);
Do your Duty and Don't expect the Result
|
|
|
|
|
You might be able to use some of these tips: clickety[^]
--EricDV Sig---------
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them.
- Laurence J. Peters
|
|
|
|
|
I tryed to use CopyFile to a mdf file, but because in my program I use the database i can not copy it. What should I do so I can copy it? I use CRecordSet class.
|
|
|
|
|
Can you close the file prior to copying it?
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
i write a installer program which install the program in the directory where i set .But i like my program should be available in desktop and system tray also . how can i get it . [with source code ]
janan
|
|
|
|
|
ningthemcha wrote: my program should be available in desktop and system tray also
You have to create a shortcut file to your application in the Desktop..
To have your application in SystemTray, then your application should be running.. for that use Shell_NotifyIcon(...) API
ningthemcha wrote: [with source code ]
For code you can get it from CodeProject itself..
Do your Duty and Don't expect the Result
|
|
|
|
|
hi there!
I'm in need of some program zu create 3d models. Well I know that ther'e thousands of programs but what I need is something i can integrate into my programs.
so I want to create a winapi-class wich is a simple modeller window.
features have to be:
> 4 perspectives (xy, xz, yz, iso)
> move view, zoom, turn around zero, turn around cam
> draw lines
> draw triangles
> draw points
> select items
> move selected items
> return where the mouse clicked in 3d and which button was clicked.
> return clicked points
> redraw
I'd like to write this in openGL but I'm not very experienced with it.
Did anyone ever make something like this and is able to help me or may someone give me his lib?
thx
tec
|
|
|
|
|
Hi,
I have written a modeller using OpenGL, and it works. However it is a big amount of work to get it to work, then some more to add modelling features.
I looked at my modeller and it is not cenvertible into a lib. This is mainly due to the fact that GUI/engine integration is one of the most important aspects. This means that it is a large amount of work to try and divide the two, and create an abstract interface class to separate the GUI from the engine.
If you simply wanted a "display" engine it is easy to split GUI and display engine, but modelling involves moving the mouse, clicking with it, dragging and dropping, window coordinates, world coordinates, perspective coordinates, point lists, line lists, surface lists, color lists, and many more other things that are just a big pain, and all this while providing great feedback from the engine to get everything drawn in the right places while the user interacts. Other features like undo/redo, save/load, import/export are also a big pain.
So, you see, what you ask for is more of an application rather than a lib. If you specify a little better what features you would like your modeller to have then tell me about them and I can see if I can convert my EXE into a DLL.
I hope this helps,
Rilhas
|
|
|
|
|
I see, there's much more work to do than I thought.
I need features like
- displaying points, lines and surfaces (triangles should work)
- external point-, line-, texture- and surface lists I can handle with (maybe vectors). If these are external, I can use more than one child window or create animations
- moving, turning and zooming for the cam (maybe a "set all back to zero")
- selecting and mutiselecting points, triangles and lines.
- moving selected items
- a function to tell the main window the last clicked 3d coordinates (for creating points at this position.
- texuring
Well, I think that's "all". I hope it's not too much
|
|
|
|
|
I think I am starting to get a better idea of what you want. However, I still have some questions before determining if I can help you with it.
Q1) How do you specify objects to the lib? Where do they come from? Do you want to specify them as lists of 3 points (for triangle vertices) 2 points (for lines) and 1 point (for points)? Also I assume you want to have colour (although you can implement color through texturing).
Q2) How do you want to get them drawn? Do you provide an HDC for the LIB to draw in or should it have its own window?
Q3) Do you wish that the lib contains 4 areas (front, top, side, perspective) or only 1 area (perspective)? The easiest way for implementation is for you to have 4 diferent areas in your window (or 4 different windows) and tell the engine which one you want to get drawn and to which one the mouse events apply.
Q4) Does the lib have to delivered in source form? Must it be free?
Q5) I assume you would like a client/server architecture where you (the client) supply object information to the lib (server) and issue draw commands. This architecture does not mean that the server is an EXE on its own, since I assume you wouldn't want that. If you want that (maybe even a distributed TCP/IP architecture) please specify so.
About the information you provided:
I1) I assume only filled triangles are displayed in the perspective view, and that wireframe triangles are used in the orthogonal views (this is connected with Q3) above).
I2) Does this mean you want objects of 3 types? The point, line, and surface? I don't understand the use of the word "external"... what do you mean by it?
I3) In the client/server architecture Q5) you should provide the server the visible area dimensions and also the mouse coordinates inside that visible area for the server to compute the movement. Do you wish to handle the mouse button states? I assume so, in which case you would have to inform the server what handling type (move, rotate, scale, ...) you are associating with the movement.
I4) Selecting items can be made in much the same way as with the movements. However, you should specify if you want to select things like points in a line or points or lines in a triangle. These would complicate matters significantly (because it leads to type promotion), but usually a decent modeller would implement them.
I5) This is connected with I3) above, in the sense that it would be implemented in the same way but you would associate only a subset of the world to the movement, rotation, and scale.
I6) In a more general sense, you would have functions to convert from world to window, and from window to world. Note, however, that in the most general sense clicking the window produces 2D information, thus resulting in a corresponding infinite line within the 3D world. A selection rectangle in a window, for example, in general produces an infinite cube in the world.
I7) Texturing would be no problem to display, but, again, the problem is the way in which you provide information. Technically you can have any triangle vertex mapped to any point in the texture, but this usually leads to a fairly large amount of manual work in the texture mapping process (the user has to work all the points manually) and interface features to allow the user to do this are very complex. So, typically, the easiest way to associate the texture to an object is to specify how you want the texture to be wrapped around the object (spherical projection, cylindrical projection, planar projection, ..., and projecting through what axis) and let the engine do it automatically. Incremental manual changes from there on are much easier for the user, but the interface for manual changes is still very complex.
Rilhas
|
|
|
|
|