|
Hi,
For Visual Basic you can use the package and deployment tool to create installable package.
For Visual C++ - try InstallShield or free installer InnoSetup
InnoSetup[^]
These installers provide good wizards and take care most of the packaging operations.
Bye,
Cool Ju
Dream Ur Destiny
|
|
|
|
|
hi
i have created a dialog based MFC application.
But when i compile i get the following error
fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>
this is due to the following code in AFXV_W32.H (which ships with VC6)
#ifdef _WINDOWS_
#error WINDOWS.H already included. MFC apps must not #include <windows.h>
#endif
how to fix it?i didn't define _WINDOWS_ anywhere in my code but it still throws up the error
"Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"
-- modified at 0:48 Wednesday 1st March, 2006
|
|
|
|
|
QuickDeveloper wrote: fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>
MFC Applications should not include windows.h as MFC includes it internally.
Nibu thomas
Software Developer
|
|
|
|
|
i did not include windows.h anywhere,even then it throws the error
"Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"
|
|
|
|
|
What are the headers that you have included?
Nibu thomas
Software Developer
|
|
|
|
|
i included the following files in stdafx.h.i did the application by reading this article
http://www.codeproject.com/com/clientserverwithdcom.asp[^]
//the following files are included in stdafx.h which is in dialog based Client Application.
#import "..//DCOMServer/DCOMServer.tlb" //here DCOMServer is the name of service created using Appwizard.
#include "afxctl.h"
#include "objbase.h"
#include "initguid.h"
"Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"
-- modified at 1:34 Wednesday 1st March, 2006
|
|
|
|
|
This is how windows.h is included in MFC...
afxwin.h
--afx.h
---afxver_.h
----afxv_w32.h
-----windows.h
Nibu thomas
Software Developer
|
|
|
|
|
In the output window, what .cpp file is being compiled when the C1189 error is produced? What other #include statements do you have besides those in stdafx.h ?
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
|
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.
|
|
|
|