|
|
When I run a VC++8.0 Project I got a dialog box which states "The application failed to initialize properly(0xc0150002). Click on OK to terminate the application.". If I terminate the application, the following message is displayed in the output Window:
LDR: LdrpWalkImportDescriptor() failed to probe C:\Program Files\Delta3D_REL-2.0.0\bin\dtUtild.dll for its manifest, ntstatus 0xc0150002
How to resolve the error?
Note:
This error occurs only under Debug mode.
modified on Friday, September 5, 2008 7:29 AM
|
|
|
|
|
T.RATHA KRISHNAN wrote: How to resolve the error?
wait, you're compiling your project in debug mode, aren't you ?
compile in release mode, and see if it's better. The Release Mode should be linked to dtUtil.dll (not dtUtild.dll).
|
|
|
|
|
clean the output directory and recompile the full project .
Vikas Amin
My First Article on CP" Virtual Serial Port "[^]
modified on Thursday, July 24, 2008 5:33 PM
|
|
|
|
|
Dear All,
My project requirement is MFC application need to create setup package.I have created the setup package using Inno setup. Im using filters and equipment driver in my applicaion. so i need to connect filter(.bat file) and install that driver then only setup.exe should execute. How to use .bat file and install the driver in .iss file.
Plz helpme.....
It will be much helpful to me to give some advice on this..
Thank you very much,
Regards
Anitha
|
|
|
|
|
|
try this
[Files]
Source: "C:\Dir\InstallDriver.bat"
[Run]
Filename: "{app}\InstallDriver.bat"; Parameters: "/WHATEVER_PARAMS_YOU_NEED"; StatusMsg: "Installing driver..."
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal
|
|
|
|
|
Hi sashoalm,
I got the output.Thanks a lot....
Regards,
Anitha
|
|
|
|
|
Hi,
I want to install a driver file in setup package using Inno setup.
I tried the following code:
[Files]
Source: "C:\Program Files\Inno Setup 5\xx.sys"; DestDir: "{app}"
Source: "C:\Program Files\Inno Setup 5\xx.inf"; DestDir: "{app}"
[Run]
Filename: "{sys}\rundll32.exe"; Parameters: "setupapi,InstallHinfSection DefaultInstall 132 C:\Program Files\Inno Setup 5\P100.inf"; WorkingDir: {app}; Flags: 32bit;
but it doesn't install of my drivers.
help me...
Regards,
Anitha
|
|
|
|
|
AnithaSubramani wrote: [Run]
Filename: "{sys}\rundll32.exe"; Parameters: "setupapi,InstallHinfSection DefaultInstall 132 C:\Program Files\Inno Setup 5\P100.inf"; WorkingDir: {app}; Flags: 32bit;
I thought you were trying to execute a bat file.
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal
|
|
|
|
|
Hi all
How can i know Capacity of USB Device?I want to know USB is Capacity (2gb or 3gb).Plz help me..
Thx's in advance
|
|
|
|
|
Did you try GetDiskFreeSpaceEx() ?
|
|
|
|
|
Hi,
I want to show the progress bar as animation. Can any one give me an example to show how to use CAnimationCtrl
Thanks
|
|
|
|
|
this is the easiest control ever use,
just add an animate control on a dialog box,
add a variable of type CAnimateCtrl.
in the OnInitDialog() function call the function Open() and Play().
remember to call function Close() in ua dlg box's OnClose() function or onDestroy()
like this.
//////////////////////////
m_ctlMyAnimation.Open(_T("C:\\Windows\System32\\migwiz\\progress.avi"));
m_ctlMyAnimation.Play();
////////////////////////
remember that this avi shud be some of those simple animation files, not music video or moviz, a good example is that microsoft dog that shows up when yu are searching.
::OnButtonStop()
{
m_ctlMyAnimation.Stop();
}
::OnClose()
{
m_ctlMyAnimation.Close();
}
|
|
|
|
|
Hi,
I have used the following code
m_avi.Open(IDR_AVI1);
m_avi.Play(0,-1,-1);
but its giving debug assert at open function
whats the problem
|
|
|
|
|
Dhiraj kumar Saini wrote: whats the problem
Find out for yourself what the problem is - use the debugger to find out what assert is being called.
Alternatively, put a break point in your code and use the Step Into debug option to follow through the MFC code.
Have you tried having the avi as a file, and using Open ("myfile.avi")? Does that work?
I suspect you'll either not have the avi properly embedded as a resource, or IDR_AVI1 means different things in different places (it is only defined in resource.h?), or maybe as the wrong resource type.
Good luck,
Iain.
|
|
|
|
|
how/where is IDR_AVI1 defined? Does it contain a valid path for the AVI File
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
The problem is resolved but now i am having a new problem
I having a CMainDlg class for Parent dialog on which i am painting CVisitorDlg as a child dialog.
I have used CAnimateCtrl in CMainDlg which I want to show when a user clicks a button on CMainDlg. But during clicking this button the CVisitorDlg dialog (Child Dialog is being repainted as it is fetching data from server. But the CAnimateCtrl is showing the animated images after the child dialog is repainted and not during fetching the data.
Please tell what to do.
|
|
|
|
|
Dhiraj kumar Saini wrote:
Please tell what to do.
1/ Go on, tell us the solution! I'd like to know if one of my 4 guesses was right.
2/ If it is a new problem, then post a new question - you'll get more people reading it.
Iain.
|
|
|
|
|
And the reason for the problem getting resolved was....?
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Actually the avi file was corrupt
|
|
|
|
|
are you doing all this in your main thread, then in this case it would get blocked in the process of receiving the data from the server. you should create another thread and implement some notification method to inform the UI that the data download is completed.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Yes I am doing it in the main thread. Can u tell how to make a new thread so that it works fine
|
|
|
|
|
Here[^] is an excellent article that I suggest you read. Threads can't be explained in three lines, this is a very deep subject.
|
|
|
|
|
Example[^]
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|