|
Hello. I want to call the DrawGLScene() function inside an opengl window found on one of my dialog boxes. The fucntion is supposed to draw a terrain inside the window but all im getting is a black screen. when i integrate a simple opengl code, like one for drawing a triangle, it works (i.e. the triangle is displayed in the window). if we create a separate opengl window for diaplaying the terrain, it works perfectly. my problem is to integrate the terrain code inside a window found inside my dialog box. please help!!
dila
|
|
|
|
|
How to implement List View Control in MFC
Myhthili
|
|
|
|
|
Use CListView ?
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
Hi
How I copy a file from my local machine to a webserver. How can i create a new folder in the web server on a particular Virtual directory? Please share code to copy/write file in web directory using a URL as destination folder?
the target location to copy file is like "http://www.abc.com/DestFolder/" n Some cases i need to create new folder in the DestFolder also..
Please help
|
|
|
|
|
Within my WM_INITIDIALOG I initialize a class and open several files which causes a 3-5 second delay with opening my exe. There is nothing I can do about this. At the moment I display a splash screen while the files are being processed. I want to do away with the splash and display a progress bar on the main exe window instead.
The problem is, the main window does not get shown until after WM_INITDIALOG has been finished with. If I try forcing it to display using a ShowWindow() The window is shown but without any of the contols. I'm not really sure what I should do here? I guess initialing the file-parsing-class in another place would be the best solution, but where exactly should I do this?
|
|
|
|
|
Dear ,
u can do Your Heavy Processing in differnt thread...
Just Create Worker thread from OnInitDialog() , and put all code in a thread.
Regards
Jignesh
|
|
|
|
|
Sorry I didn't mention that I'm not using MFC. what do you mean by "worker thread"?
Thanks
|
|
|
|
|
I still don't really understand the meaning of "worker thread", if anybody would like to enlighten me I would be grateful.
I managed to solve my problem with a little help from my best buddy 'Google'. So for anybody with a similar problem here is what I did. (I hate it when people ask but don't update with their result. We wouldn't need to keep asking the same questions if people just posted the solution to their question)
In WM_INITDIALOG Post a message back to your dialog box in the form of a WM_USER i.e. Postmessage(dlghwnd,WM_USER+0x0100,0,0). Initdialog will proceed with loading the dialog and there will be a new message waiting on the que.
process the WM_USER+0x0100: and initialize your class, or do any of those lengthy operations you wanted to do within Initdialog.
Hope this helps somebody.
|
|
|
|
|
waldermort wrote: meaning of "worker thread"
Worker thread[^]
Nibu thomas
Software Developer
|
|
|
|
|
Thanks for that link, I understand now
|
|
|
|
|
hello all,
I have created an activex dll.I need to sign this dll in our cerficate.Plz tell me the steps to sign a DLL.
Its very urgent..plz reply me soon..
Thanks in advance
cheers
sangeet
|
|
|
|
|
U can use signcode.exe from MicroSoft to sign files.
Try download the same
anil
|
|
|
|
|
hi
I have signed the dll using signcode.exe
thanks
cheers
sangeet
|
|
|
|
|
what header file must i include to use "W2A"?
|
|
|
|
|
atlconv.h
Nibu thomas
Software Developer
|
|
|
|
|
Hi!
I had copied a **.exe file in a pen disk,and I wish that everytime I attach this pen disk
to pc the **.exe file can auto run.
I know that system can auto run this **.exe file if I create a autorun.inf in the pen disk.
But now I wanna my pen disk driver program can run this **.exe file instead of system.
So my question is:
If it has the possibility to create a user model process in a WDM driver program,that's to
say,if the wdm driver can invoke a user model API?
Thanks!
momer
All the blesses we are enjoy are the fruits of labor,toil,study and self-denial.
|
|
|
|
|
Hey..
i have a dialog based application(VC6)..how to create an exe file.
thanks
|
|
|
|
|
Quite Easy.
Build the project.
Now you can find your exe inside the debug or release folder in your project directory based on your project configuration.
Nibu thomas
Software Developer
|
|
|
|
|
sorry...what i meant was to crete an installable (self extracting) exe file/MSI that can be distributed...
kindly explain
thanks
|
|
|
|
|
hi,
Check this[^]
Bye,
Cool Ju
Dream Ur Destiny
|
|
|
|
|
Hi guys
This is probably an easy question for all you C++ experts, but C++ is not my native tongue so maybe you all could help me.
I'm trying to port a Visual C++ 6 codebase to Visual Studio 2003. In several of the header files, it's asking for native.h
#include <native.h>
For some reason VS2003 as well as VS2005 both don't know where this native.h file is, I'm getting the compiler error
"theFile.cpp(3): fatal error C1083: Cannot open include file: 'native.h': No such file or directory"
Searching my disk, native.h doesn't exist. Where is it? Do I need it? (removing the native.h import results in hundreds of compiler errors)
Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Connor's Christmas Spectacular!
Judah Himango
-- modified at 23:15 Tuesday 28th February, 2006
|
|
|
|
|
Judah Himango wrote: #import <native.h>
Shouldn't this be
#include "native.h"
Nibu thomas
Software Developer
|
|
|
|
|
I'm sorry, typo. The actual code is
#include <native.h>
|
|
|
|
|
So where do you have this native.h . Is it inside the project directory.
Nibu thomas
Software Developer
|
|
|
|
|
No. It does not exist on my system, nor was it included with the VC6 source I have been given. After doing some searching on the web, it appears it was included as part of the install with Visual C 6, yet is mysteriously absent from VS2003 and VS2005.
|
|
|
|